File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,24 @@ body {
4545 color : var (--primary-font-color );
4646}
4747
48+ /* Apply to whole page */
49+ body ::-webkit-scrollbar {
50+ width : 10px ;
51+ }
52+
53+ body ::-webkit-scrollbar-track {
54+ background : # f1f1f1 ;
55+ border-radius : 10px ;
56+ }
57+
58+ body ::-webkit-scrollbar-thumb {
59+ background : linear-gradient (to bottom, # 4e54c8, # 8f94fb );
60+ border-radius : 10px ;
61+ }
62+
63+ body ::-webkit-scrollbar-thumb : hover {
64+ background : linear-gradient (to bottom, # 3c40c6, # 4e4e8f );
65+ }
4866
4967h1 {
5068 font-size : 3.2rem ;
Original file line number Diff line number Diff line change 1- .scroll-none ::-webkit-scrollbar-thumb {
2- display : none;
1+ .custom-scroll {
2+ max-height : 300px ;
3+ overflow-y : auto;
34}
45
6+ /* Custom Scrollbar for the container */
7+ .custom-scroll ::-webkit-scrollbar {
8+ width : 8px ;
9+ }
10+
11+ .custom-scroll ::-webkit-scrollbar-track {
12+ background : # e0e0e0 ;
13+ border-radius : 10px ;
14+ }
15+
16+ .custom-scroll ::-webkit-scrollbar-thumb {
17+ background-color : # 888 ;
18+ border-radius : 10px ;
19+ }
20+
21+ .custom-scroll ::-webkit-scrollbar-thumb : hover {
22+ background : # 555 ;
23+ }
24+
25+
526.reading-mode-container {
627 transition : all 0.3s ease-in-out;
728 display : grid;
You can’t perform that action at this time.
0 commit comments