-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathFandomDark.user.css
More file actions
51 lines (46 loc) · 1.21 KB
/
FandomDark.user.css
File metadata and controls
51 lines (46 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* ==UserStyle==
@name Fandom.com - Dark Mode
@version 20241116.15.42
@namespace nick2bad4u.github.io
@description Dark mode for Fandom
@homepageURL https://github.com/Nick2bad4u/UserStyles
@supportURL https://github.com/Nick2bad4u/UserStyles/issues
@author Nick2bad4u
@license UnLicense
@downloadURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/FandomDark.user.css
@updateURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/FandomDark.user.css
==/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'],
[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 */
}
}