MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */

/****************** /* General styles * /******************/ @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'); }

body { background: #000000; color: #fafafa !important; font-family: 'Open Sans', sans-serif; }

.globalNotice { position: relative; background: #000000; color: #fafafa; }

.header-container.header-chrome { border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; font-family: 'Open Sans', sans-serif; }

.header { border-top: none; }

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

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

.notification-count { background: transparent; }

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

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

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

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

.overlay-footer-container { border-top: 1px solid #202020 !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: #fafafa !important; }

.mw-echo-ui-notificationItemWidget-content-message-body { color: #9d9d9d !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%); }

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

@media ( min-width: 1050px ) { #mw-mf-page-center, body.navigation-enabled #mw-mf-page-center, .animations #mw-mf-page-center { background-size: 100vw auto !important; } }

@media ( min-height: 56.285714vw ) { #mw-mf-page-center, body.navigation-enabled #mw-mf-page-center, .animations #mw-mf-page-center { background-size: auto 100vh !important; } }

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

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

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

.pre-content h1, .content h1, .content h2, h1, h2, h3, h4, h5, h6 { background: transparent !important; color: #fafafa !important; font-family: 'Open Sans', sans-serif; font-variant: small-caps; }

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

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

div.toc-mobile, .client-js div.toc-mobile { border-radius: 12px; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; padding: 8px; margin-bottom: 5px; }

border-radius: 12px; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; 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: none; background: transparent; color: #fafafa; }

div.content table.wikitable th, div.content table.wikitable > * > tr > th, div.content table.wikitable > * > tr > th { border: 1px solid #292929; background: rgba(40, 40, 40, 0.8); color: #fafafa; 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 #292929; background: rgba(20, 20, 20, 0.4); color: #fafafa !important; vertical-align: middle; padding: 4px 8px; }

div.view-border-box { border-radius: 12px; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; padding: 8px; margin-bottom: 5px; }

div.view-border-box.last-modified-bar { border: none; background: transparent; color: #fafafa; padding: 8px; margin-bottom: 5px; }

div.view-border-box.post-content { border: none; background: transparent !important; color: #fafafa !important; margin: 0 30px 25px 30px; }

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

div.view-border-box.watch-this-article { border: none; background-color: transparent; overflow: visible; }

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

pre, .mw-code { border: 1px dashed #d1d1d1; background: rgba(255, 255, 255, 0.82); color: #000000; padding: 2px 2px; white-space: pre-wrap; word-wrap: break-word; }

code { border: 1px dashed #44749c; background: transparent; white-space: pre-wrap; word-wrap: break-word; }

input, select, textarea { border: none; background: #fafafa; color: #000000 !important; padding: 2px 2px; }

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

.mw-ui-button { font-family: 'Open Sans', sans-serif; text-transform: uppercase; border-radius: 30px; border: none; background: #44749c !important; color: #ffffff; }

.mw-ui-button:hover { background: #ce7a32 !important; color: #ffffff !important; }

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

border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; }
 * 1) mw-mf-page-center > footer {

.toast { border-radius: 12px; border: none; background: #202020; color: #fafafa; }

.drawer { background: #202020; }

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

.editor-overlay .summary-request, .oo-ui-messageDialog-title, .oo-ui-messageDialog-message, div.mw-echo-ui-menuItemWidget-content { color: #fafafa !important; }

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { font-family: 'Open Sans', sans-serif; text-transform: uppercase; border-radius: 30px; border: none; background: #44749c !important; color: #ffffff; }

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { background: #ce7a32 !important; color: #ffffff !important; }

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

.ve-ui-mwSaveDialog-options { background-color: #000000 !important; }

/******************* /* Search elements * /*******************/ .search-overlay { background: rgba(40, 40, 40, 0.9) !important; }

.search-overlay .results, .search-overlay .search-feedback { background-color: #202020 !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: #fafafa !important; }

/******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: none !important; background: #1a1a1a !important; color: #fafafa; }

border-radius: 0; border: none; background: transparent; font-family: 'Open Sans', sans-serif; }
 * 1) mw-mf-page-left, div.menu.view-border-box {

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

border-bottom: none; }
 * 1) mw-mf-page-left ul:first-child {

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

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

border-top: 1px solid #44749c; border-bottom: 1px solid #44749c; background: #44749c; }
 * 1) mw-mf-page-left ul li:hover {

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

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

/*************** /* Link styles * /***************/ a, a:link, div.view-border-box.post-content a, div.view-border-box.post-content a:link { color: #86d0ff; }

a:visited, div.view-border-box.post-content a:visited { color: #8ebcd9; }

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

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

a.stub { color: #ffba71; }

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

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

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

a:active { color: #fafafa !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: #9d9d9d; font-style: italic; }

/****************** /* Image licenses * /******************/ /* copyright images tweak */ .skin-hydradark .copyright-icon { display: inline-block; background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png"); background-size: 100%; height: 32px; width: 32px; }

.ambox { border-radius: 0 12px 12px 0; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; font-size: 95%; margin: 0 auto 10px auto; padding: 0; width: 80%; }

.ambox-gray { box-shadow: 10px 0 0 #383838 inset; }

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

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

.ambox-text { padding: 3px 6px; }

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

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

/* Ambox colors */ .ambox-blue { box-shadow: 10px 0 0 #1e90ff inset; }

.ambox-red { box-shadow: 10px 0 0 #b22222 inset; }

.ambox-orange { box-shadow: 10px 0 0 #f28500 inset; }

.ambox-yellow { box-shadow: 10px 0 0 #f4c430 inset; }

.ambox-purple { box-shadow: 10px 0 0 #9932cc inset; }

.ambox-gray { box-shadow: 10px 0 0 #bba inset; }

.ambox-green { box-shadow: 10px 0 0 #228b22 inset; }

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

/**************************** /* Flexbox main page styles * /****************************/ .fmpsections { width: 100%; overflow: hidden; }

.fmpsection { }

.fmpblock { margin: 5px; padding: 3px 6px; flex: 0 1 100%; text-align: left; }

.fmpblock.noresize { flex: 0 0 auto; }

.fmpblock.box { border-radius: 12px; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; margin: 5px; padding: 3px 6px; }

.fmpblock.mobilecollapsible .heading a { display: block; padding: 0 0 0 15px; }

.fmpblock.mobilecollapsible .heading a:hover, .fmpblock.mobilecollapsible .heading .imageheading a:active { text-decoration: none; }

.fmpblock.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.fmpblock.mobilecollapsible.collapsed .heading a { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHAQMAAAD6aRWtAAAABlBMVEUAAACG0P/s5fRvAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBB0CFxYyeNwCAAAAFElEQVQI12NwYEhgKGCoAOIEBgcAEjYCmWxNs0wAAAAASUVORK5CYII=") left center no-repeat; }

.fmpblock.mobilecollapsible.collapsed .body { display: none; }

.fmpblock.mobilecollapsible.expanded .heading a { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAEAQMAAAB4CLc+AAAABlBMVEUAAACG0P/s5fRvAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBB0CFx48o1QwAAAAEElEQVQI12P4x1DDYMEgAAAKHgHDGrfkbwAAAABJRU5ErkJggg==") left center no-repeat; }

.fmpblock.mobilecollapsible.expanded .body { display: block; }

.fmpblock img { max-width: 100%; height: auto; }

.fmpblock .heading.main { border-bottom: 1px solid #44749c; background: transparent; font-family: 'Open Sans', sans-serif; text-transform: uppercase; font-weight: bold; color: #fafafa; font-size: 132%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fmpblock .heading { border-bottom: 1px solid #44749c; background: transparent; font-family: 'Open Sans', sans-serif; text-transform: uppercase; font-weight: bold; color: #fafafa; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fmpblock .links { text-align: center; }

.fmpblock .links ul { display: flex; flex-flow: row wrap; justify-content: space-between; text-align: center; margin: -2px -10px; padding: 0; }

.fmpblock .links ul li { display: flex; list-style: none; flex-flow: column wrap; flex: 1 0 15em; margin: 0; padding: 2px 10px; }

@media ( min-width: 30em ) { .fmpblock .links ul li { flex: 0 0 15em; } }

.fmpblock .links ul li a, .fmpblock .links.plainlinks ul li a { display: block; font-family: 'Open Sans', sans-serif; text-transform: uppercase; border-radius: 30px; border: none; background: #44749c !important; color: #ffffff !important; margin: 0; padding: 10px !important; }

.fmpblock .iconlinks { display: flex; flex-flow: row wrap; justify-content: space-around; align-items: flex-start; text-align: center; margin: -10px; padding: 0; }

.fmpblock .iconlinks .iconlink { display: flex; font-family: 'Open Sans', sans-serif; text-transform: uppercase; border-radius: 30px; border: none; background: #44749c; color: #ffffff; font-weight: bold; margin: 10px; padding: 0; flex: 0 0 15em; }

.fmpblock .iconlinks .iconlink .icon { display: flex; flex-flow: column nowrap; justify-content: stretch; width: 100%; min-width: 100%; height: 100px; padding: 0 10px; }

.fmpblock .iconlinks .iconlink .icon a { display: flex; flex-flow: column nowrap; justify-content: flex-end; align-items: center; flex: 0 0 100%; padding: 2px 0 0 0; }

.fmpblock .iconlinks .iconlink .text { color: #fafafa; width: 100%; text-align: center; }

.fmpblock .iconlinks .iconlink .text a { display: block; color: #cbcbcb; width: auto; padding: 0 10px 2px 10px; }

.fmpblock .videos { margin: 0 auto; overflow: hidden; text-align: center; }

.fmpblock .videos .video { display: inline-block; margin: 0 5px; }

.fmpexamples { display: flex; align-items: self-start; }

.fmpexample { margin: 0 3em; text-align: center; }

.fmpexample.narrow { width: 5em; }

.fmpexample.medium { width: 10em; }

.fmpexample.wide { width: 15em; }

.fmpexample .body { margin: -5px; }

.fmpexample.medium .body { display: flex; flex-flow: row wrap; }

.fmpexample.medium .body .fmpsection { display: flex; flex-flow: column nowrap; flex-basis: 50%; }

.fmpexample.medium .body .fmpsectiongroup { display: flex; flex-flow: column nowrap; flex-basis: 50%; }

.fmpexample.medium .body .fmpsectiongroup .fmpsection { flex-basis: 100%; }

.fmpexample.wide .body { display: flex; flex-flow: row wrap; }

.fmpexample.wide .body .fmpsectiongroup { display: flex; flex-flow: row wrap; flex-basis: 66.667%; }

.fmpexample.wide .body .fmpsection { display: flex; flex-flow: column nowrap; flex-basis: 33.333%; }

.fmpexample.wide .body .fmpsectiongroup .fmpsection.fullwhenwide { width: auto; flex-basis: 100%; }

.fmpexample.wide .body .fmpsectiongroup .fmpsection.halfwhenwide { width: auto; flex-basis: 50%; }

/****************** /* Infobox styles * /******************/ .infoboxtable { border-radius: 12px; border: none; background: transparent; color: #fafafa; padding: 3px; width: 100%; box-sizing: border-box; }

.infoboxtable th { border: 1px solid #44749c; background: rgba(25, 25, 25, 0.4); color: #fafafa; font-weight: bold; text-align: right; vertical-align: top; padding: 0.5px 7px; }

.infoboxtable td { border: 1px solid #292929; background: rgba(20, 20, 20, 0.4); color: #fafafa; text-align: left; vertical-align: top; padding: 0.5px 3px 0.5px 3px; }

.infoboxtable th.infoboxname { border: 2px solid #44749c; background: rgba(40, 40, 40, 0.8); font-size: 110%; color: #fafafa; font-family: 'Open Sans', sans-serif; font-weight: normal; text-align: center; padding: 8px; }

.infoboxtable th.infoboxdetails { border: 1px solid #44749c; background: rgba(40, 40, 40, 0.5); text-align: center; color: #fafafa; font-family: 'Open Sans', sans-serif; font-weight: normal; padding: 0; }

/******************** /* Navbox templates * /********************/ table.navbox { border: none; background: transparent; color: #fafafa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: transparent; }

.navbox-list { background: transparent; /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { border: 1px solid #292929; background: rgba(40, 40, 40, 0.8); color: #fafafa; font-weight: bold; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(40, 40, 40, 0.5); color: #fafafa; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(30, 30, 30, 0.4) color: #fafafa; }

/* Even row striping */ .navbox-even { background: rgba(25, 25, 25, 0.4); color: #fafafa; }

/* Odd row striping */ .navbox-odd { background: rgba(15, 15, 15, 0.4); color: #fafafa; }

.collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; }

.navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; }

table.collapsed tr.collapsible { display: none; }

/****************** /* General styles * /******************/ .contentbox { border-radius: 12px; border: none; background: rgba(40, 40, 40, 0.8); color: #fafafa; overflow: auto; margin: 0 0 3px 0; padding: 3px; }

.contentbox .contentbox { border-radius: 8px; border: none; background: rgba(40, 40, 40, 0.2); color: #fafafa; }

.headerlike { border-bottom: 1px solid rgba(128, 128, 128, 0.5); background: transparent; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

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

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

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

.mark { color: #ce7a32; }

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

.mobileleft { text-align: left; }

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

.nomobile { display: none; }