User:Mustafar29/global.css

@import "/load.php?mode=articles&articles=u:dev:MediaWiki:NoGlobalNav.css&only=styles"; .skin-theme-toggle { display: none }

/*** * @title			GamepediaNav * @description	GamepediaNav is a stylesheet that applies a Gamepedia style to the Global Navigation Bar and Global Navigation Footer * @docs			GamepediaNav * @version		v1.3 * @author			Aeywoo * @skin			FandomDesktop * @license		CC-BY-SA 3.0 * @installation	@import url("/load.php?mode=articles&articles=u:dev:MediaWiki:GamepediaNav.css&only=styles"); ***/


 * root {

--gamepedia-accent: #F58120; --gamepedia-accent--rgb: 245,129,32; --gamepedia-placeholder: #BED1CF; --gamepedia-background: #202020; --gamepedia-background-2: #404040; --gamepedia-background-3: #2C2C2C; }

/* Gamepedia Global Navigation Styling */ .is-gamepedia .global-navigation { --fandom-global-nav-link-color: var(--gamepedia-accent); /* top sidebar navigation */ --fandom-global-nav-icon-border-color: var(--gamepedia-accent); /* user icon */ --fandom-global-nav-bottom-icon-color: var(--gamepedia-accent); /* bell icon */ --fandom-global-nav-background-color: var(--gamepedia-background); /* sidebar */ --fandom-global-nav-counter-background-color: var(--gamepedia-accent); --fandom-dropdown-background-color: var(--gamepedia-background); --fandom-accent-color: var(--gamepedia-accent) !important; --fandom-link-color: var(--gamepedia-accent) !important; --fandom-text-color: #FFF !important; --fandom-text-color--rgb: 255, 255, 255 !important; --fandom-notifications-background-color: transparent !important; --fandom-notifications-read-card-background-color: var(--gamepedia-background); /* notification card background */ --fandom-notifications-unread-card-background-color: var(--gamepedia-background-3); /* notification unread card background */ --fandom-notifications-footer-text-color: var(--fandom-text-color); /* notification card footer text */ }

/* Replace Fandom Heart with Gamepedia Book */ body:is(.is-gamepedia):not(.hydra-revived-ready):not(.oasis-is-revived) .global-navigation__logo { background: url("https://static.wikia.nocookie.net/central/images/0/0b/Gamepedia_book_light_transparent.svg") center / contain no-repeat; } body:is(.is-gamepedia):not(.hydra-revived-ready):not(.oasis-is-revived) .global-navigation__logo svg.wds-icon { visibility: hidden; } /** Replaces the Fandom Logo with the White and Orange Gamepedia Logo when using HydraRevived **/ body:is(.is-gamepedia):is(.hydra-revived-ready):not(.oasis.is.revived) .global-navigation .global-navigation__logo::after { content: ""; position: absolute; top: 0; left: .75em; background: url("https://static.wikia.nocookie.net/central/images/7/74/Gamepedia_Text_Logo_White.svg"); background-size: contain; background-repeat: no-repeat; background-position: center center; background-origin: content-box; width: 96px; height: 100%; } /** Replaces the Fandom Logo with the White and Orange Gamepedia Logo when using OasisRevived **/ body:is(.is-gamepedia):is(.oasis-is-revived):not(.hydra-revived-ready) .global-navigation__logo::after { content: " "; width: 145px; height: 27px; background: url("https://static.wikia.nocookie.net/central/images/7/74/Gamepedia_Text_Logo_White.svg") center / contain no-repeat !important; display: block; }

/* Hiding Fandom Specific Stuff */ .is-gamepedia #wds-brand-fandom-logomark path, /* Hide Fandom heart */ .is-gamepedia .global-navigation__logo span { /* Removes the "Fandom" text */ display: none !important; }

/* Global Navigation Icons */ .is-gamepedia .global-navigation__icon:hover, .is-gamepedia .wds-dropdown:hover .global-navigation__icon, .is-gamepedia .global-navigation__link:hover .global-navigation__icon { background-color: var(--gamepedia-background-2) !important; border-color: var(--gamepedia-accent) !important; }

/* Search Modal Background */ .is-gamepedia .search-modal:before { background-color: rgba(32,32,32,.8) } .is-gamepedia .search-modal__content { background-color: var(--gamepedia-background); /* var(--fandom-dropdown-background-color); */ border: 2px solid var(--gamepedia-accent) !important;/* var(--fandom-border-color); */ } /* Search Field Text Colour */ .is-gamepedia .SearchInput-module_input__1VKWi { color: #FFF !important; } .is-gamepedia .SearchInput-module_input__1VKWi::placeholder { color: var(--gamepedia-placeholder) !important; } /* Search Input Clear Button */ .is-gamepedia .SearchInput-module_form__139GD .wds-button[type=button] { --wds-text-button-label-color: var(--gamepedia-accent) !important; --wds-text-button-label-color--hover: #FFF !important; } /* Search Input Border Bottom */ .is-gamepedia .SearchInput-module_form__139GD { border-bottom: 2px solid var(--gamepedia-accent) !important; } /* Search Button */ .is-gamepedia .SearchInput-module_form__139GD .wds-button { --wds-primary-button-background-color: var(--gamepedia-accent) !important; --wds-primary-button-background-color--hover: #FFF !important; --wds-primary-button-label-color: var(--gamepedia-background) !important; } /* Search Results & Search Results Exact Result */ .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a { color: #FFF !important; } .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a:hover { color: var(--gamepedia-accent) !important; } /* See all results link */ .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a.SearchResults-module_seeAllResults__3cBcn { color: #FFF !important; font-weight: 700; } .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a.SearchResults-module_seeAllResults__3cBcn:hover { color: var(--gamepedia-accent) !important; font-weight: 700; } /* Results Background Hover */ .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a.SearchResults-module_isSelected__3WmRu, .is-gamepedia .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a:hover { background-color: rgba(var(--gamepedia-accent--rgb),.1) !important; }

/* Global Navigation Icon Background */ .is-gamepedia .global-navigation__icon.has-background { background-color: var(--gamepedia-background-2); } /* Global Navigation Icon Colour */ .is-gamepedia .global-navigation__icon.has-background, .is-gamepedia .global-navigation__icon.has-background:active, .is-gamepedia .global-navigation__icon.has-background:focus, .is-gamepedia .global-navigation__icon.has-background:hover, .is-gamepedia .global-navigation__icon.has-background:visited { color: var(--fandom-text-color); }

/* Notifications Button */ .is-gamepedia .global-navigation__icon:active, .is-gamepedia .global-navigation__icon:focus, .is-gamepedia .global-navigation__link:active .global-navigation__icon, .is-gamepedia .global-navigation__link:focus .global-navigation__icon, .is-gamepedia .wds-dropdown.wds-is-active .global-navigation__icon { background-color: var(--gamepedia-background); border-color: var(--gamepedia-accent); }

/* Notification Menu Fixes */ /** Navigation Bar Notifications Amount Counter **/ .is-gamepedia .global-navigation .notifications__counter { background: var(--gamepedia-background) !important; border: 2px solid var(--gamepedia-background-2); color: #FFF; height: 22px; width: 22px; left: -3.5px; top: -2px; } /** Notification Menu Top Amount Counter **/ /*** Gamepedia Tab Counter ***/ .is-gamepedia .NotificationsContent-module_tabTotal__2Nd4c { background: var(--gamepedia-background) !important; border: 2px solid var(--gamepedia-background-2); height: 20px !important; width: 32px; color: #FFF !important; } /** Gamepedia Notifications Menu Logo **/ .is-gamepedia .NotificationsZeroState-module_icon__an0Bf { background-color: var(--gamepedia-background) !important; color: var(--gamepedia-accent) !important; } /** Mark all as read button **/ .is-gamepedia .NotificationsContent-module_markAllAsRead__k0RB8:hover { color: #FFF !important; } /** Notification Card Link Hover Colour **/ .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_message__3fmUe a:active, .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_message__3fmUe a:focus, .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_message__3fmUe a:hover, .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_title__B9vHb a:active, .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_title__B9vHb a:focus, .is-gamepedia .NotificationCard-module_body__2BOKk .NotificationCard-module_title__B9vHb a:hover { color: var(--gamepedia-placeholder) !important; } /** Notification Border Fixes **/ .is-gamepedia .NotificationCard-module_card__3kKIi, .is-gamepedia .NotificationsContent-module_contentHeader__3QfN2, .is-gamepedia .NotificationsContent-module_tabber__3gSyl .wds-tabs { border-bottom: 1px solid var(--gamepedia-accent) !important; } .is-gamepedia .NotificationsContent-module_specialPageLink__2kraG { border-top: 1px solid var(--gamepedia-accent) !important; }

/* User Dropdown Menu */ .is-gamepedia .global-navigation .wds-dropdown { --wds-dropdown-background-color: var(--gamepedia-background); --wds-dropdown-border-color: var(--gamepedia-accent); --wds-dropdown-text-color: var(--fandom-text-color); --wds-dropdown-linked-item-color: var(--gamepedia-accent); --wds-dropdown-linked-item-background-color: rgba(var(--gamepedia-accent--rgb),.1); }

/* User Dropdown Logout Hover */ .is-gamepedia .global-navigation__signout-button { color: var(--fandom-text-color); } .is-gamepedia .global-navigation__signout-button:hover { background-color: rgba(var(--gamepedia-accent--rgb),.1); color: var(--gamepedia-accent); }

.gp-wiki-badge { display: none }