MediaWiki:FandomMobile.css

/* Imports: ColorSchemes.css / Beli.css */ @import url('/load.php?articles=MediaWiki:ColorSchemes.css|MediaWiki:Beli.css&only=styles&mode=articles');

/* STATUS IN PORTRAIT GALLERIES */ .portrait-gallery .status-message:before { white-space: pre; content: "\a"; }

/* PORTRAIT GALLERIES:

6-wide: 714px 5-wide: 595px 4-wide: 476px 3-wide: 357px 2-wide: 238px

/* Sets minimum width of a portrait gallery, based on the number of columns. :has is used to determine if not all columns are being used - if that's the case, then restrict width more, to reduce padding around images. .portrait-gallery:has( td:nth-child(2)) { --portrait-gallery-width: 238px; --portrait-gallery-cell-width: 50%; }

.portrait-gallery:has( td:nth-child(3)) { --portrait-gallery-width: 357px; --portrait-gallery-cell-width: 33%; }

.portrait-gallery:has( td:nth-child(4)) { --portrait-gallery-width: 476px; --portrait-gallery-cell-width: 25%; }

.portrait-gallery:has( td:nth-child(5)) { --portrait-gallery-width: 595px; --portrait-gallery-cell-width: 20%; }

.portrait-gallery:has( td:nth-child(6)) { --portrait-gallery-width: 714px; --portrait-gallery-cell-width: 17%; }

.portrait-gallery { min-width: var(--portrait-gallery-width) !important; text-align: center; }

.portrait-gallery th > div > span { position: sticky; left: 10px; }

/* Identifies top header of a 4+ wide portrait gallery and adds horizontal scroll notice */ .portrait-gallery:has( td:nth-child(4)) tr:first-child th:first-child div > span:after {	white-space: pre; font-size: small; font-style: italic; text-align: left; font-weight: normal; content: "\aThis table requires horizontal scrolling!"; }

.portrait-gallery td { font-weight: bold; }

.portrait-gallery td:has(> .Gallery-pic) { height: 91px; width: var(--portrait-gallery-cell-width); padding: 0; }

.portrait-gallery img { width: 119px; height: 119px; }

.portrait-gallery figure { margin: 0; }

.vde { display: none; }

/* Force Context Links (like, , etc) to be italic */ .context-link { font-style: italic !important; }

/******************* * Navboxes *******************/ .navibox { width: 100%; background-color: transparent; border-collapse: collapse; border-style: hidden; }

.navibox table { border-spacing: 0; border-collapse: collapse; border-style: hidden; }

.navibox td { padding: 1% !important; }

.navibox tr, .navibox th a { background-color: white; color: black; }

.navibox .navibox-vde { display: none; }

/* hlist */ .hlist ul { margin: 0; list-style: none; }

.hlist li, .hlist ul ul { display: inline; }

.hlist ul ul:before { content: "(" }

.hlist ul ul:after { content: ")" }

.hlist li:after { content: " • "; }

.hlist ul ul li:after { content: " •" }

.hlist li:last-child:after, .hlist ul ul li:last-child:after { content: none; }

/* Forces color scheme */ .cs,				/* legacy */ .ColorScheme { background-color: var(--colorscheme-bg) !important; color: var(--colorscheme-txt) !important; } /* Applies the color scheme to links */ .cs a,				/* legacy */ .ColorScheme a { color: inherit !important; background: inherit !important; }

/* Manual override of default FandomMobile CSS */ .skin-fandommobile:not(.fandommobile-fandom-theme) .article-table-wrapper table th { background-color: inherit; }