-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (39 loc) · 1.21 KB
/
Copy pathstyles.css
File metadata and controls
45 lines (39 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
/* Make the main page background transparent */
html, body {
background: transparent !important;
}
/* Make most element backgrounds transparent */
div, section, article, header, footer, nav, aside, main,
.container, .content, .wrapper, .sidebar, .main,
[class*="bg"], [class*="background"] {
background-color: transparent !important;
}
/* Special handling for common UI elements */
.navbar, .header, .footer, .menu, .card, .panel, .box {
background-color: transparent !important;
}
/* Make sure our cloud canvas stays behind everything */
#more-clouds {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
z-index: -9999 !important;
pointer-events: none !important;
background: #87CEEB !important;
}
/* Preserve text readability */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th {
text-shadow: 0 0 3px rgba(255, 255, 255, 0.8) !important;
}
/* Handle dark backgrounds */
[style*="background-color: black"],
[style*="background-color: #000"],
[class*="dark"] {
background-color: rgba(0, 0, 0, 0.15) !important;
}
/* Don't affect images */
img, video, canvas:not(#more-clouds) {
background: none !important;
}