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

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(/media/hydra/fonts/OpenSans-Regular.ttf) format('truetype'); }

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

background: #000000 url("https://static.wikia.nocookie.net/lifeless_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(64, 64, 64, 0.8) !important; }

div#searchbox { border: 2px solid rgba(192, 192, 192, 0.333); }

body.mediawiki

h1, h2, h3, h4, h5, h6 { font-family: "Open Sans", sans-serif; color: #ffffff !important; }

border-bottom: 2px solid rgba(192, 192, 192, 0.333); }
 * 1) content_wrapper .section {

border-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff; padding: 8px; margin-bottom: 5px; }
 * 1) content .thumb {

table, table.wikitable, table.wikitable > * > tr > th { border-collapse: collapse !important; border-radius: 2px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); padding: 3px; margin: auto; margin-bottom: 5px; }

table th, table.wikitable th { border: 2px solid rgba(192, 192, 192, 0.333); background: rgba(0, 0, 0, 0.5); color: #ffffff; font-weight: bold; margin: 0; padding: 0 3px 3px 3px; }

table td, table.wikitable td { border: 2px solid rgba(192, 192, 192, 0.333); background: transparent; color: #ffffff !important; vertical-align: middle; padding: 4px 8px; }

div#footer { border-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff; margin: 0 10px 10px 10px; padding: 8px; }

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

pre, .mw-code { border-radius: 5px; border: 2px dashed rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); 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: "Open Sans", sans-serif; border: none; background: #cccccc; color: #000000; padding: 2px 2px; }

button, input[type="submit"], input[type="button"], input[type="reset"] { font-family: "Open Sans", sans-serif; box-shadow: 0 0 5px #000000; border-radius: 5px 0 5px 0; border: 1px outset #333333; background: #262626; color: #ffffff !important; padding: 2px 2px; }

border-radius: 5px !important; border: 2px solid rgba(192, 192, 192, 0.333) !important; box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset !important; background: rgba(128, 128, 128, 0.166) !important; color: #ffffff; }
 * 1) mf-notification {

.toast { border-radius: 5px; border: 2px solid #404040; box-shadow: 0 0 2px #161616, 0 0 5px #000000 inset; background: #161616; color: #ffffff; }

.drawer { background: #161616; }

/******************* /* Search elements * /*******************/ border-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); 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 #404040 !important; box-shadow: 0 0 5px #000000 inset; background: $161616; }

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

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

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

border-top: 1px solid #404040; border-bottom: 1px solid #404040; 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: #a2c36f; }
 * 1) mw-mf-page-left ul li:hover a, #mw-mf-page-left ul.hlist li:hover a {

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

a:visited { color: #b47a50; }

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

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

a.stub { color: #e6c71e; }

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

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

a.extiw:visited, a.external:visited { color: #6c9e82 !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: #999999; font-style: italic; }

/******************** /* Notice templates * /********************/ .topNotice { border-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff; margin: 0 0 10px 0; padding: 3px 6px; overflow: auto; }

.topNotice .heading { border: none; font-family: "Open Sans", sans-serif; color: #ffffff; margin: 0 0 8px 0; padding: 0; }

.topNotice.delete { border-radius: 5px; border: 2px solid rgba(255, 64, 64, 0.333); box-shadow: 0 0 2px rgba(255, 0, 0, 0.166), 0 0 5px #000000 inset; background: rgba(255, 0, 0, 0.166); color: #ffffff; }

.topNotice.move, .topNotice.merge, .topNotice.split { border-radius: 5px; border: 2px solid rgba(255, 160, 64, 0.333); box-shadow: 0 0 2px rgba(255, 128, 0, 0.166), 0 0 5px #000000 inset; background: rgba(255, 128, 0, 0.166); color: #ffffff; }

.topNotice.pagestub, .topNotice.imagerequest, .topNotice.nowalkthrough { border-radius: 5px; border: 2px solid rgba(255, 255, 64, 0.333); box-shadow: 0 0 2px rgba(255, 255, 0, 0.166), 0 0 5px #000000 inset; background: rgba(255, 255, 0, 0.166); color: #ffffff; }

/****************** /* Image licenses * /******************/ .ambox { border-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); 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-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 2px solid rgba(224, 224, 224, 0.333); font-family: "Open Sans", sans-serif; color: #ffffff; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { border-bottom: 2px solid rgba(224, 224, 224, 0.333); font-family: "Open Sans", sans-serif; 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; box-shadow: 0 0 5px #000000; border-radius: 5px 0 5px 0; border: 1px outset #333333; background: #262626; 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-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff !important; text-align: center; vertical-align: top; padding: 3px; overflow: hidden; }

.stdinfobox .title { border-bottom: 2px solid rgba(224, 224, 224, 0.333); font-family: "Open Sans", sans-serif; color: #ffffff; font-size: 150%; font-weight: bold; text-align: center; overflow: auto; }

.stdinfobox .subtitle { border-bottom: 2px solid rgba(192, 192, 192, 0.166); font-family: "Open Sans", sans-serif; color: #ffffff; text-align: center; overflow: auto; }

.stdinfobox .box { border: 1px solid rgba(0, 0, 0, 0.75); box-shadow: 0 0 5px #000000 inset; background: rgba(0, 0, 0, 0.5); color: #ffffff !important; 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: 2px solid rgba(192, 192, 192, 0.333); background: rgba(0, 0, 0, 0.5); color: #ffffff; font-weight: bold; text-align: right; vertical-align: top; white-space: nowrap; width: 1%; }

.stdinfobox table tr td { border: 2px solid rgba(192, 192, 192, 0.333); background: transparent; color: #ffffff !important; 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-radius: 2px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); 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: 2px solid rgba(192, 192, 192, 0.333); background: rgba(0, 0, 0, 0.5); 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: 2px solid rgba(192, 192, 192, 0.333); background: transparent; color: #ffffff !important; 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 #a2a2a2; 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-radius: 5px; border: 2px solid rgba(192, 192, 192, 0.333); box-shadow: 0 0 2px rgba(128, 128, 128, 0.166), 0 0 5px #000000 inset; background: rgba(128, 128, 128, 0.166); color: #ffffff; overflow: auto; margin: 0 0 3px 0; padding: 3px; }

.contentbox .contentbox { border: 1px solid rgba(0, 0, 0, 0.75); box-shadow: 0 0 5px #000000 inset; background: rgba(0, 0, 0, 0.5); color: #ffffff; }

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

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

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

span.ghost { color: #666666; /* 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; }