User:Graylies/global.css

@import url("https://dev.fandom.com/load.php?mode=articles&articles=MediaWiki:BalancedScrollbarV2.css|MediaWiki:BalancedSlider.css|MediaWiki:BalancedSearch.css|MediaWiki:BalancedCategories.css|MediaWiki:BringExternalLinkIconsBack.css|MediaWiki:BalancedPageBottom.css|MediaWiki:ThemedFandomBranding.css|MediaWiki:ThemedSearch.css|MediaWiki:EmeraldGlobalNav.css|MediaWiki:BlurGlobalNav.css|MediaWiki:ExpandingInfoboxes.css&only=styles"); /* Interactives maps */ .interactive-maps-container { background: var(--theme-page-background-color--secondary); border: none; clear: both; } .Map-module_interactiveMap__135mg { background-color: var(--theme-page-background-color--secondary) !important; } a.all-maps__map-link { background: var(--theme-page-background-color--secondary); border-radius: 3px; } h2.all-maps__map-title.all-maps__map-title--clamped { text-align: center; } p.all-maps__map-last-edited { text-align: center; padding-bottom: 5px; } .all-maps__map-image-wrapper { border: none; border-radius: 3px 3px 0 0; }

/***** SPACE *****/ .page-content p+p { margin-top: 0.9em; } .page-content p, .page-content section { margin: 0 0 0.9em; } /* Compact and modern headers */ .page-content h2:not(.pi-item) { margin: .5em 0 .2em; font-size: 20px; line-height: 1; padding: 0; padding-bottom: 3px; border-bottom: none; } .page-content h2:not(.pi-item) span.mw-headline, .page-content h3:not(.pi-item) span.mw-headline { background: linear-gradient(to top, rgba(var(--theme-link-color--rgb), 0.1) 54%, transparent 54%, transparent 100%); } .page-content h2:not(.pi-item) span.mw-headline { font-weight: 700; } .page-content h3:not(.pi-data-label) { margin: .5em 0 .2em; } /* Compact page */ .page__main { padding: 15px 15px 15px 30px !important; } .mainpage .page__main { padding-right: 30px !important; } /* Compact header */ .page-header { line-height: normal !important; margin: 0 0 10px !important; } .page-header__title { font-size: 2em !important; font-weight: normal !important; } .page-header__actions { padding-top: 0 !important; } /* Compact TOC*/ .mw-parser-output .toc { margin: 1em 0 !important; } /* Compact local navigation */ .fandom-community-header__local-navigation .wds-dropdown__content, .fandom-community-header__local-navigation .wds-dropdown-level-nested__content { max-width: 250px !important; } .fandom-community-header__local-navigation .wds-dropdown__content li, .fandom-community-header__local-navigation .wds-dropdown-level-nested__content li { padding: 0 9px !important; }

/***** STYLE IMPROVEMENTS *****/ .mw-parser-output a, .right-rail-wrapper a { font-weight: 500; } .toc a { font-weight: inherit !important; } .toc h2 { margin: 0 !important; font-size: inherit !important; } /* Wikiname style */ .fandom-community-header__community-name { font-size: 28px; font-weight: 600; } /* WDS-tabs 2020 style */ .activity-tabs .wds-tabs__tab, .activity-tabs .wds-tabs__tab a { text-transform: uppercase !important; font-weight: bold !important; font-size: 12px !important; } .with-bottom-border { border-bottom: none !important; }

/***** FIXES *****/ /* Illogical icons fix */ .wds-dropdown__content li a[data-tracking="explore-main-page"] svg, .wds-dropdown__content li a[data-tracking="explore-discuss"] svg { display: none; } /* Dark theme Feed header font color fix */ h1.mcf-header { color: var(--theme-page-text-color) !important; } /* Files fix */ .fullImageLink img { max-width: 100% !important; height: auto; } /* Link fixes */ a { text-decoration: none !important; } .external:after { display: none !important; } a[classname="new"] { color: Red; } a[classname="new"]:hover { color: DarkRed; } /* Editor fixes */ .ve-init-mw-desktopArticleTarget-originalContent:not(:empty) { height: calc(100vh - 207px) !important; padding: 0; }

/* Wrong logo place fix */ .fandom-community-header:not(.has-no-logo) .fandom-community-header__image { grid-row: 1 / 3 !important; } .fandom-community-header:not(.has-no-logo) .fandom-community-header__local-navigation { grid-column: 2 !important; } .fandom-community-header:not(.has-no-logo) .fandom-community-header__image img { max-height: 100px; max-width: 250px; } .resizable-container { margin-bottom: 0; } .wds-banner-notification .wds-icon-tiny { padding: 14px; } .wds-banner-notification .wds-banner-notification__close { padding: 0; } .page-content p+ol, .page-content p+ul, .page-content section+ol, .page-content section+ul { margin-top: -.5em !important; }

/* Old Infobox FD */ .pi-header, .pi-header a { text-align: center !important; } /* WDS-tabs 2020 style */ .portable-infobox .wds-tabs__tab-label { text-transform: uppercase !important; font-weight: bold !important; font-size: 12px !important; }

.portable-infobox .wds-tabs__tab:first-child { margin-left: auto; }

.portable-infobox .wds-tabs__tab:last-child { margin-right: auto; }

/* 2010 SE to VE switch infobox fix */ .ve-active aside h2 { background: var(--theme-accent-color); color: var(--theme-accent-label-color); margin: 0; padding: 9px; font-size: 14px; justify-content: center; } .ve-active aside h3 { width: 90px; padding-left: 9px; } .ve-active aside .pi-data { display: flex; } .ve-active aside h3, .ve-active aside .pi-font { font-size: 12px; } .ve-active aside .pi-horizontal-group { width: 100%; } .ve-active aside .pi-horizontal-group td { text-align: center; } .pi-europa.portable-infobox .pi-image-thumbnail { width: 100%; height: auto; } .pi-europa.portable-infobox .pi-section-navigation li { margin: 1px 0; max-width:50%; }