mirror of
https://github.com/yang991178/fluent-reader.git
synced 2024-12-29 09:50:24 +01:00
26 lines
566 B
CSS
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;
|
|
}
|
|
}
|