Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
* This FluentUI branch changes the base UI more towards the Windows 11 interface (with Windows 10 style fallback), with a lot of things altered.
*
* Works best if the base FlUI stylesheet is also imported.
*
* Uses a part of:
* [[FadedDropdowns]] by Lavgup
*/
/* Fallback if the user's OS doesn't have Segoe */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@font-face {
font-family: "Segoe UI";
font-weight: 400;
src: local("Segoe UI");
}
/* variable because typing the same thing thrice is tiresome */
:root {
--flui-font: "Segoe UI", "Noto Sans", sans-serif !important;
--flui-accent: var(--theme-accent-color) !important;
}
::-webkit-scrollbar-thumb {
border-radius: 15px;
background: var(--theme-accent-color--hover);
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
background: transparent;
}
main.page__main {
font-family: var(--flui-font);
}
.theme-fandomdesktop-light .mw-input input,
.theme-fandomdesktop-light input[type="text"],
.theme-fandomdesktop-light form[class^="SearchInput-module_form"],
.theme-fandomdesktop-light input[class^="SearchInput-module_input"],
.theme-fandomdesktop-light .ve-ui-init-desktopArticleTarget-sectionTitle.oo-ui-inputWidget-input,
.theme-fandomdesktop-light textarea {
border: none !important;
outline: none !important;
padding: 1% !important;
background-color: #ffffff !important;
border-radius: 4px !important;
transition: border 250ms !important;
font-family: var(--flui-font);
color: black !important;
}
.theme-fandomdesktop-dark .mw-input input,
.theme-fandomdesktop-dark input[type="text"],
.theme-fandomdesktop-dark input[class^="SearchInput-module_input"],
.theme-fandomdesktop-dark .ve-ui-init-desktopArticleTarget-sectionTitle.oo-ui-inputWidget-input,
.theme-fandomdesktop-dark textarea {
border: none !important;
outline: none !important;
padding: 1% !important;
background-color: #1f1f1f !important;
border-radius: 4px !important;
transition: border 250ms !important;
font-family: var(--flui-font);
color: white !important;
}
form[class^="SearchInput-module_form"] {
background: transparent !important;
display: flex;
flex-direction: row-reverse;
}
.mw-input input:focus,
input[type="text"]:focus,
form[class^="SearchInput-module_form"]>input[class^="SearchInput-module_input"]:focus,
textarea:focus {
border-block-end: 3px solid var(--flui-accent) !important;
}
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
button {
filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.5));
border-radius: 4px;
}
form[class^="SearchInput-module_form"] button[type="submit"] {
background: transparent;
color: white;
border: none;
}
a[class^="SearchResults-module_isSelected"] {
border: none !important;
border-inline-start: 5px solid var(--flui-accent) !important;
border-radius: 6px !important;
background: transparent !important;
backdrop-filter: brightness(1.25) !important;
}
ul[class*="SearchResults-module_results"] li a[data-testid="search-modal-result"]:hover {
background: transparent !important;
border: inherit !important;
backdrop-filter: brightness(1.25) !important;
}
.theme-fandomdesktop-dark .search-modal__content {
font-family: var(--flui-font);
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
height: 75%;
width: 45%;
transform: translateY(15%);
}
.theme-fandomdesktop-light .search-modal__content {
font-family: var(--flui-font);
background-color: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(10px);
height: 75%;
width: 45%;
transform: translateY(15%);
}
ul.top-results__list {
display: grid;
grid-template-columns: 1fr 1fr;
width: 100%;
row-gap: 15%;
height: 100%;
justify-content: center;
justify-items: center;
}
.theme-fandomdesktop-dark .global-navigation {
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(10px);
}
.theme-fandomdesktop-light .global-navigation {
background-color: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(10px);
}
.global-navigation__top,
.global-navigation__bottom {
background: transparent;
}
.global-navigation .global-navigation__icon,
.global-navigation .global-navigation__icon.has-background,
.global-navigation>div.global-navigation__top>nav>div>div.wds-dropdown.wds-open-to-right {
background: none;
border: none;
}
.global-navigation .global-navigation__label {
display: none;
}
.global-navigation .global-navigation__links a.global-navigation__link {
padding-block: 10%;
}
.global-navigation .global-navigation__links a.global-navigation__link:is(:hover, :active),
.global-navigation>div.global-navigation__top>nav>div>div.wds-dropdown.wds-open-to-right:is(:hover, :active) {
border-inline-start: 5px solid var(--flui-accent);
backdrop-filter: brightness(2);
}
.global-navigation .notifications .wds-dropdown.is-attached-to-bottom:after,
[class^="NotificationsContent-module_scrollableListWrapper__"]>ul:after,
[class^="NotificationsContent-module_scrollableListWrapper__"]>ul:before,
.global-navigation .notifications .wds-dropdown.is-attached-to-bottom:before {
display: none !important;
}
div.notifications div.wds-dropdown__content {
margin: 30%;
border-radius: 8px !important;
font-family: var(--flui-font);
box-shadow: none !important;
margin-inline-start: 5%;
border: 0;
background-color: var(--wds-dropdown-background-color) !important;
}
div.notifications li.wds-tabs__tab[data-testid*="notifications-tab-"] {
margin: 3%;
background-color: var(--theme-accent-color--hover);
color: currentColor;
box-shadow: none !important;
border-radius: 4px;
cursor: pointer !important;
}
div.notifications li.wds-tabs__tab.wds-is-current[data-testid*="notifications-tab-"] {
background-color: var(--flui-accent);
}
div.notifications li[data-testid="notification-card"] {
background: transparent !important;
border-block-end: 1px solid dimgray;
padding-block: 7.5%;
padding-inline: 5%;
gap: 7.5%;
}
div.notifications li[class^="NotificationCard-module_card__"] {
transition: opacity 250ms;
opacity: .25;
}
div.notifications li[class*="NotificationCard-module_isUnread__"] {
opacity: 1 !important;
}
div.notifications li[class^="NotificationCard-module_card__"]:hover {
opacity: 1;
}
div.notifications div[class^="NotificationCard-module_side"],
div.notifications div[class^="NotificationCard-module_side"] > .wds-avatar {
width: 40px;
height: 40px;
}
div.notifications div[class^="NotificationsContent-module_tabber"] {
background-color: rgba(var(--theme-page-background-color--rgb),0.85);
}
.fandom-sticky-header.is-visible {
background-color: rgba(var(--theme-accent-color--rgb), 0.75);
backdrop-filter: blur(10px);
}
header[class^="NotificationsContent-module_contentHeader"] {
background-color: var(--theme-page-background-color);
border-radius: 8px 8px 0 0;
}
.theme-fandomdesktop-dark div.notifications .notifications__counter,
.theme-fandomdesktop-dark span[class^="NotificationsContent-module_tabTotal"] {
background-color: rgba(255,255,255,.25);
color: white !important;
border: 1px solid white;
}
.theme-fandomdesktop-light div.notifications .notifications__counter,
.theme-fandomdesktop-light span[class^="NotificationsContent-module_tabTotal"] {
background-color: rgba(0,0,0,.25);
color: white !important;
border: 1px solid white;
}
.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 {
display: none;
}
@keyframes dropdown-global {
from {opacity: 0; top: 45px;}
to {opacity: 1;}
}
:not(div.notifications__toggle) .wds-dropdown__content,
:not(div.notifications__toggle) .wds-dropdown__content .wds-dropdown-level-nested__content {
-webkit-animation: dropdown-global 0.35s;
-moz-animation: dropdown-global 0.35s;
animation: dropdown-global 0.35s;
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
background-color: rgba(0,0,0,.5);
border-radius: 4px;
backdrop-filter: blur(10px);
}
body.theme-fandomdesktop-light .wds-dropdown div.wds-dropdown__content {
background-color: rgba(255,255,255,.5);
}
.wds-dropdown__content:not(.wds-is-not-scrollable) .wds-list:after,
.wds-dropdown__content:not(.wds-is-not-scrollable) .wds-list:before {
display: none;
}