MediaWiki:StickyLocalNav.css

/* Конфигурация */
 * root {

--globalnav-height: 55px; --localnav-height: 35px; --localnav-width: 100%; --localnav-sep-height: 18px; --localnav-sep-width: 1px; }

/* Начало */ .wds-community-header { position: sticky; top: var(--globalnav-height); z-index: 9999; height: var(--localnav-height); width: var(--localnav-width); display: flex; background-image: none !important; font-family: Rubik, "Helvetica Neue" ,Helvetica, Arial, sans-serif; }

.wds-community-header::before, .wds-community-header__wordmark, .wds-community-header__counter, .wds-community-header__wiki-buttons .wds-button > span { display: none; }

.wds-community-header__top-container { height: 100%; }

.wds-community-header__sitename { margin: 0; }

.wds-community-header__sitename a { align-items: center; display: flex; padding: 0 11px; font-size: 12px; text-transform: uppercase; line-height: 14px; }

.wds-community-header__local-navigation { height: 100%; padding-left: 0; }

.wds-community-header__local-navigation .wds-tabs__tab, .wds-community-header__local-navigation .wds-dropdown, .wds-community-header__local-navigation .wds-tabs__tab-label { height: 100%; }

.wds-community-header__local-navigation .wds-tabs__tab-label:last-child { margin: 0; }

.wds-community-header__local-navigation .wds-tabs__tab-label:last-child a { padding: 0 11px; }

.wds-community-header__wiki-buttons { position: absolute; right: 0; top: auto; bottom: auto; height: 100%; margin: 0; }

.wds-community-header__wiki-buttons .wds-button { border: 0 !important; background: none !important; border-radius: 0 !important; padding-left: 12px; padding-right: 0; }

.wds-community-header__wiki-buttons .wds-button:first-of-type > svg { margin-right: 0 !important; }

.wds-community-header__wiki-buttons > .wds-dropdown { display: flex; }

.wds-community-header__wiki-buttons > .wds-dropdown > .wds-button { padding-left: 6px; padding-right: 6px; }

.wds-community-header__wiki-buttons > .wds-button::after { height: var(--localnav-sep-height); width: var(--localnav-sep-width); display: block; margin-left: 11px; background: currentColor; border-radius: 64px; content: ""; }

/* Фиксы */ /* популярные страницы */ top: calc( var(--globalnav-height) + var(--localnav-height) + 10px ); }
 * 1) WikiaAdInContentPlaceHolder.rail-sticky-module {

/* уведломления */ .WikiaTopAds { display: none; }

.banner-notifications-placeholder { z-index: 9999; }

.wds-banner-notification__container { position: fixed; top: calc( var(--globalnav-height) + var(--localnav-height) ) !important; left: 50%; margin-left: -515px; }

@media only screen and (max-width: 1083px) { .wds-banner-notification__container { margin-left: -364px } }

@media only screen and (min-width: 1024px) and (max-width:1083px) { .wds-banner-notification__container { margin-left: -482px } }

@media only screen and (min-width: 1084px) and (max-width:1595px) { .wds-banner-notification__container { margin-left: -512px } }

@media only screen and (min-width: 1596px) { .wds-banner-notification__container { margin-left: -599px } }