feat: webkit scrollbar style

This commit is contained in:
Adrien Marquès 2022-10-05 16:50:39 +02:00
parent eb01da57c3
commit 28aebf9abc
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 16 additions and 0 deletions

View File

@ -31,4 +31,20 @@ body {
overflow: hidden;
overflow-y: auto;
}
::-webkit-scrollbar {
display: block;
width: .3rem;
background-color: #202228;
overflow: hidden;
}
::-webkit-scrollbar-thumb {
border-radius: .3rem / .3rem;
background-color: #6d7076;
transition: background-color .1s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
background-color: #a9acb2;
}