MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, background: #212121; }
 * 1) mw-mf-page-center {

.nomobile { display: none; }

.animations #mw-mf-page-center { color: white; background: url(https://images.wikia.com/valnirrok_gamepedia_en/images/thumb/5/50/Header_bg_valnir_rok.jpg/800px-Header_bg_valnir_rok.jpg) no-repeat fixed center top / cover rgba(0,0,0,1); }

border-top: 0px solid #cccccc; background: rgba(0, 0, 0, 0.5); }
 * 1) content {

.content table { width: 100% !important; }

input.search { background-color: rgb(32, 32, 32) !important; }

a { color: #a1a4af !important; }

.content table th { background-color: transparent; }

.content table td, .content table th { padding: 3px; }

.content .button, .content button, .content input[type=submit], .panel .button, .panel button, .panel input[type=submit], .buttonBar .button, .buttonBar button, .buttonBar input[type=submit] { padding: .8em 1.2em; text-align: center; border: 1px #c09d35 solid; color: white; background-color: #c09d35; background-image: -moz-linear-gradient(top,#c09d35 0,#c09d35 100%); background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#c09d35 ),color-stop(100%,#c09d35 )); background-image: -webkit-linear-gradient(top,#c09d35 0,#c09d35 100%); background-image: linear-gradient(#c09d35 0,#c09d35 100%); }

/* MW 1.29 fixes */

.notification-count { background: transparent; }

footer .last-modified-bar { border-bottom: solid 1px #c8ccd1; background-color: transparent; }

.header-container.header-chrome, #mw-mf-page-center { background: rgba(33, 33, 33, 0.8); }

/* HYDRADARK FIXES */

pre, .mw-code { background-color: #282828; border-color: #505050; }

/* Section arrows */

.mw-ui-icon-arrow::before { filter: invert(100%); }

/* HAMBAHGAH */

nav { background: #212121 !important; }
 * 1) mw-mf-viewport,

nav ul li { background: #181818 !important; }

nav ul.hlist li { background: transparent !important; }

nav ul li a.mw-ui-icon { filter: invert(100%); }

nav ul li a { font-weight: bold; }

nav ul.hlist li a { color: #F37F20 !important; }

/* Search */

.search-overlay { background: rgba(0, 0, 0, 0.9) !important; }

.search-overlay .results, .search-overlay .search-feedback { background-color: #212121 !important; }

.list-thumb.list-thumb-none { background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cpath%20fill%3D%22%23212121%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%3C%2Fsvg%3E) !important; }

.page-summary h2, .page-summary h3 { color: #F37F20 !important; }

/* VE Overlay */

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame { background-color: rgba(0, 0, 0, 0.9) !important; }

.ve-ui-mwSaveDialog-options { background-color: #212121 !important; } /* Editor Overlay */ .editor-overlay .wikitext-editor { color: #E0E0E0; }

.editor-overlay .summary-request { color: #E0E0E0 !important; }

/* Overlays */ .overlay.editor-overlay, .overlay-header-container, .overlay-footer-container { background: #212121 !important; }

/* this CSS governs the responsive 3 column main page layout */ /* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #505050 !important; background: #101010 !important; }

border-left: 12px solid #505050; background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/********************* /* Front page styles * /*********************/ .fpbox { border: 1px solid #e0e0e0; background: rgba(0,0,0,0.5); color: inherit; margin: 5px; padding: 5px; }

.fpbox .welcome { border-bottom: 1px solid #505050; background: transparent; /* color: #e0e0e0; */ font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { border-bottom: 1px solid #505050; background: transparent; /* color: #e0e0e0; */ font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #3674b3; font-weight: bold; font-size: 75%; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fplinks { margin: -2px -3px; }

.fplinks .linkslabel { border-bottom: 2px solid #505050; margin: 6px 3px 0 3px; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { display: table; width: 100%; border-spacing: 2px 3px; border-collapse: separate; }

.fplink .box .row { display: table-row; }

.fplink .box .row .cell { background: rgba(0, 0, 0, 0) none repeat scroll 0 0; border: 1px solid #29ABE2; color: #e0e0e0; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; }

.fplink.wide .box .row .cell { padding: 0 5px; }

.fplink.image { width: 78px; height: 78px; }

.fplink.image .box .row .cell { width: 70px; height: 70px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { width: 70px; height: 70px; }

@media (min-width: 188px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 294px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 400px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; }

.fplink.image { width: 108px; height: 108px; }

.fplink.image .box .row .cell { width: 100px; height: 100px; }

.fplink.image .box .row .cell .image img { width: 100px; height: 100px; } }

@media (min-width: 506px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 612px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

@media (min-width: 718px) { .fplink { width: 14.285%; }

.fplink.wide { width: 28.571%; } }

@media (min-width: 824px) { .fplink { width: 12.5%; }

.fplink.wide { width: 25%; } }

@media (min-width: 930px) { .fplink { width: 11.111%; }

.fplink.wide { width: 22.222%; } }

@media (min-width: 1036px) { .fplink { width: 10%; }

.fplink.wide { width: 20%; }

.fplink.image { width: 128px; height: 128px; }

.fplink.image .box .row .cell { width: 120px; height: 120px; }

.fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

.fplink.image .image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 75%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 3px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { border-top: 2px solid #505050; background: #ddddb7 !important; }

.fplink.wide a { margin: 0 -5px; }

.fplink.image a { top: auto; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; max-width: 480px; }

.fpvideo { position: relative; padding-top: 25px; padding-bottom: 56.25%; height: 0; }

.fpvideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }