css now respects dark mode
This commit is contained in:
parent
f5bf37495d
commit
b35590f1bd
@ -98,3 +98,20 @@ body.dark-theme {
|
||||
body.dark-theme a:visited {
|
||||
color: blueviolet;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
--table-border-color: #222;
|
||||
--table-background-color: #333;
|
||||
--text-color: #eee;
|
||||
background-color: #111;
|
||||
}
|
||||
|
||||
body a:visited {
|
||||
color: blueviolet;
|
||||
}
|
||||
|
||||
body a {
|
||||
color: darkturquoise;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user