Dark mode for Fandom
Fandom.com - Dark Mode by Nick2bad4u
Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/FandomDark.user.css
Details
AuthorNick2bad4u
LicenseUnLicense
Categoryfandom
Created
Updated
Size981 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Fandom.com - Dark Mode
@version 20241116.15.41
@namespace typpi.online
@description Dark mode for Fandom
@homepageURL https://github.com/Nick2bad4u/UserStyles
@author Nick2bad4u
@license UnLicense
==/UserStyle== */
@-moz-document domain("fandom.com") {
*:not(body > div.main-container > div.resizable-container > div.page > main) {
background: black;
}
img,
video,
trk-shared-icon > svg > use,
header > nav {
filter: invert(1) hue-rotate(180deg) !important;
}
/* Exclude Dark Mode Elements */
*:not([style*='background-color: #121212']):not([style*='background-color: black']) {
filter: none !important;
/* Reset filter for dark backgrounds */
}
/* Specific Exclusions */
body,
#primaryNav,
#primaryNav > div > div.primary-links > ul,
#content {
background-color: #000 !important;
--theme-page-background-color: #000000 !important;
/* Ensure body stays dark */
}
}