MediaWiki:Mobile.css

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

/****************** /* General styles * /******************/ @font-face { font-family: 'Crimson Text'; font-style: normal; font-weight: 400; src: local('Crimson Text'), local('CrimsonText-Roman'), url(https://fonts.gstatic.com/s/crimsontext/v6/3IFMwfRa07i-auYR-B-zNegdm0LZdjqr5-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 { color: #ffffff !important; font-family: 'Roboto', sans-serif; }

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

.header-container.header-chrome { border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); }

.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: #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; }

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

.mw-echo-ui-notificationItemWidget, .mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group { border: 1px solid #8c7619 !important; background: #3c466d !important; }

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

.overlay-footer-container { border-top: 1px solid #8c7619 !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: #bbbbbb !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: #0f1011 url("https://static.wikia.nocookie.net/fireemblem_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(15, 16, 17, 0.8) !important; }

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

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

h1, h2, h3, h4, h5, h6 { background: transparent !important; font-family: 'Crimson Text', serif; font-variant: small-caps; color: #ffffff !important; }

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

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

div.toc-mobile, .client-js div.toc-mobile { border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); color: #ffffff; padding: 8px; margin-bottom: 5px; }

border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); 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: none; background: transparent; color: #ffffff; }

div.content table.wikitable th, div.content table.wikitable > * > tr > th, div.content table.wikitable > * > tr > th { border: 1px solid #8c7619; background: #3c466d; color: #ffffff; 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 #8c7619; background: rgba(60, 70, 109, 0.1); color: #ffffff !important; vertical-align: middle; padding: 4px 8px; }

div.view-border-box { border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); color: #ffffff; padding: 8px; margin-bottom: 5px; }

div.view-border-box.watch-this-article { border: none; background-color: rgba(60, 70, 109, 0.1); margin: 0; padding: 0; }

div.view-border-box.post-content { border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1) !important; color: #ffffff; color: #ffffff !important; margin: 0 30px 25px 30px; }

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

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

pre, .mw-code { border-radius: 3px; border: 1px dashed #333333; background: #afb1ae; 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:not([type="submit"]), select, textarea { font-family: 'Roboto', sans-serif; border-radius: 3px; border: none; background-color: #afb1ae; color: #000000; padding: 2px 2px; }

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

.mw-ui-button { border-radius: 3px; border: none; background: #8c7619; color: #000000; }

.mw-ui-button:hover { border: none; background: #f1e364; color: #000000; }

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

border-top: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); color: #ffffff; }
 * 1) mw-mf-page-center > footer {

.toast { border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d; background: #3c466d; color: #ffffff; }

.drawer { background: #3c466d; }

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

.editor-overlay .summary-request { color: #ffffff !important; }

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

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

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

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

border-left: 12px solid #8c7619; background: #3c466d; font-family: 'Roboto', sans-serif; }
 * 1) mw-mf-page-left {

background: #3c466d; }
 * 1) mw-mf-page-left ul {

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

border-top: 1px solid #8c7619; border-bottom: 1px solid #8c7619; background: #3c466d; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

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

border-top: 1px solid #8c7619; border-bottom: 1px solid #8c7619; border-left: 12px solid #ffffff; background: #4b5887; }
 * 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, div.view-border-box.post-content a, div.view-border-box.post-content a:link { color: #faec7f; }

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

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

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

a.stub { color: #fca87e; }

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

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

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

/****************** /* Image licenses * /******************/ .ambox { border-radius: 0 10px 10px 0; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d; background: #3c466d; 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-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); 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,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHAQMAAAD6aRWtAAAABlBMVEVvcnT67H+xqKZvAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhBBoEFSY5WbiJAAAAFElEQVQI12NwYEhgKGCoAOIEBgcAEjYCmWxNs0wAAAAASUVORK5CYII=") left center no-repeat; }

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

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

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

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

.fmpblock .heading.main { border-bottom: 1px solid #8c7619; color: #ffffff; font-family: 'Crimson Text', serif; text-transform: uppercase; font-size: 116%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fmpblock .heading { border-bottom: 1px solid #8c7619; color: #ffffff; font-family: 'Crimson Text', serif; font-variant: small-caps; 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 #3c466d; 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 #3c466d; 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-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); color: #ffffff; padding: 3px; width: 100%; box-sizing: border-box; }

.infoboxtable th { border-radius: 2px; border: 1px solid #8c7619; background: #3c466d; color: #ffffff; 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 { font-family: 'Crimson Text', serif; text-transform: uppercase; font-size: 110%; color: #ffffff; text-align: center; padding: 8px; }

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

/******************** /* Navbox templates * /********************/ table.navbox { border-radius: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); 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: #3c466d; color: #ffffff; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(60, 70, 109, 0.60); color: #ffffff; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(60, 70, 109, 0.40); color: #ffffff; }

/* Even row striping */ .navbox-even { background: rgba(60, 70, 109, 0.30); color: #ffffff; }

/* Odd row striping */ .navbox-odd { background: rgba(60, 70, 109, 0.20); } .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: 10px; border: 1px solid #8c7619; box-shadow: 0 0 5px #3c466d, 0 0 5px #3c466d inset; background: rgba(60, 70, 109, 0.1); 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: #bbbbbb; /* 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; }

/* Custom */

.games-grid { max-width: 1200px; margin: 0 auto; display: flex; flex-flow: row wrap; justify-content: center; }

.games-grid .game-tile { position: relative; width: 200px; margin: 5px; display: inline-block; overflow: hidden; }

.games-grid .game-tile .title { position: absolute; width: 100%; font-size: 22px; text-align: center; top: 50%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); pointer-events: none; color: white; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }

img.scalable { max-width: 100%; height:auto; } .globalNotice .globalNoticeDismiss { display: none; }