MediaWiki:GlobalNavigationIcons.css

/* * @name: GlobalNavigationIcons.css * @description: Adds icons to the user dropdown in the global navigation, supports ContribsLink, QuickCreateUserPage, QuickCreateMessageWallGreeting and BlackGlobalNavigation * *Original Script at https://americhino.wikia.com/wiki/MediaWiki:GlobalNavigationIconsDark.css * @author: User:Americhino * * @import "/load.php?mode=articles&articles=u:dev:MediaWiki:FandomIcons.css&only=styles"; .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a:before, .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li .wds-global-navigation__dropdown-link.wds-sign-out button:before { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'FANDOM-Icons' !important; speak: none; font-size: 13px; vertical-align:middle; margin-right:3px; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 0; /* Enable Ligatures ================ */ letter-spacing: 0; -webkit-font-feature-settings: "liga"; -moz-font-feature-settings: "liga=1"; -moz-font-feature-settings: "liga"; -ms-font-feature-settings: "liga" 1; font-feature-settings: "liga"; -webkit-font-variant-ligatures: discretionary-ligatures; font-variant-ligatures: discretionary-ligatures; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.profile"]:before { content: 'user'; transform: translateY(-3px); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.talk"]:before, .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.message-wall"]:before { content: 'reply'; transform: translateY(-3px); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-id="contributions"]:before { content: 'pencil'; transform: translateY(-3px); padding-right: 4px; } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.preferences"]:before { content: 'gear'; transform: translateY(-3px); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.help"]:before { content: 'info'; transform: translateY(-3px); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li .wds-global-navigation__dropdown-link.wds-sign-out button:before { content: 'undo'; transform: translateY(-3px); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li#quick-cup a[title="Create your user page on this wiki automagically"]:before { content: 'paragraph'; transform: translateY(-3px); padding-right: 3px; } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li#quick-cup a[title="Automatically create your message wall greeting"]:before { content: 'megaphone'; transform: translateY(-3px); padding-right: 3px; }