User:Roberad/global.css

.mw-redirect { font-style: italic; } .category-gallery, .wds-banner-notification, .WikiaPage .page-header .wds-button.wds-is-secondary, .license-description, .WikiaFooter, .WikiaTopAds, .home-top-right-ads, .wds-global-footer-wikia-org, .wds-global-footer { display: none } .TemplateClassificationEditModal { width: 1100px; } .template-classification-edit-form-label div p { margin-bottom: 10px; } .template-classification-edit-modal .tc-instructions { margin-bottom: 20px; }
 * 1) WikiaAdInContentPlaceHolder.rail-sticky-module,
 * 1) watch-show-rail-module,

.oo-ui-dialog-content { color: var(--theme-page-text-color); }

/* ################# */ /* ### Infoboxes ### */ /* ################# */ .portable-infobox { background: var(--content-color); border: 1px solid var(--theme-border-color); overflow: hidden; } .portable-infobox .pi-border-color { border: none; border-collapse: collapse; padding: 0; } .portable-infobox .pi-title { background: var(--theme-color); color: var(--theme-text-color); font-size: 14px; font-weight: 500; padding: 5px; } .portable-infobox .pi-caption { font-size: 12px; line-height: 18px; padding: 3px; text-align: center; } .portable-infobox .pi-header { background-color: var(--theme-color); color: var(--theme-text-color); font-size: 12px; font-weight: 500; padding: 5px; text-align: center; } .portable-infobox .pi-navigation { background-color: var(--theme-color); border-top: 1px solid var(--theme-border-color); font-size: 12px; font-weight: normal; padding: 5px; text-align: center; } .portable-infobox .pi-data-label { background-color: var(--secondary-color); border-right: 1px solid var(--theme-border-color); border-top: 1px solid var(--theme-border-color); font-size: 12px; font-weight: 500; padding: 3px 5px; } .portable-infobox.pi-layout-stacked .pi-data-label { border-right: none; } .portable-infobox .pi-data-value { background-color: var(--content-color); border-top: 1px solid var(--theme-border-color); font-size: 12px; padding: 3px 5px; } /* Horizontal groups */ .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:first-child { border-right: none; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { border-left: 1px solid var(--theme-border-color); border-right: none; } /* Smart rows */ .pi-smart-group .pi-smart-data-value:not(:first-child) { border-left-color: var(--theme-border-color); } /* Image tabbers and panels */ .portable-infobox .pi-panel { border-top: 1px solid var(--theme-border-color); } .portable-infobox .wds-tabs__tab-label { font-size: 12px; height: 25px; letter-spacing: 0; text-transform: none; } .portable-infobox .pi-collapse .pi-header:first-child::after { border-color: var(--theme-text-color); }

/* Section edit links */ .page-content h2 { font-size: 21px; font-weight: normal; line-height: 1; padding: 6px 0; } .page-content h3 { margin: 12px 0; } .mw-editsection .wds-icon { display: none } .mw-editsection .mw-editsection-bracket { display: none }

/* Image thumbnails */ .thumb.tleft, .thumb.tright { margin-top: 10px; } .thumb img { border-radius: 3px; } .page-content .mw-parser-output .thumbcaption { color: var(--theme-page-text-color--hover); }

/* Gallery captions */ ul.mw-gallery-traditional li.gallerybox div.gallerytext { color: var(--theme-page-text-color--hover); padding: 5px; text-align: center; }

/* * NoGlobalNav * * @description Removes the FandomDesktop global navigation and moves user and notification dropdowns to top right * @author Joritochip * * Make sure you also import the JS at MediaWiki:NoGlobalNav.js */ .global-navigation .notifications .wds-dropdown__content { left: inherit !important; right: 0; } .user-navigation-moved { display: flex; margin-left: 10px; flex-direction: row; } .user-navigation-moved .wds-dropdown__toggle { width: 30px; height: 30px; } .user-navigation-moved .wds-dropdown { margin-left: 0; } .user-navigation-moved .moved-notifications { line-height: 1; } .user-navigation-moved .global-navigation__icon { width: 30px; height: 30px } .user-navigation-moved .moved-notifications__counter { align-items: center; background: #fff; border-radius: 50%; color: #5f7a7b; display: flex; font-size: 10px; font-weight: 500; height: 18px; justify-content: center; left: 0; line-height: 1; position: absolute; top: 0; width: 18px; } .user-navigation-moved .moved-notifications__counter:empty { display: none; } .wiki-tools.wds-button-group > .wds-dropdown .wds-button { border-right: 1px solid; } .global-navigation { position: absolute; left: -66px; box-shadow: none; } .main-container { width: 100%; margin-left: 0; } .fandom-sticky-header { left: 0; } .global-navigation .notifications .wds-dropdown__content { border-radius: 3px 3px 0 0; } .fandom-sticky-header:not(.is-visible) + .global-navigation .notifications .wds-dropdown__content { top: calc(clamp(70px, var(--theme-icon-height, 0px), 100px) - 5px); right: calc((100% - 1236px)/2); } .is-content-expanded .fandom-sticky-header:not(.is-visible) + .global-navigation .notifications .wds-dropdown__content { right: 2.5%; } @media only screen and (min-width: 1280px) and (max-width: 1454px) { body:not(.is-content-expanded) .fandom-sticky-header:not(.is-visible) + .global-navigation .notifications .wds-dropdown__content { right: 7.5%; } } @media only screen and (max-width: 1279px) { .fandom-sticky-header:not(.is-visible) + .global-navigation .notifications .wds-dropdown__content { right: 2.5%; }   .user-navigation-moved__has-header-image .fandom-sticky-header:not(.is-visible) + .global-navigation .notifications .wds-dropdown__content { top: calc(min(80px, var(--theme-icon-height, 0px)) + 35px); } } .global-navigation .notifications .wds-dropdown:before, .global-navigation .notifications .wds-dropdown:after { display: none; } /* Hacky method to flip the dropdown items in the user dropdowns TODO: Find a better way to do this */ .user-navigation-moved > .wds-dropdown .wds-list { transform: scaleY(-1); } .user-navigation-moved > .wds-dropdown .wds-list li { transform: scaleY(-1); }

/* Make search background fadeout cover area where global nav used to be */ .search-modal, .search-modal:before { left: 0; }

/* Change notification icon color */ .global-navigation__icon, .global-navigation__icon:active, .global-navigation__icon:focus, .global-navigation__icon:hover, .global-navigation__icon:visited { color: #FFF; }

.global-navigation__icon { border: 2px solid #FFF; }