Skip to content

Commit 42add2d

Browse files
author
ZYROUGE
authored
Merge pull request #1 from Snowflake107/master
ft: scrollbar styling
2 parents 665b52d + 1201987 commit 42add2d

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

static/styles/skyceil.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929

3030
--disabled: #454545;
3131
--important-red: #950B02;
32+
33+
--alpha-dark: #2f3136;
34+
--dark-lite: #24292e;
3235
}
3336

3437
body[data-theme="dark"] {
@@ -506,6 +509,23 @@ hr {
506509
vertical-align: middle;
507510
}
508511

512+
/* scrollbar */
513+
::-webkit-scrollbar {
514+
width: 5px;
515+
}
516+
517+
::-webkit-scrollbar-track {
518+
background: #f2f2f2;
519+
}
520+
521+
::-webkit-scrollbar-thumb {
522+
background: var(--alpha-dark);
523+
}
524+
525+
::-webkit-scrollbar-thumb:hover {
526+
background: var(--dark-lite);
527+
}
528+
509529
body[data-theme="dark"] .small-icon {
510530
background-color: #720068;
511531
}
@@ -591,4 +611,4 @@ nav .has-class-methods {
591611
footer {
592612
padding: 0;
593613
}
594-
}
614+
}

0 commit comments

Comments
 (0)