We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb1358 commit 4ac18a2Copy full SHA for 4ac18a2
1 file changed
docs/_sass/custom/custom.scss
@@ -1,3 +1,38 @@
1
.site-logo {
2
padding-right: 3rem;
3
}
4
+
5
+/* Dark mode scrollbar styles */
6
+html.dark-mode {
7
+ /* WebKit browsers (Chrome, Safari, Edge) */
8
+ ::-webkit-scrollbar {
9
+ width: 10px;
10
+ height: 10px;
11
+ }
12
13
+ ::-webkit-scrollbar-track {
14
+ background: #1a1a1a;
15
16
17
+ ::-webkit-scrollbar-thumb {
18
+ background: #404040;
19
+ border-radius: 5px;
20
21
22
+ ::-webkit-scrollbar-thumb:hover {
23
+ background: #505050;
24
25
26
+ ::-webkit-scrollbar-corner {
27
28
29
+}
30
31
+/* Firefox scrollbar styles */
32
+@supports (scrollbar-width: thin) {
33
+ html.dark-mode {
34
+ scrollbar-color: #404040 #1a1a1a;
35
+ scrollbar-width: thin;
36
37
38
0 commit comments