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: 'Eczar'; font-style: normal; font-weight: 400; src: local('Eczar'), local('Eczar-Regular'), url(https://fonts.gstatic.com/s/eczar/v4/WRez4Kbl_ZWcd1vDZ4Y4Iw.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: 'Eczar'; font-style: normal; font-weight: 400; src: local('Eczar'), local('Eczar-Regular'), url(https://fonts.gstatic.com/s/eczar/v4/hyMVYt18PG_P8SE878ktjA.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; } @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/ozbrokenkingdom_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(0, 0, 0, 0.8) !important; }

div#searchbox { border: 2px solid #4d4d4d; }

body.mediawiki div#content_wrapper { border: none; background: transparent; color: #ffffff !important; clear: both; margin: 0; padding: 3px; }

h1, h2, h3, h4, h5, h6 { background: transparent !important; font-family: Eczar, serif; color: #ffdb2a !important; }

border-bottom: 2px solid #4d4d4d; }
 * 1) content_wrapper .section {

div.toc-mobile, .client-js div.toc-mobile { border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; padding: 8px; margin-bottom: 5px; }

border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; padding: 8px; margin-bottom: 5px; }
 * 1) content .thumb {

div.content table.wikitable, div.content table.wikitable > * > tr > th { padding: 3px; margin: auto; margin-bottom: 5px; }

div.content table.wikitable { border-collapse: separate; border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; }

div.content table.wikitable th, div.content table.wikitable > * > tr > th, div.content table.wikitable > * > tr > th { border: 1px solid #4d4d4d; background: #272727; color: #ffdb2a; font-weight: bold; margin: 0; padding: 0 3px 3px 3px; }

div.content table.wikitable td, div.content table.wikitable > * > tr > td, div.content table.wikitable > * > tr > td { border: 1px solid #4d4d4d; background: transparent; color: #ffffff !important; vertical-align: middle; padding: 4px 8px; }

div.view-border-box { border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; padding: 8px; margin-bottom: 5px; }

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

div#footer { border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; margin: 0 10px 10px 10px; padding: 8px; }

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

pre, .mw-code { border: 1px dashed #83d2fd; background: #0279be; 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-radius: 2px; border: 2px solid #000000; background: #83d2fd; color: #000000; padding: 2px 2px; }

button, input[type="submit"], input[type="button"], input[type="reset"], div#content a.mw-ui-button { font-family: Eczar, serif; border-radius: 2px; border: 2px solid #ad8f18; background: #4d4d4d; color: #000000 !important; font-weight: bold; padding: 2px 2px; }

border-style: solid !important; border-width: 8px !important; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px !important; background: transparent !important; color: #ffffff !important; }
 * 1) mf-notification {

.toast { border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; }

.drawer { background: #000000; }

/******************* /* Search elements * /*******************/ .search-overlay, .overlay-header-container, .search-overlay .overlay-header, .search-overlay .results, .search-overlay .search-feedback { background: #4d4d4d !important; color: #ffffff !important; }

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

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

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

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

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

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

border-left: 12px solid #ffffff; background: #9d8216; }
 * 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: #f5e8c2; }

a:visited { color: #edd48f; }

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

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

a.stub { color: #f6f5c2; }

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

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

a.extiw:visited, a.external:visited { color: #8def8d !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; }

/****************** /* Image licenses * /******************/ .ambox { border-radius: 2px; border: 2px solid #4d4d4d; background: transparent; 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-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; margin: 5px 5px 10px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #4d4d4d; background: transparent; color: #ffdb2a; font-family: Eczar, serif; font-size: 150%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { border-bottom: 1px solid #4d4d4d; background: transparent; color: #ffdb2a; font-family: Eczar, serif; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

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

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

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

.fplinks .linkslabel { border-bottom: 2px solid #4d4d4d; 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; font-family: Eczar, serif; border-radius: 2px; border: 2px solid #ad8f18; background: #4d4d4d; color: #000000; font-weight: bold; text-align: center; vertical-align: middle; }

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

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

@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 { min-width: 70px; min-height: 70px; }

.fplink.image .box .row .cell { border-radius: 0; border: none; background: transparent; min-width: 70px; min-height: 70px; vertical-align: bottom; }

.fplink.image .image { height: 70px; }

.fplink.image .box .row .cell .image a > img { width: auto !important; height: 70px !important; }

.fplink.image a { }

.fplink a { display: block; padding: 0; }

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

.fplink.image .link a { border: none; background: transparent; }

.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 * /******************/ .infoboxtable { border-collapse: separate; border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; margin: 0 0 10px 0; padding: 3px; width: 100%; box-sizing: border-box; }

.infoboxtable th { border: 1px solid #4d4d4d; background: #272727; color: #ffdb2a; font-weight: bold; text-align: right; vertical-align: top; padding: 0.5px 7px; }

.infoboxtable td { border: 1px solid #4d4d4d; background: transparent; color: #ffffff; text-align: left; vertical-align: top; padding: 0.5px 3px 0.5px 3px; }

.infoboxtable th.infoboxname { font-family: Eczar, serif; font-size: 110%; color: #ffdb2a; text-align: center; padding: 8px; }

.infoboxtable th.infoboxdetails { text-align: center; background: transparent; color: #ffffff; padding: 0; }

/********************* /* Navigation tables * /*********************/ table.nav { border-collapse: separate; border-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; color: #ffffff; 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 #4d4d4d; background: #272727; color: #ffdb2a; 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 #4d4d4d; 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-style: solid; border-width: 8px; border-image: url("https://static.wikia.nocookie.net/ozbrokenkingdom_gamepedia_en/images/4/40/Skin-Element-Border.png/revision/latest") 11 11 11 11 / auto / 3px 3px 3px 3px; background: transparent; 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: #999999; /* 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; }