MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /************************* /* Temporary 1.29 styles * /*************************/ /* Generic Hydra Dark styles in place until custom fixes can be made */ .globalNotice { position: relative; color: #e0e0e0; }

.header-container.header-chrome { border: 1px solid #cccccc; background: #212121; }

.header { border-top: 1px solid #cccccc; }

.header .branding-box h1 { border-bottom: none; }

.mw-ui-anchor.mw-ui-progressive { color: #F37F20; }

.notification-count { background: transparent; }

.notification-count.notification-unseen .circle, .notification-count .circle { border-color: #cccccc; }

.mw-echo-ui-notificationItemWidget-unread { background: #363636 !important; }

.mw-echo-ui-notificationItemWidget, .mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group { border: 1px solid #cccccc !important; background: #212121 !important; }

.overlay-header-container, .mw-echo-ui-crossWikiNotificationItemWidget-separator, .mw-echo-ui-bundleNotificationItemWidget-separator { border-bottom: 1px solid #cccccc !important }

.overlay-footer-container { border-top: 1px solid #cccccc !important }

.mw-echo-ui-notificationItemWidget-content-message-header, .mw-echo-ui-menuItemWidget-content, .mw-echo-ui-crossWikiNotificationItemWidget .mw-echo-ui-subGroupListWidget-header-row-title, .mw-echo-ui-bundleNotificationItemWidget .mw-echo-ui-subGroupListWidget-header-row-title, .mw-echo-ui-notificationItemWidget-content-actions-timestamp { color: #E0E0E0 !important; }

.mw-echo-ui-notificationItemWidget-content-message-body { color: #cccccc !important; }

.mw-ui-icon-mainmenu, #searchIcon.mw-ui-icon-magnifying-glass, .oo-ui-icon-expand, .oo-ui-icon-collapse, .oo-ui-icon-userAvatar, .oo-ui-icon-ellipsis { filter: invert(100%); }

.overlay-enabled, #content { background: transparent; }

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

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

border-bottom: 1px solid #cccccc; }
 * 1) content .section {

div.toc-mobile, .client-js div.toc-mobile { border: 1px solid #cccccc; background: #212121; color: #E0E0E0; padding: 8px; margin-bottom: 5px; }

div.view-border-box { border: 1px solid #cccccc; background: #212121; color: #E0E0E0; padding: 8px; margin-bottom: 5px; }

div.view-border-box.watch-this-article { border: none; background: #d3d3d3; margin: 0; padding: 0; }

div.view-border-box.post-content { border: none; background: #cccccc !important; }

div#mw-mf-last-modified { background: transparent !important; }

input:not([type="submit"]), select, textarea { border: 1px solid #cccccc !important; background-color: #1f1f1f !important; color: #ffffff !important; }

.header .search-box input.search, .search-box input.search { background-color: #1f1f1f !important; }

.mw-ui-button { border-radius: 4px; border: 1px outset #ff9900; background: #ff9900; color: #000000 !important; font-weight: bold; }

.mw-ui-button:hover { background: #ffcc33 !important; color: #000000 !important; }

div.mw-echo-ui-menuItemWidget-content, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: #ff9900 !important; }

border-top: 1px solid #cccccc; background: #212121; color: #E0E0E0; }
 * 1) mw-mf-page-center > footer {

.editor-overlay .wikitext-editor { color: #E0E0E0; }

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

.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; }

.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: #E0E0E0 !important; } /* latin-ext */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v9/Wu5Iuha-XnKDBvqRwQzAG_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v9/sDGTilo5QRsfWu6Yc11AXg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; }

/****************** /* General styles * /******************/ body { color: #ffffff !important; font-family: Ubuntu, sans-serif; }

background: #4f1e00 url("https://static.wikia.nocookie.net/lifesfall_gamepedia_en/images/a/af/Skin-Mobile-Background.jpg/revision/latest") center top no-repeat !important; }
 * 1) mw-mf-page-center, body.navigation-enabled #mw-mf-page-center, .animations #mw-mf-page-center {

body.navigation-enabled .transparent-shield { background: rgba(79, 30, 0, 0.8) !important; }

div#searchbox { border: 1px solid #a2a2a2; }

body.mediawiki

h1, h2, h3, h4, h5, h6 { font-family: Ubuntu, sans-serif; font-variant: small-caps; color: #ffffff !important; }

border-bottom: 1px solid #483d26; }
 * 1) content_wrapper .section {

border: 7px solid #483d26; background: #352d1b; color: #ffffff; padding: 8px; margin-bottom: 5px; }
 * 1) content .thumb {

table, table.wikitable, table.wikitable > * > tr > th { border-collapse: collapse !important; background: transparent; padding: 3px; margin: auto; margin-bottom: 5px; }

table, table.wikitable { border: 7px solid #483d26; }

table th, table.wikitable th { border: 1px solid #a2a2a2; background: $2b2b2b; color: #ffffff; font-weight: bold; margin: 0; padding: 0 3px 3px 3px; }

table td, table.wikitable td { border: 1px solid #483d26; background: transparent; color: #ffffff !important; vertical-align: middle; padding: 4px 8px; }

div#footer { border: 7px solid #483d26; background: #352d1b; color: #ffffff; margin: 0 10px 10px 10px; padding: 8px; }

.mwm-notice { border: none; background: transparent; color: #ffffff; }

pre, .mw-code { border-radius: 2px; border: 1px dashed #a2a2a2; background: #141414; color: #ffffff; padding: 2px 2px; white-space: pre-wrap; word-wrap: break-word; }

code { background: transparent; white-space: pre-wrap; word-wrap: break-word; }

input, select, textarea { font-family: Ubuntu, sans-serif; border: none; background: #cccccc; color: #000000; padding: 2px 2px; }

button, input[type="submit"], input[type="button"], input[type="reset"] { font-family: Ubuntu, sans-serif; border-radius: 2px; border: none; background: #b39964; text-transform: uppercase; color: #000000 !important; padding: 2px 2px; }

border: 7px solid #483d26 !important; background: #352d1b !important; color: #ffffff !important; }
 * 1) mf-notification {

.toast { border: 7px solid #483d26; background: #352d1b; color: #ffffff; }

.drawer { background: #483d26; }

/******************* /* Search elements * /*******************/ border: 7px solid #483d26; background: #352d1b; color: #ffffff; }
 * 1) mw-mf-header, #mw-mf-overlay .header, .full-screen-search #mw-mf-header {

/******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #483d26 !important; background: #b39964 !important; }

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

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

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

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

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

border-left: 12px solid #ffffff; background: transparent; }
 * 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, #mw-mf-page-left ul.hlist li:hover a {

/*************** /* Link styles * /***************/ a, a:link { color: #c9b78f; }

a:visited { color: #dccfb4; }

a.new { color: #c98f8f !important; }

a.new:visited { color: #bd6f6f !important; }

a.stub { color: #cbca8d; }

a.stub:visited { color: #ddddb3; }

a.extiw, a.external { color: #c0cb8d !important; }

a.extiw:visited, a.external:visited { color: #d6ddb3 !important; }

a:active { color: #ffffff !important; }

/*************************** /* Template example styles * /***************************/ span.templateexample { font-family: monospace; }

span.templateexample span.templatelink { font-weight: bold; }

span.templateexample span.paramname { }

span.templateexample span.paramvalue { color: #bbbbbb; font-style: italic; }

/******************** /* Notice templates * /********************/ .topNotice { border: 7px solid #483d26; background: #352d1b; color: #ffffff; }

.topNotice .heading { font-size: 132%; }

.topNotice.delete { border: 7px solid #8c4646; background: #6b3535; color: #ffffff; }

.topNotice.move, .topnotice.merge, .topnotice.split { border: 7px solid #ab6827; background: #824f1e; color: #ffffff; }

.topNotice.pagestub, .topNotice.imagerequest, .topNotice.nowalkthrough { border: 7px solid #468c46; background: #356b35; color: #ffffff; }

/****************** /* Image licenses * /******************/ .ambox { border: 7px solid #483d26; background: #352d1b; color: #ffffff; border-collapse: collapse; font-size: 95%; margin: 0 auto 10px auto; padding: 3px 6px; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -10px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left:0.8em; margin-top:0.5em; }

/********************* /* Front page styles * /*********************/ .fpbox { border: 7px solid #483d26; background: #352d1b; color: #ffffff; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #a2a2a2; background: transparent; color: #ffffff; 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 #a2a2a2; background: transparent; color: #ffffff; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

.fpbox hr { border: none; border-bottom: 1px solid #a2a2a2; }

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

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

.fplinks .linkslabel { border-bottom: 1px solid #a2a2a2; 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 { display: table-cell; position: relative; border: none; background: #483d26; color: #ffffff; text-align: center; vertical-align: middle; }

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

.fplink.image { width: 76px; height: 74px; }

.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: 106px; height: 104px; }

.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: 126px; height: 124px; }

.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.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%; }

/****************** /* Infobox styles * /******************/ .stdinfobox { border: 7px solid #483d26; background: #352d1b; color: #ffffff !important; text-align: center; vertical-align: top; padding: 3px; overflow: hidden; }

.stdinfobox .title { border-bottom: 1px solid #a2a2a2; background: transparent; font-family: Ubuntu, sans-serif; font-variant: small-caps; color: #ffffff; font-size: 150%; font-weight: bold; text-align: center; overflow: auto; }

.stdinfobox .subtitle { border-bottom: 1px solid #848484; font-family: Ubuntu, sans-serif; color: #ffffff; text-align: center; overflow: auto; }

.stdinfobox .box { border: none; background: #483d26; color: #ffffff; text-align: left; margin: 0 0 10px 0; padding: 3px; vertical-align: top; }

.stdinfobox img { }

.stdinfobox .body { display: inline-block; vertical-align: top; }

.stdinfobox .image { text-align: center; }

.stdinfobox .image .image { }

.stdinfobox .image img { }

.stdinfobox .image .image img { }

.stdinfobox table { display: table; border: none !important; background: transparent !important; width: auto; margin: 0 auto; }

.stdinfobox table tr th { border: 1px solid #483d26 !important; background: #483d26 !important; color: #ffffff !important; font-weight: bold; text-align: right; vertical-align: top; white-space: nowrap; width: 1%; }

.stdinfobox table tr td { border: 1px solid #483d26; background: transparent; color: #ffffff; text-align: left; vertical-align: center; }

.stdinfobox table tr th.wide, .stdinfobox table tr td.wide { text-align: left; padding: 0 0 1px 3px; }

.stdinfobox table tr th.indent, .stdinfobox table tr td.indent { padding-left: 23px; }

/********************* /* Navigation tables * /*********************/ table.nav { border: 7px solid #483d26; background: transparent; margin: 0 auto 10px auto; padding: 0; clear: both; }

table.nav th, table.nav tr th, table.nav > tr > th, table.nav > * > tr > th { border: 1px solid #483d26; background: #352d1b; color: #ffffff; font-weight: bold; text-align: center; vertical-align: top; margin: 0; padding: 0 5px 5px 5px; }

table.nav td, table.nav tr td, table.nav > tr > td, table.nav > * > tr > td { border: 1px solid #483d26; background: transparent; color: #ffffff; text-align: left; margin: 0; padding: 3px 11px 8px 11px; }

table.nav td.list, table.nav tr td.list, table.nav > tr > td.list, table.nav > * > tr > td.list { padding: 0; }

table.nav td .item { display: inline-block; border-left: 1px solid #483d26; margin: 3px 0 6px 0; padding: 0 11px 2px 11px; vertical-align: top; }

table.nav td .item:first-child { border: none; }

/****************** /* General styles * /******************/ .contentbox { border: 7px solid #483d26; background: #352d1b; color: #ffffff; overflow: auto; margin: 0 0 3px 0; padding: 3px; }

span.bullet { font-size: 1%; }

span.bullet:after { font-size: 10000%; content: "•"; }

.dablink { padding: 3px 3em 10px 3em; font-style: italic; }

span.ghost { color: #bbbbbb; /* For any text that appear fainter for some reason */ }

.columns { padding: 0; margin: 10px -10px 0 -10px; overflow: hidden; }

.columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.columns .centercol { float: left; margin: 0; padding: 0; }

.columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; }

.columns .column { margin-left: 10px; margin-right: 10px; }

div#content .columns .leftcol > *, div#content .columns .centercol > *, div#content .columns .rightcol > * { margin-left: 10px; margin-right: 10px; }

div#content .columns .leftcol > ul, div#content .columns .centercol > ul, div#content .columns .rightcol > ul { margin-left: 15px; padding-left: 15px; margin-right: 10px; }

div#content .columns .leftcol .column > *, div#content .columns .centercol .column > *, div#content .columns .rightcol .column > * { margin-left: 0; margin-right: 0; }

.nomobile { display: none; }