mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
added a custom style to the scrollbar
This commit is contained in:
parent
92151dc623
commit
e60733fad8
1 changed files with 21 additions and 0 deletions
|
|
@ -32,6 +32,27 @@ body {
|
|||
|
||||
html { overflow-y: scroll; }
|
||||
|
||||
/* width */
|
||||
::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
/* Track */
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--sub-color);
|
||||
transition: .25s;
|
||||
}
|
||||
|
||||
/* Handle on hover */
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--main-color);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--sub-color);
|
||||
transition: 0.25s;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue