User:JustLeafy/global.css

/* General */ body { /* it looks like that this font is to be used in UCX */ font-family: Rubik; } /* Partial removal of Global Navigation */ .wds-global-navigation__search-toggle-text, .wds-global-navigation__logo-image, .wds-global-navigation__start-a-wiki, .wds-dropdown.wds-global-navigation__user-menu.wds-has-shadow.wds-global-navigation__user-logged-in svg.wds-icon.wds-icon-tiny.wds-dropdown__toggle-chevron, .wds-dropdown.wds-global-navigation__link-group.wds-has-dark-shadow svg.wds-icon.wds-icon-tiny.wds-dropdown__toggle-chevron, .wds-global-navigation__notifications-dropdown.wds-dropdown.wds-has-dark-shadow svg.wds-icon.wds-icon-tiny.wds-dropdown__toggle-chevron, .wds-dropdown .wds-is-active:not(.wds-no-chevron)::after, .wds-dropdown .wds-is-active:not(.wds-no-chevron)::before, .wds-dropdown:not(.wds-is-touch-device):not(.wds-is-not-hoverable):hover:not(.wds-no-chevron)::after, .wds-dropdown:not(.wds-is-touch-device):not(.wds-is-not-hoverable):hover:not(.wds-no-chevron)::before { /* removed triangles and chevrones */ display: none; } /* Global Navigation UCX */ .wds-global-navigation-wrapper { /* made it non-static and removed without empty top */ position: relative; margin-top: -55px; } .wds-global-navigation { /* removing without display none */ visibility: hidden; } .wds-global-navigation__link[data-tracking-label='link.games'] { /* made Games fixed, moved and hid it */ font-size: 12px; left: -36px; top: 100px; visibility: hidden; position: absolute; } .mainpage .wds-global-navigation__link[data-tracking-label='link.games'] { /* mainpage bug */ top: 155px; } .wds-global-navigation__link[data-tracking-label='link.games']:after { /* showed Games and edited text */ visibility: visible; position: absolute; content: "Games"; } .wds-global-navigation__link[data-tracking-label='link.movies'] { /* made Movies fixed, moved and hid it */ font-size: 12px; left: -38px; top: 200px; visibility: hidden; position: absolute; } .mainpage .wds-global-navigation__link[data-tracking-label='link.movies'] { /* mainpage bug */ top: 255px; } .wds-global-navigation__link[data-tracking-label='link.movies']:after { /* showed Movies and edited text */ visibility: visible; position: absolute; content: "Movies"; } .wds-global-navigation__link[data-tracking-label='link.tv'] { /* made TV fixed, moved and hid it */ font-size: 12px; left: -24px; top: 300px; visibility: hidden; position: absolute; } .mainpage .wds-global-navigation__link[data-tracking-label='link.tv'] { /* mainpage bug */ top: 355px; } .wds-global-navigation__link[data-tracking-label='link.tv']:after { /* showed TV and edited text */ visibility: visible; position: absolute; content: "TV"; } .wds-dropdown.wds-global-navigation__link-group.wds-has-dark-shadow { /* made Explore fixed and moved it */ font-size: 12px; left: -33px; top: 400px; visibility: visible; position: absolute; } .mainpage .wds-dropdown.wds-global-navigation__link-group.wds-has-dark-shadow { /* mainpage bug */ top: 455px; } .wds-dropdown.wds-global-navigation__link-group.wds-has-dark-shadow .wds-dropdown__content { /* moved Explore dropdown */ margin-top: -52px; margin-left: 126px; border-radius: 0; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .wds-dropdown.wds-global-navigation__user-menu.wds-has-shadow.wds-global-navigation__user-logged-in { /* made User fixed and moved it */ position: absolute; left: 0px; top: 500px; visibility: visible; } .mainpage .wds-dropdown.wds-global-navigation__user-menu.wds-has-shadow.wds-global-navigation__user-logged-in { /* mainpage bug */ top: 555px; } .wds-dropdown.wds-global-navigation__user-menu.wds-has-shadow.wds-global-navigation__user-logged-in .wds-dropdown__content { /* moved User dropdown */ margin-top: -195px; margin-left: 110px; border-radius: 0; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .wds-global-navigation__notifications-dropdown.wds-dropdown.wds-has-dark-shadow { /* made Notifs fixed and moved it */ visibility: visible; position: absolute; left: -7px; } .mainpage .wds-global-navigation__notifications-dropdown.wds-dropdown.wds-has-dark-shadow { /* mainpage bug */ top: 55px; } .wds-global-navigation__notifications-dropdown.wds-dropdown.wds-has-dark-shadow .wds-dropdown__content { /* moved Notifs dropdown */ left: 38px; position: absolute; top: 0px; border-radius: 0; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } /* Page UCX */ .mainpage .WikiaSiteWrapper { margin-top: 0px !important; } .WikiaSiteWrapper { /* made it dynamic and added gradient, border is instead of UCX global nav */ border: none; border-left: 55px solid #002a32; background: linear-gradient(to bottom, transparent 0px, rgba(var(--theme-header-background-color--rgb), 1.0) 150px); width: 100%; height: 100%; } .WikiaPage { /* made it less wide */ margin-left: 55px; margin-right: 110px; } .wds-global-footer { /* fixed bug with footer */ margin-top: 0; } .WikiaPageContentWrapper { /* removed border from the page */ border: none; } .page-header__page-subtitle { /* removed subtitle to make MW pages compatible with new button style */ display: none; } /* Local Navigation UCX */ .wds-community-header__wiki-buttons { /* moved nav buttons to right */ margin: 20px 0 auto 15px; } .wds-community-header { /* removed local nav image if it had been installed */ background-image: none !important; padding-top: 20px; } .wds-community-header, .wds-community-header::before, .wds-community-header .wds-is-secondary { /* transparent local nav to see the gradient */ background: transparent; } /* Toolbar UCX */ .WikiaBarWrapper, .toolbar, .wikia-bar, .tools { width: auto !important; right: 10px !important; border-radius: 20px; bottom: 10px; } body.wikia-bar-visible { padding-bottom: 0; } .wikia-bar-visible .ve-ui-summaryPanel { bottom: 0px; } /* Page Header UCX */ .page-header__title { /* page name is smaller and less wide, to be compatible with new button style */ font-weight: normal; font-size: 180%; margin-bottom: 4px; } .page-header__separator { /* i didn't see it in the official UCX screen */ display: none; } /* Contribution Buttons UCX */ display: none; } .page-header__contribution .wds-button { /* UCX button style */ background: transparent; border: none; color: inherit; padding-left: 1px; padding-right: 1px; } .page-header__contribution-buttons { /* it looks like that buttons are to be fixed in their 2016's place */ margin-right: 320px; } .mainpage .page-header__contribution-buttons, .ns-8 .page-header__contribution-buttons { /* mainpage and MW have no rail */ margin-right: 0; } .page-header__languages { /* it looks like that interwiki are to be fixed in their 2016's place */ margin-right: 323px; } .mainpage .page-header__languages { /* mainpage and MW have no rail */ margin-right: 3px; } .page-header__languages { /* UCX interwiki style */ font-weight: bold; font-size: 12px; text-transform: uppercase; } .page-header__languages .wds-dropdown__content { /* fix for UCX interwiki style */ text-transform: none; } .page-header__languages .wds-dropdown__toggle-chevron { /* UCX interwiki style */ transform: scale(1.0); } .WikiaRail { /* we removed buttons, we moved rail to their place */ margin-top: -45px; } .ns-500 .WikiaRail, .ns--1 .WikiaRail, .ns-1200 .WikiaRail { /* if there were no buttons */ margin-top: 0; } /* Edit Style UCX */ .mw-editsection { font-size: 0; float: right; } /* Table of contents UCX */ .toc { border-radius: 5px; width: 30%; } .toc li { padding: 5px !important; } .toc li:hover { background-color: rgba(var(--theme-article-text-color--rgb), .08); border-radius: 5px; transition: 0.25s; } .toctogglespan { float: right; } /* Panels fix UCX */ .oo-ui-toolbar-bar, .banner-notifications-placeholder, .wds-banner-notification__container { /* moved to top different panels, that had been pinned to old global navigation */ top: 0 !important; } /* Links fix UCX */ .new:hover { /* fixed new UCP bug */ color: DarkRed; } /* Design fix UCX */ .wikia-photogallery-add, .external:after { /* removed some ugly and unneeded things */ display: none !important; } a { /* removed some ugly and unneeded things x2 */ text-decoration: none !important; } /* Font Rubik fix UCX */ .WikiaArticle h3, .WikiaArticle h4, .WikiaArticle h5, .WikiaArticle h6 { /* fixes bold headers, appeared in march 2021 after UCP update */ font-weight: normal; } .pi-europa .h3 { /* fix for fix of bold headers: infoboxes should have bold headers */ font-weight: bold; }
 * 1) article-comments-button,
 * 2) ShareEntryPoint { /* i didn't see it in the official UCX screen */