MediaWiki:Mobile.css

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

/****************** /* General styles * /******************/ /* latin-ext */ @font-face { font-family: 'Marcellus SC'; font-style: normal; font-weight: 400; src: local('Marcellus SC'), local('MarcellusSC-Regular'), url(https://fonts.gstatic.com/s/marcellussc/v4/_jugwxhkkynrvsfrxVx8gT0LW-43aMEzIO6XUTLjad8.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: 'Marcellus SC'; font-style: normal; font-weight: 400; src: local('Marcellus SC'), local('MarcellusSC-Regular'), url(https://fonts.gstatic.com/s/marcellussc/v4/_jugwxhkkynrvsfrxVx8gegdm0LZdjqr5-oayXSOefg.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; }

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

body { background: #000000; color: #ffffff !important; font-family: Roboto, sans-serif; }

.globalNotice { position: relative; color: #ffffff; }

.header-container.header-chrome { border: 1px outset rgba(96, 96, 96, 0.5); background: #0a0c11; }

.header { border-top: none; }

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

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

.notification-count { background: transparent; }

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

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

.mw-echo-ui-notificationItemWidget, .mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group { border: 1px outset rgba(96, 96, 96, 0.5) !important; background: #0a0c11 !important; }

.overlay-header-container, .mw-echo-ui-crossWikiNotificationItemWidget-separator, .mw-echo-ui-bundleNotificationItemWidget-separator { border-bottom: 1px outset rgba(96, 96, 96, 0.5) !important; }

.overlay-footer-container { border-top: 1px outset rgba(96, 96, 96, 0.5) !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: #ffffff !important; }

.mw-echo-ui-notificationItemWidget-content-message-body { color: #999999 !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: #0a0c11 url("https://static.wikia.nocookie.net/terrabattle2_gamepedia_en/images/a/af/Skin-Mobile-Background.jpg/revision/latest") no-repeat center top / 100% auto !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(10, 12, 17, 0.8) !important; }

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

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

h1, h2, h3, h4, h5, h6 { background: transparent !important; color: #ffffff !important; font-family: 'Marcellus SC', serif; font-weight: normal; }

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

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

div.toc-mobile, .client-js div.toc-mobile { border: 1px outset rgba(96, 96, 96, 0.5); background: transparent; color: #ffffff; padding: 8px; margin-bottom: 5px; }

border: 1px outset rgba(96, 96, 96, 0.5); 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, table.cargoDynamicTable.display { border: none; background: transparent; color: #ffffff; }

div.content table.wikitable th, div.content table.wikitable > * > tr > th, div.content table.wikitable > * > tr > th, table.cargoDynamicTable.display thead th, table.cargoDynamicTable.display tfoot th { border: 1px outset rgba(192,192,192,0.5); background: rgba(112, 134, 189, 0.5); color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; margin: 0; padding: 0 3px 3px 3px; }

div.content table.wikitable td, div.content table.wikitable > * > tr > td, div.content table.wikitable > * > tr > td, table.cargoDynamicTable.display td { border: 1px outset rgba(192,192,192,0.5); background: transparent; color: #ffffff !important; vertical-align: middle; padding: 4px 8px; }

table.cargoDynamicTable.display td:hover { background: rgba(112, 134, 189, 0.1); }

table.cargoDynamicTable.display tbody tr.odd, table.cargoDynamicTable.display tbody tr.odd > .sorting_1, table.cargoDynamicTable.display.order-column.stripe tbody tr.odd > .sorting_1 { background: rgba(255, 255, 255, 0.05); }

table.cargoDynamicTable.display tbody tr.even, table.cargoDynamicTable.display tbody tr.even > .sorting_1, table.cargoDynamicTable.display.order-column.stripe tbody tr.even > .sorting_1 { background: rgba(0, 0, 0, 0.05); }

div.view-border-box { border: 1px outset rgba(96, 96, 96, 0.5); background-color: transparent; color: #ffffff; padding: 8px; margin-bottom: 5px; }

div.view-border-box.post-content { border: none; background: #0a0c11 !important; color: #ffffff !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: #ffffff; }

pre, .mw-code { border: 1px dashed #404040; background: #ffffff; color: #000000; 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: Roboto, sans-serif; border: none; background: #ffffff; color: #000000 !important; padding: 2px 2px; }

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

.mw-ui-button { border-radius: 100px; border: none; background: #ffffff; color: #1b1b1b !important; }

.mw-ui-button:hover { border: none; background: #78f2eb !important; color: #1b1b1b !important; }

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

border-top: 1px outset rgba(96, 96, 96, 0.5); background-color: rgba(0, 0, 0, 0.5); color: #ffffff; }
 * 1) mw-mf-page-center > footer {

.toast { border: 1px outset rgba(96, 96, 96, 0.5); background: #0a0c11; color: #ffffff; }

.drawer { background: #0a0c11; }

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

.editor-overlay .summary-request, .oo-ui-messageDialog-title, .oo-ui-messageDialog-message, div.mw-echo-ui-menuItemWidget-content, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: #ffffff !important; }

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

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

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

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

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

/******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #404040 !important; background: #0a0c11 !important; color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; }

border-left: 12px solid #404040; background: transparent; font-family: Roboto, sans-serif; }
 * 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-top: 1px outset #404040; border-bottom: 1px solid #999999; border-left: 12px solid #404040; background: #3d4967; }
 * 1) mw-mf-page-left ul li:hover {

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

color: #78f2eb; }
 * 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: #78f2eb; }

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

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

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

a.stub { color: #efef5a; }

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

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

a.extiw:visited, a.external:visited { color: #bac4e4 !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: 1px outset rgba(96, 96, 96, 0.5); background: transparent; color: #ffffff; 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; }

/**************************** /* 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: 1px outset rgba(96, 96, 96, 0.5); background: transparent; color: #ffffff; 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: 0; }

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

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

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

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

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

.fmpblock .heading.main { border-bottom: 1px solid #404040; color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; font-size: 116%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fmpblock .heading { border-bottom: 1px solid #404040; color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; font-size: 116%; 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; border: 1px solid #5b8740; 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; flex-flow: column nowrap; align-items: center; border: 1px solid #5b8740; background: transparent; 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: #ffffff; width: 100%; text-align: center; }

.fmpblock .iconlinks .iconlink .text a { display: block; 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: 1px outset rgba(96, 96, 96, 0.5); background: transparent; color: #ffffff; padding: 3px; width: 100%; box-sizing: border-box; }

.infoboxtable th { border: 1px outset rgba(96, 96, 96, 0.5); background: rgba(112, 134, 189, 0.5); color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; text-align: right; vertical-align: top; padding: 0.5px 7px; }

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

.infoboxtable th.infoboxname { background: rgba(112, 134, 189, 0.5); font-size: 110%; color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; text-align: center; padding: 8px; }

.infoboxtable th.infoboxdetails { background: rgba(112, 134, 189, 0.5); text-align: center; color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; padding: 0; }

/******************** /* Navbox templates * /********************/ table.navbox { border: 1px outset rgba(96, 96, 96, 0.5); background: transparent; color: #ffffff; 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 { background: rgba(112, 134, 189, 0.5); color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(112, 134, 189, 0.333); color: #ffffff; font-family: 'Marcellus SC', serif; font-weight: normal; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(112, 134, 189, 0.25); color: #ffffff; }

/* Even row striping */ .navbox-even { background: rgba(112, 134, 189, 0.125); color: #ffffff; }

/* Odd row striping */ .navbox-odd { background: transparent; } .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: 1px outset rgba(96, 96, 96, 0.5); 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; }

.mobileleft { text-align: left; }

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

.nomobile { display: none; }

/*************************** /* Tabber extension styles * /***************************/ /* * Copied from https://raw.githubusercontent.com/HydraWiki/Tabber/master/css/tabber.css */

ul.tabbernav { margin: 0; padding: 3px 0; border-bottom: 1px solid #CCC; font: bold 12px Verdana, sans-serif; }

ul.tabbernav li { list-style: none; margin: 0; display: inline; }

ul.tabbernav li a { padding: 3px .5em; margin-left: 3px; border: 1px solid #CCC; border-bottom: none; background: #F2F7FF; text-decoration: none; }

ul.tabbernav li a:link { color: #448; }

ul.tabbernav li a:visited { color: #667; }

ul.tabbernav li a:hover { color: #000; background: #FFF9F2; border-color: #CCC; }

ul.tabbernav li.tabberactive a { background-color: #FFF; border-bottom: 1px solid #FFF; }

ul.tabbernav li.tabberactive a:hover { color: #000; background: #FFF; border-bottom: 1px solid #FFF; }

.tabber .tabbertab { padding: 5px; border: 1px solid #CCC; border-top: 0; }