add dark mode
This commit is contained in:
parent
c50a20d429
commit
422de7b6de
1 changed files with 19 additions and 0 deletions
|
@ -131,4 +131,23 @@ main footer {
|
|||
.message {
|
||||
text-align: center;
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background: #141414;
|
||||
color: #e3e3e3;
|
||||
}
|
||||
|
||||
a {
|
||||
color: aqua;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: mediumpurple;
|
||||
}
|
||||
|
||||
nav h1 a {
|
||||
color: white;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue