mirror of
https://github.com/lloeki/presence.git
synced 2025-12-06 08:54:39 +01:00
Support dark mode
This commit is contained in:
parent
7ab670a1d3
commit
920827da07
1 changed files with 9 additions and 1 deletions
10
style.css
10
style.css
|
|
@ -20,6 +20,14 @@ img, iframe { border: 0 }
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
background-color: #FCFCFC;
|
background-color: #FCFCFC;
|
||||||
|
color: #030303;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
html, body {
|
||||||
|
background-color: #101010;
|
||||||
|
color: #D0D0D0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
@ -133,7 +141,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
a, a:visited {
|
a, a:visited {
|
||||||
color: gray;
|
color: #7F7F7F;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue