Customize scrollbar in Mozilla Firefox
This commit is contained in:
parent
2ea986326d
commit
819ea4a296
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue