User:Graylies/global.css

@import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:EmeraldGlobalNav.css|u:dev:MediaWiki:BalancedComments.css|u:dev:MediaWiki:BalancedCategories.css|u:dev:MediaWiki:BalancedRC.css|u:dev:MediaWiki:UCPEditorMinimal.css"); /***** 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 */ .skin-fandomdesktop .page-header { line-height: normal; margin: 0 0 10px; } .skin-fandomdesktop .page-header__title { font-size: 2em; font-weight: normal; } .skin-fandomdesktop .page-header__actions { padding-top: 0; } /* 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; } /* Interwiki style */ .skin-fandomdesktop .page-header__languages .wds-dropdown__toggle, .skin-fandomdesktop .page-header__variants .wds-dropdown__toggle { transition-duration: .3s; color: var(--theme-link-color); text-transform: uppercase; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .15px; line-height: 16px; } .skin-fandomdesktop .page-header__languages svg, .skin-fandomdesktop .page-header__variants svg { display: 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; } /* 125% Compatibility */ @media only screen and (max-height: 650px) { #t-print, #t-permalink { display: none; }   .rail-module { margin-top: 15px; padding-bottom: 15px; }	.global-navigation__link-icon { height: 36px; width: 36px; }	.global-navigation__link-icon svg { height: 18px; min-width: 18px; width: 18px; }	.AdminDashboard { flex-direction: row !important; }	.admin-dashboard-content { margin-right: 15px !important; } } /* 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; } /* Скроллбар */
 * -webkit-scrollbar {

width: 10px; }
 * -webkit-scrollbar-track {

background: var(--theme-page-background-color--secondary); }
 * -webkit-scrollbar-thumb {

background: var(--theme-accent-color); }
 * -webkit-scrollbar-thumb:hover {

background: var(--theme-accent-color); }

/* Firefox */
 * root {

scrollbar-color: var(--theme-accent-color) var(--theme-page-background-color--secondary); scrollbar-width: thin; }