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: 20px; border: 2px solid #c1b695; border-bottom: 6px solid #c1b695; background: transparent; color: #565656; 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,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHAQMAAAD6aRWtAAAABlBMVEVya3XyfwxG341bAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfhCwENABYirBLxAAAAFElEQVQI12NwYEhgKGCoAOIEBgcAEjYCmWxNs0wAAAAASUVORK5CYII=") left center no-repeat; }

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

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

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

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

.fmpblock .heading.main { font-family: 'Open Sans', sans-serif; color: #10997f; font-size: 116%; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fmpblock .heading { font-family: 'Open Sans', sans-serif; color: #10997f; 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-radius: 20px; border: 2px solid #c1b695; border-bottom: 6px solid #c1b695; background: transparent; color: #565656; 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: #565656; 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; }

.skin-minerva #fmptwitter.expanded { display: flex; flex-flow: column nowrap; }

.skin-minerva #fmptwitter.expanded .body, .skin-minerva #fmptwitter.expanded .body .twitter-timeline-wrapper { display: flex; flex-flow: column nowrap; flex: 0 0 410px; }

.skin-minerva #fmptwitter.expanded .body .twitter-timeline-wrapper iframe { width: auto !important; height: auto !important; flex: 0 0 400px; }

.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 * /******************/ .nomobile { display: none; }