MediaWiki:FandomMobile.css

/**************************** /* 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%; }

/****************** /* 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.ghost { color: #9d9d9d; /* For any text that appear fainter for some reason */ }

.mark { color: #ce7a32; }

.mobileleft { text-align: left; }

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

.nomobile { display: none; }