File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Declare some colors that I can use throughout
13
13
--favicon-hover-color : # 808080 ;
14
14
--hr-color : rgba (0 , 0 , 0 , .1 );
15
15
--vr-color : # dee2e6 ;
16
+ --scrollbar-thumb-color : # adbecf ;
16
17
}
17
18
18
19
body {
@@ -26,6 +27,15 @@ body {
26
27
background-color : var (--page-background );
27
28
}
28
29
30
+ ::-webkit-scrollbar {
31
+ background-color : var (--page-background );
32
+ }
33
+
34
+ ::-webkit-scrollbar-thumb {
35
+ background : var (--scrollbar-thumb-color );
36
+ border-radius : 10px ;
37
+ }
38
+
29
39
h1 ,
30
40
h2 ,
31
41
h3 ,
@@ -302,7 +312,9 @@ These two classes allow part of a page to scroll and another part to not scroll.
302
312
}
303
313
304
314
.mh-100 {
305
- max-height : 100%
315
+ max-height : 100% ;
316
+ scrollbar-color : var (--page-background ) white;
317
+
306
318
}
307
319
308
320
/* Class for the active and inactive experiences */
You can’t perform that action at this time.
0 commit comments