1
0

Add dark theme

This commit is contained in:
Ryan Fox 2020-08-08 03:42:26 +00:00
parent e8cb910206
commit c5b1ed7e79
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -343,3 +343,48 @@ p.openring {
text-align: center;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #111111;
color: #DDDDDD;
}
footer {
border-top: solid 2px #444444;
background-color: #181818;
}
div.article:first-of-type {
border-right: solid 2px #444444;
}
div.article:last-of-type {
border-left: solid 2px #444444;
}
div.post-head span.subtext, div.article p.extra, p.openring {
color: #BBBBBB;
}
nav a {
color: #999999;
display: block;
}
nav a:hover {
color: #BBBBBB;
}
a {
color: #4893fd;
}
header img {
border: solid 2px #FFFFFF;
}
audio {
border: solid 1px #AAAAAA;
}
}