User:Антаркт/global.css

@import "/load.php?mode=articles&articles=u:dev:MediaWiki:Responsive_FandomDesktop.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:UCXSearchBar.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:RestoreOldMastheadDesign.css&only=styles"; /*** * @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.0 * @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 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-2); /* notification unread card background */ --fandom-notifications-footer-text-color: var(--fandom-text-color); /* notification card footer text */ }

/* Replace Fandom Heart with Gamepedia Book */ .is-gamepedia .global-navigation__logo svg.wds-icon { background: url("https://static.wikia.nocookie.net/central/images/0/0b/Gamepedia_book_light_transparent.svg") center / contain no-repeat !important; }

/* 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__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); }

/* Gamepedia Notifications Menu Logo */ .is-gamepedia .NotificationsZeroState-module_icon__an0Bf { background-color: var(--gamepedia-background) !important; color: 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); }

/* Footer Background */ .is-gamepedia .global-footer { background-color: var(--gamepedia-background); color: #FFF; }

/* Footer Logo Customisation */ .is-gamepedia .global-footer h2.global-footer__header a { position: relative; display: block; } .is-gamepedia .global-footer h2.global-footer__header svg { visibility: hidden; } .is-gamepedia .global-footer h2.global-footer__header > a[data-tracking-label="logo"] { background: url("https://static.wikia.nocookie.net/central/images/0/08/Gamepedia_logo_dark.svg"); background-size: 210px; background-repeat: no-repeat; }

/* Footer Links */ .is-gamepedia .global-footer__link, .is-gamepedia .global-footer__link:active, .is-gamepedia .global-footer__link:focus, .is-gamepedia .global-footer__link:visited { color: var(--gamepedia-accent); } .is-gamepedia .global-footer__link:hover { color: #FFF; }

/* Fandom Store App Logos */ .is-gamepedia .global-footer__section-ddb-stores .global-footer__icon, .is-gamepedia .global-footer__section-fandom-stores .global-footer__icon, .is-gamepedia .global-footer__section-fandom-stores::before { border-radius: 6px; } .is-gamepedia .global-footer__section-ddb-stores svg.global-footer__icon { height: 80px; width: 80px; } .is-gamepedia .global-footer__section-fandom-stores svg.global-footer__icon { display: none; } .is-gamepedia .global-footer__section-fandom-stores::before { content: ""; margin: 0 18px 0 0; background: url("https://static.wikia.nocookie.net/central/images/7/72/Curse_LLC_2016_App_Logo.png") no-repeat center; background-size: 80px; min-height: 80px; min-width: 80px; }

/* Social Icons Hover */ .is-gamepedia .global-footer__section-social-links .wds-icon:hover { color: var(--gamepedia-accent); }

/* Mobile Site Link */ .is-gamepedia .global-footer__bottom a, .is-gamepedia .global-footer__bottom a:visited { color: var(--gamepedia-accent); text-decoration: none; } .is-gamepedia .global-footer__bottom a:hover { color: #FFF; text-decoration: none; }

/* Footer Bottom */ .is-gamepedia .global-footer__bottom { background: var(--gamepedia-background-2); } /*** * @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.0 * @author			Aeywoo * @skin			FandomDesktop * @license		CC-BY-SA 3.0 * @installation	@import url("/load.php?mode=articles&articles=u:dev:MediaWiki:GamepediaNav2.css&only=styles"); ***/


 * root {

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

/* Gamepedia Global Navigation Styling */ .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-2); /* notification unread card background */ --fandom-notifications-footer-text-color: var(--fandom-text-color); /* notification card footer text */ }

/* Replace Fandom Heart with Gamepedia Book */ .global-navigation__logo svg.wds-icon { background: url("https://static.wikia.nocookie.net/central/images/0/0b/Gamepedia_book_light_transparent.svg") center / contain no-repeat !important; }

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

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

/* Search Modal Background */ .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 */ .SearchInput-module_input__1VKWi { color: #FFF !important; } .SearchInput-module_input__1VKWi::placeholder { color: var(--gamepedia-placeholder) !important; } /* Search Input Clear Button */ .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 */ .SearchInput-module_form__139GD { border-bottom: 2px solid var(--gamepedia-accent) !important; } /* Search Button */ .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 */ .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a { color: #FFF !important; } .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a:hover { color: var(--gamepedia-accent) !important; } /* See all results link */ .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a.SearchResults-module_seeAllResults__3cBcn { color: #FFF !important; font-weight: 700; } .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 */ .SearchResults-module_results__p4ucz.wds-list.wds-is-linked > li > a.SearchResults-module_isSelected__3WmRu, .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 */ .global-navigation__icon.has-background { background-color: var(--gamepedia-background-2); } /* Global Navigation Icon Colour */ .global-navigation__icon.has-background, .global-navigation__icon.has-background:active, .global-navigation__icon.has-background:focus, .global-navigation__icon.has-background:hover, .global-navigation__icon.has-background:visited { color: var(--fandom-text-color); }

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

/* Gamepedia Notifications Menu Logo */ .NotificationsZeroState-module_icon__an0Bf { background-color: var(--gamepedia-background) !important; color: var(--gamepedia-accent) !important; }

/* User Dropdown Menu */ .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 */ .global-navigation__signout-button { color: var(--fandom-text-color); } .global-navigation__signout-button:hover { background-color: rgba(var(--gamepedia-accent--rgb),.1); color: var(--gamepedia-accent); }

/* Footer Background */ .global-footer { background-color: var(--gamepedia-background); color: #FFF; }

/* Footer Logo Customisation */ .global-footer h2.global-footer__header a { position: relative; display: block; } .global-footer h2.global-footer__header svg { visibility: hidden; } .global-footer h2.global-footer__header > a[data-tracking-label="logo"] { background: url("https://static.wikia.nocookie.net/central/images/0/08/Gamepedia_logo_dark.svg"); background-size: 210px; background-repeat: no-repeat; }

/* Footer Links */ .global-footer__link, .global-footer__link:active, .global-footer__link:focus, .global-footer__link:visited { color: var(--gamepedia-accent); } .global-footer__link:hover { color: #FFF; }

/* Fandom Store App Logos */ .global-footer__section-ddb-stores .global-footer__icon, .global-footer__section-fandom-stores .global-footer__icon, .global-footer__section-fandom-stores::before { border-radius: 6px; } .global-footer__section-ddb-stores svg.global-footer__icon { height: 80px; width: 80px; } .global-footer__section-fandom-stores svg.global-footer__icon { display: none; } .global-footer__section-fandom-stores::before { content: ""; margin: 0 18px 0 0; background: url("https://static.wikia.nocookie.net/central/images/7/72/Curse_LLC_2016_App_Logo.png") no-repeat center; background-size: 80px; min-height: 80px; min-width: 80px; }

/* Social Icons Hover */ .global-footer__section-social-links .wds-icon:hover { color: var(--gamepedia-accent); }

/* Mobile Site Link */ .global-footer__bottom a, .global-footer__bottom a:visited { color: var(--gamepedia-accent); text-decoration: none; } .global-footer__bottom a:hover { color: #FFF; text-decoration: none; }

/* Footer Bottom */ .global-footer__bottom { background: var(--gamepedia-background-2); }