-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathcustom.css
More file actions
52 lines (41 loc) · 1.04 KB
/
custom.css
File metadata and controls
52 lines (41 loc) · 1.04 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
52
/* Safari-style scrollbars (light + dark, Webkit + Firefox). */
:root {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}
html.dark {
scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3);
border-radius: 9999px;
border: 3px solid transparent;
background-clip: padding-box;
min-height: 40px;
transition: background-color 150ms ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:active {
background-color: rgba(0, 0, 0, 0.65);
}
::-webkit-scrollbar-corner {
background: transparent;
}
html.dark ::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.22);
}
html.dark ::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.4);
}
html.dark ::-webkit-scrollbar-thumb:active {
background-color: rgba(255, 255, 255, 0.55);
}