FluentReader/dist/article/scroll.css
2020-06-12 10:18:44 +08:00

26 lines
566 B
CSS

::-webkit-scrollbar {
width: 16px;
}
::-webkit-scrollbar-thumb {
border: 2px solid transparent;
background-color: #0004;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #0006;
}
::-webkit-scrollbar-thumb:active {
background-color: #0008;
}
@media (prefers-color-scheme: dark) {
::-webkit-scrollbar-thumb {
background-color: #fff4;
}
::-webkit-scrollbar-thumb:hover {
background-color: #fff6;
}
::-webkit-scrollbar-thumb:active {
background-color: #fff8;
}
}