MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* 10% background transparency */ .theme-fandomdesktop-light .page__main { background-color: rgba(var(--theme-page-background-color--rgb), 0.93); } .theme-fandomdesktop-dark .page__main { background-color: rgba(var(--theme-page-background-color--rgb), 0.9); } /* Font */ @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap'); .page-header__title, .pi-title, .pi-header { font-family: Libre Baskerville, sans-serif; font-size: 240%; } /* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid rgba(246, 189, 104, 1); border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid rgba(246, 189, 104, 1); margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid rgba(246, 189, 104, 1); border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }

/* Front page structure */ .fpbox { margin: 5px; padding: 5px; overflow: auto; width: calc(100% - 2px); }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links styles */ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-inner { display: table-row; }

.fplink-outer { padding: 5px; flex-basis: calc(25% - 10px); width: calc(25% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink img { max-width: 150px; width: 100%; height: auto; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }

/* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; }

.fp-container .columns .rightcol { float: right; width: 50%; } }

.fp-section { display: flex; flex-wrap: wrap; }

/* this CSS governs the responsive 2 column main page layout */ display: grid; grid-template-areas: "a" "b" "c"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-2column.fp-container { grid-template-areas: "a b" "c c"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-2column.fp-container { grid-template-areas: "a b" "c b"; grid-template-columns: auto 520px; } }
 * 1) fp-2column.fp-container {

grid-area: a; }
 * 1) fp-top {

grid-area: b; }
 * 1) fp-flex {

grid-area: c; }
 * 1) fp-bottom {

/* end responsive 2 column main page layout */

/* ******************** */ /* End main page layout */ /* ******************** */

/* styles for mode="packed-hover" class="fullcaption" gallery */ ul.mw-gallery-packed-hover.fullcaption li.gallerybox div.thumb, ul.mw-gallery-packed-hover.fullcaption li.gallerybox>div, ul.mw-gallery-packed-overlay.fullcaption li.gallerybox div.thumb, ul.mw-gallery-packed-overlay.fullcaption li.gallerybox>div{ width: 100%!important; height: 100%; margin: 0; } ul.mw-gallery-packed-hover.fullcaption li.gallerybox{ margin:0; } ul.mw-gallery-packed-hover.fullcaption li.gallerybox div.gallerytextwrapper{ max-height: 0; width: 100%!important; overflow:hidden; } ul.mw-gallery-packed-hover.fullcaption li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay.fullcaption li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover.fullcaption li.gallerybox.mw-gallery-focused div.gallerytextwrapper { box-sizing: border-box; height:100%; max-height: 100%; margin:0; } ul.mw-gallery-packed-hover.fullcaption li.gallerybox div.gallerytextwrapper:hover, ul.mw-gallery-packed-overlay.fullcaption li.gallerybox div.gallerytextwrapper:hover, ul.mw-gallery-packed-hover.fullcaption li.gallerybox.mw-gallery-focused div.gallerytextwrapper:hover { overflow: auto; max-height:100%; } /* This is supposed to enable you to hide content from Desktop-view. */
 * 1) mf-banner { display: none; }

.nodesktop { display: none; } /* Allow limiting of which header levels are shown in a TOC; , for instance, will limit to  showing ==headings== and ===headings=== but no further. */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

.sbtable { display:inline-block; text-align: center; white-space:nowrap; border: 2px solid black; }

.sbtable2 { display:inline-block; white-space:nowrap; }

.mw-collapsible { margin-left: 5px; }

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border-top: 1px solid #27363d; background: linear-gradient(rgba(65, 91, 96, 0.5), rgba(65, 91, 96, 0.1)); border-radius: 2px; }

.fpbox { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(246, 189, 104, 1); border-radius: 2px; }

.fplink { background: linear-gradient(-35deg,rgba(246,233,215,0.30),rgba(246,189,104,0.6),rgba(246,189,104,0.7)); border: 1px solid rgba(246,189,104,1); border-radius: 2px; }

/*.fplink:not(.fplink-plain) { background: rgba(0,0,0,0.3); border: 1px solid #505050; }*/

.fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 1px dotted #505050; }

/* To make images responsive */ .responsive img { max-width:100%; height:auto; }

/* Remove TOC Numbering */ .noautonum .tocnumber { display: none; }