MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, .skin-minerva #mw-mf-page-center { background: #212121; }

.skin-minerva .header .branding-box h1, .skin-minerva .header .branding-box a { color: white; }

.nomobile { display: none; }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

/* Fixes for defaults from Mobile Frontend */ /* Tables without classes should not have borders or backgrounds that are then inherited by tables that do have classes. */ table, table > tr > td, table > tr > th, table > * > tr > td, table > * > tr > th, .content table th, .content table td, .content table th { background: none; border-collapse: separate; border-spacing: 2px; border: none; }

/* Tables are tables, not blocks................... */ table { display: table; }

html, body, .primary-navigation-enabled { }

body.skin-minerva #mw-mf-page-center, body.navigation-enabled.skin-minerva #mw-mf-page-center { background-color: #000; background-image: url("https://static.wikia.nocookie.net/sundered_gamepedia_en/images/1/1f/Background.jpg/revision/latest"); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover; color: #fff; }

.skin-minerva #content { background: rgba(0,0,0,0.9); border: solid 1px #363636; margin: .5em; padding: .5em; }

a { color: #1d73a4; }

a:visited, a:hover { color: #4193cc; }

.mwm-notice, #searchbox { background: rgba(0,0,0,.9); border: solid 1px #363636; }

.content table.wikitable { background: none; border: 1px solid #363636; color: #fff; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: #000; border: 2px solid #363636; color: #fff; }

.content table.wikitable > tr > td, .content table.wikitable > * > tr > td { background: none; border: 1px solid #363636; padding: 0.2em; }

table.infobox { background: #222; background: rgba(0,0,0,.15); background: linear-gradient(to bottom,rgba(0,0,0,.15) 0%,rgba(0,0,0,.02) 100%); border: 1px solid #363636; border-spacing: 2px; width: 20em; float: right; margin: 0 0 2em 1em; }

table.infobox > tr > td, table.infobox > * > tr > td { background: none; padding: 0 .5em; text-align: right; }

table.infobox > tr > th, table.infobox > * > tr > th { background-color: rgba(54,54,54,.30); padding-left: .5em; padding-right: .5em; }

table.infobox > tr > th.name, table.infobox > * > tr > th.name, table.infobox > tr > th.title, table.infobox > * > tr > th.title { font-size: 120%; text-align: center; }

table.infobox > tr > th.section, table.infobox > * > tr > th.section { text-align: center; }

table.infobox { background: rgba(0,0,0,.15) !important; border-spacing: 2px !important; float: none; margin: 0 auto 1em !important; }

table.infobox .header { display: table-cell; }

table.infobox { margin-right: auto; margin-left: auto !important; background: inherit; border: solid 1px #363636; max-width: 21em !important; width: auto !important; }

footer { background: rgba(0,0,0,0.9); border: solid 1px #363636; border: none; margin: .5em; padding: .5em; color: #fff; }

footer-info-mobile-switcher a, footer-info-mobile-switcher a:visited, footer-info-mobile-switcher a.external { font-weight:bold; }

/*********************** /* Flex text link list * /***********************/ .skin-minerva .flextextlinks { text-align: center; }

.skin-minerva .flextextlinks ul { display: flex; flex-flow: row wrap; justify-content: flex-start; text-align: center; margin: -2px -10px; padding: 0; }

.skin-minerva .flextextlinks ul li { display: flex; list-style: none; flex-flow: column wrap; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; -moz-hyphens: auto; hyphens: auto; flex: 1 0 15rem; margin: 0; padding: 2px 10px; }

@media ( min-width: 30rem ) { .skin-minerva .flextextlinks ul li { flex: 0 0 15rem; } }

.skin-minerva .flextextlinks ul li a, .skin-minerva .flextextlinks ul li a:visited, .skin-minerva .flextextlinks.plainlinks ul li a, .skin-minerva .flextextlinks.plainlinks ul li a:visited { display: flex; border: 2px solid #5a93cc; background: transparent !important; color: #5a93cc !important; flex: 1 0 auto; align-items: center; justify-content: center; margin: 0; padding: 10px !important; }

/*********************** /* Flex icon link list * /***********************/ .skin-minerva .flexiconlinks { display: flex; flex-flow: row wrap; justify-content: flex-start; align-items: stretch; text-align: center; margin: -10px; padding: 0; }

.flexiconlinks.horizontal { margin: -2px -10px; }

.skin-minerva .flexiconlinks .iconlink { display: flex; flex-flow: column nowrap; align-items: center; border: 2px solid #5a93cc; background: transparent; color: #5a93cc; margin: 10px; padding: 5px 10px; flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.horizontal .iconlink { margin: 2px 10px; padding: 10px; }

.skin-minerva .flexiconlinks.iconsize24 .iconlink { flex: 0 0 1.5rem; min-width: 24px; }

.skin-minerva .flexiconlinks.linksize24 .iconlink { flex: 0 0 1.5rem; min-width: 24px; }

.skin-minerva .flexiconlinks.iconsize64 .iconlink { flex: 0 0 4rem; min-width: 64px; }

.skin-minerva .flexiconlinks.linksize64 .iconlink { flex: 0 0 4rem; min-width: 64px; }

.skin-minerva .flexiconlinks.iconsize96 .iconlink { flex: 0 0 6rem; min-width: 96px; }

.skin-minerva .flexiconlinks.linksize96 .iconlink { flex: 0 0 6rem; min-width: 96px; }

.skin-minerva .flexiconlinks.iconsize128 .iconlink { flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.linksize128 .iconlink { flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.iconsize192 .iconlink { flex: 0 0 12rem; min-width: 192px; }

.skin-minerva .flexiconlinks.linksize192 .iconlink { flex: 0 0 12rem; min-width: 192px; }

.skin-minerva .flexiconlinks.iconsize256 .iconlink { flex: 0 0 16rem; min-width: 256px; }

.skin-minerva .flexiconlinks.linksize256 .iconlink { flex: 0 0 16rem; min-width: 256px; }

.skin-minerva .flexiconlinks.horizontal .iconlink { flex-flow: row nowrap; align-items: flex-start; flex: 1 0 15rem; box-sizing: border-box; }

@media ( min-width: 30rem ) { .skin-minerva .flexiconlinks.horizontal .iconlink { flex: 0 0 15rem; } }

.skin-minerva .flexiconlinks .iconlink .icon { display: flex; flex-flow: column nowrap; justify-content: stretch; min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.horizontal .iconlink .icon { min-width: 24px; width: 24px; height: 24px; }

.skin-minerva .flexiconlinks.linksize24 .iconlink .icon { min-width: 24px; width: 24px; height: 24px; }

.skin-minerva .flexiconlinks.linksize64 .iconlink .icon { min-width: 64px; width: 64px; height: 64px; }

.skin-minerva .flexiconlinks.linksize96 .iconlink .icon { min-width: 96px; width: 96px; height: 96px; }

.skin-minerva .flexiconlinks.linksize128 .iconlink .icon { min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.linksize192 .iconlink .icon { min-width: 192px; width: 192px; height: 192px; }

.skin-minerva .flexiconlinks.linksize256 .iconlink .icon { min-width: 256px; width: 256px; height: 256px; }

.skin-minerva .flexiconlinks.iconsize64 .iconlink .icon { min-width: 64px; width: 64px; height: 64px; }

.skin-minerva .flexiconlinks.iconsize96 .iconlink .icon { min-width: 96px; width: 96px; height: 96px; }

.skin-minerva .flexiconlinks.iconsize128 .iconlink .icon { min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.iconsize192 .iconlink .icon { min-width: 192px; width: 192px; height: 192px; }

.skin-minerva .flexiconlinks.iconsize256 .iconlink .icon { min-width: 256px; width: 256px; height: 256px; }

.skin-minerva .flexiconlinks .iconlink .icon a { display: flex; flex-flow: column nowrap; justify-content: flex-end; align-items: center; flex: 0 0 100%; margin: -5px -10px 0 -10px; padding: 5px 10px 0 10px; }

.skin-minerva .flexiconlinks.horizontal .iconlink .icon a { margin: -10px 0 -10px -10px; padding: 10px 0 10px 10px !important; }

.skin-minerva .flexiconlinks .iconlink .text { color: #ffffff; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; -moz-hyphens: auto; hyphens: auto; width: 100%; text-align: center; }

.skin-minerva .flexiconlinks.horizontal .iconlink .text { flex-grow: 1; width: auto; text-align: left; }

.skin-minerva .flexiconlinks .iconlink .text a, .skin-minerva .flexiconlinks .iconlink .text a:visited { display: block; color: #5a93cc !important; width: auto; margin: 0 -10px -5px -10px; padding: 0 10px 5px 10px !important; }

.skin-minerva .flexiconlinks.horizontal .iconlink .text a, .skin-minerva .flexiconlinks.horizontal .iconlink .text a:visited { margin: -10px -10px -10px 0; padding: 10px 10px 10px 0.5rem !important; }

/******************************* /* Responsive flex page layout * /*******************************/ .skin-minerva .rfpelements { width: 100%; overflow: hidden; }

.skin-minerva .rfpblock { margin: 5px; padding: 3px 6px; text-align: left; }

.skin-minerva .rfpblock.rfpmobilecollapsible .heading a { display: block; padding: 0 0 0 15px; }

.skin-minerva .rfpblock.rfpmobilecollapsible .heading a:hover, .skin-minerva .rfpblock.rfpmobilecollapsible .heading .imageheading a:active { text-decoration: none; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .body { display: none; }

.skin-minerva .rfpblock.rfpmobilecollapsible.expanded .body { display: block; }

.skin-minerva .rfpblock img { max-width: 100%; height: auto; }

/**************************** /* Responsive flex specials * /****************************/ .skin-minerva .rfpaboutinfo { border-top: 1px solid #363636; columns: auto 18rem; padding: 10px 0; }

.skin-minerva .rfpaboutitem { padding-left: 6rem; text-align: left; }

.skin-minerva .rfpaboutlabel { display: inline-block; text-align: right; width: 5.5rem; margin: 0 0 0 -6rem; padding: 0 0.5rem 0 0; }

.skin-minerva .rfpplatforms { border-top: 2px solid #363636; text-align: center; padding: 10px 0 0 0; }

.skin-minerva .rfpplatformsheading { border-bottom: 1px solid #363636; background: transparent; font-weight: bold; color: #ffffff; text-transform: uppercase; margin: 0 0 10px 0; padding: 0 0 3px 0; }

.skin-minerva .rfpplatformdates { display: flex; flex-flow: row wrap; align-items: flex-start; justify-content: center; text-align: center; }

.skin-minerva .rfpplatformdate { flex: 1 0 18rem; text-align: center; padding: 0 0 10px 0; }

.skin-minerva .rfpplatformdate img { padding: 0 5px; }

.skin-minerva .rfpplatformdarkinvert { filter: invert(100%); }

.skin-minerva .rfptwitter:not(.collapsed), .skin-minerva .rfptwitter.expanded { display: flex; flex-flow: column nowrap; }

.skin-minerva .rfptwitter:not(.collapsed) .body, .skin-minerva .rfptwitter:not(.collapsed) .body .twitter-timeline-wrapper, .skin-minerva .rfptwitter.expanded .body, .skin-minerva .rfptwitter.expanded .body .twitter-timeline-wrapper { display: flex; flex-flow: column nowrap; flex: 0 0 410px; }

.skin-minerva .rfptwitter:not(.collapsed) .body .twitter-timeline-wrapper iframe, .skin-minerva .rfptwitter.expanded .body .twitter-timeline-wrapper iframe { width: auto !important; height: auto !important; flex: 0 0 400px; }

/****************************** /* Responsive flex appearance * /******************************/ .skin-minerva .rfpbox, .skin-minerva .rfpmobilebox { border: 2px solid #363636; background: rgba(54, 54, 54, 0.15); color: #ffffff; margin: 5px; padding: 3px 6px; }

.skin-minerva .rfpblock .heading { border-bottom: 1px solid #363636; background: transparent; font-weight: bold; font-variant: small-caps; color: #ffffff; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .heading a { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%227%22%20viewBox%3D%220%200%205%207%22%3E%3Cg%20fill%3D%22%23c36f26%22%3E%3Ctitle%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3Eleft%20arrow%3C%2Ftitle%3E%3Cpath%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20d%3D%22M1%200%20L1%207%20L5%203.5%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") left center no-repeat; }

.skin-minerva .rfpblock.rfpmobilecollapsible.expanded .heading a { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227%22%20height%3D%224%22%20viewBox%3D%220%200%207%204%22%3E%3Cg%20fill%3D%22%23c36f26%22%3E%3Ctitle%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3Edown%20arrow%3C%2Ftitle%3E%3Cpath%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20d%3D%22M0%200%20L7%200%20L3.5%204%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") left center no-repeat; }

/****************************************** /* Responsive flex documentation examples * /******************************************/ .skin-minerva .rfpdoclabel { border: 2px solid #363636; padding: 3px 6px; text-align: center; }

.skin-minerva .rfpdocexample { display: flex; flex-flow: row wrap; text-align: center; margin: 0 0 10px 0; }

.skin-minerva .rfpdocnarrow { border: 2px solid #363636; padding: 3px 0 0 0; width: 16.666667%; box-sizing: border-box; }

.skin-minerva .rfpdocmedium { border: 2px solid #363636; padding: 3px 0 0 0; width: 33.333333%; box-sizing: border-box; }

.skin-minerva .rfpdocwide { border: 2px solid #363636; padding: 3px 0 0 0; width: 50%; box-sizing: border-box; }

.skin-minerva .rfpdocelements { display: flex; flex-flow: row wrap; }

.skin-minerva .rfpdocshelf, .skin-minerva .rfpdocstack { display: flex; flex-flow: column nowrap; margin: 0; padding: 0; flex: 0 0 100%; max-width: 100%; box-sizing: border-box; }

.skin-minerva .rfpdocblock { margin: 5px; padding: 3px 6px; flex: 0 0 calc( 100% - 10px ); max-width: calc( 100% - 10px ); text-align: center; box-sizing: border-box; }

.skin-minerva .rfpdocstack .rfpdocstack, .skin-minerva .rfpsdoctack .rfpdocshelf, .skin-minerva .rfpdocshelf .rfpdocshelf, .skin-minerva .rfpdocshelf .rfpdocstack { flex: 1 0 auto; max-width: 100%; }

.skin-minerva .rfpdocstack .rfpdocblock, .skin-minerva .rfpdocshelf .rfpdocblock { flex: 1 0 auto; max-width: calc( 100% - 10px ); }

.skin-minerva .rfpdocstack .rfpdocnoresize { flex: 0 0 auto; }

.skin-minerva .rfpdocmedium .rfpdoc100-50-67size, .skin-minerva .rfpdocmedium .rfpdoc100-50-50size, .skin-minerva .rfpdocmedium .rfpdoc100-50-33size { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-67size, .skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-50size, .skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-33size { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-67size, .skin-minerva .rfpdocwide .rfpdoc100-50-67size { flex: 0 0 66.666667%; max-width: 66.666667%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-67size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-67size { flex: 0 0 calc( 66.666667% - 10px ); max-width: calc( 66.666667% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-50size, .skin-minerva .rfpdocwide .rfpdoc100-50-50size { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-50size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-50size { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-33size, .skin-minerva .rfpdocwide .rfpdoc100-50-33size { flex: 0 0 33.333333%; max-width: 33.333333%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-33size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-33size { flex: 0 0 calc( 33.333333% - 10px ); max-width: calc( 33.333333% - 10px ); }

.skin-minerva .rfpdocwide .rfpdocshelf { flex-flow: row wrap; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocstack { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocblock { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocstack.rfpdockeepwide { flex: 0 0 100%; max-width: 100%; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocblock.rfpdockeepwide { flex: 0 0 calc( 100% - 10px ); max-width: calc( 100% - 10px ); }

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

.skin-minerva .infoboxtable th { border: 2px solid #363636; background: rgba(54, 54, 54, 0.15); color: #ffffff; font-weight: bold; text-align: right; vertical-align: top; padding: 0.5px 7px; }

.skin-minerva .infoboxtable td { border: 2px solid #363636; background: rgba(54, 54, 54, 0.15); color: #ffffff; text-align: left; vertical-align: top; padding: 0.5px 3px 0.5px 3px; }

.skin-minerva .infoboxtable th.infoboxname { border: 2px solid #363636; background: rgba(54, 54, 54, 0.25); font-size: 110%; color: #ffffff; font-variant: small-caps; font-weight: normal; text-align: center; padding: 8px; }

.skin-minerva .infoboxtable th.infoboxdetails { border: 2px solid #363636; background: rgba(54, 54, 54, 0.2); text-align: center; color: #ffffff; text-transform: uppercase; font-weight: normal; padding: 0; }