Customize scrollbar in Mozilla Firefox

This commit is contained in:
zer0-x 2022-05-01 15:13:45 +03:00
parent 2ea986326d
commit 819ea4a296

View file

@ -370,6 +370,10 @@ span > select {
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
html {
scrollbar-color: #303030 #f0f0f0;
}
.no-theme a:hover, .no-theme a:hover,
.no-theme a:active, .no-theme a:active,
.no-theme summary:hover { .no-theme summary:hover {
@ -441,6 +445,10 @@ body.dark-theme {
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html {
scrollbar-color: #f0f0f0 rgb(45, 45, 45);
}
.no-theme a:hover, .no-theme a:hover,
.no-theme a:active { .no-theme a:active {
color: rgb(0, 182, 240); color: rgb(0, 182, 240);