File tree 1 file changed +31
-3
lines changed
1 file changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,43 @@ $csh-pink: #b0197e;
9
9
10
10
11
11
body {
12
+ position : relative ;
12
13
width : 100% ;
13
14
height : 100% ;
14
15
padding : 0 ;
15
16
margin : 0 ;
17
+ overflow : overlay ; // For transparent scrollbar
18
+ background : white ;
16
19
}
17
20
18
- body {
19
- position : relative ;
20
- background : white ;
21
+ /* Scrollbar (only supported by some browsers) */
22
+ ::-webkit-scrollbar {
23
+ width : 12px ;
24
+ }
25
+
26
+ ::-webkit-scrollbar-track {
27
+ background : transparent ;
28
+ }
29
+
30
+ ::-webkit-scrollbar-thumb {
31
+ box-shadow : inset 0px 0px 10px 10px rgba (0 ,0 ,0 ,0.2 );
32
+ border : 3px solid transparent ;
33
+ border-radius : 5px ;
34
+ }
35
+
36
+ ::-webkit-scrollbar-thumb :hover {
37
+ box-shadow : inset 0px 0px 10px 10px rgba (0 , 0 , 0 , 0.4 );
38
+ border : 2px solid transparent ;
39
+ }
40
+
41
+ ::-webkit-scrollbar-track {
42
+ background : transparent ;
43
+ }
44
+
45
+ ::-webkit-scrollbar-thumb {
46
+ box-shadow : inset 0px 0px 10px 10px rgba (0 ,0 ,0 ,0.2 );
47
+ border : 3px solid transparent ;
48
+ border-radius : 5px ;
21
49
}
22
50
23
51
.container.spaced {
You can’t perform that action at this time.
0 commit comments