customize scrollbar on firefox and chromium-based. fixes #33

This commit is contained in:
neil 2021-04-15 12:03:07 +02:00
parent 8fc232d022
commit 7a4839541d
1 changed files with 20 additions and 0 deletions

View File

@ -5,6 +5,26 @@
font-style: normal;
}
:root {
scrollbar-color: #4684f9 #c8dbfd;
scrollbar-width: thin;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: #568aec;
border-radius: 20px;
border: 2px solid transparent;
background-clip: content-box;
}
.hidden {
display: none !important;
}