summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2020-07-14 00:07:36 -0400
committerKylie McClain <kylie@somas.is>2020-07-14 00:07:36 -0400
commit6b56658782b4e7feda03b38d7799b7037b8e3216 (patch)
tree5106f107c6b97e4ee2e15f791d8e0b1eef2dc0e1
parent820d135a1294b5b1cbc3f98f80c33b4d9ffe9e5d (diff)
downloadmeta-6b56658782b4e7feda03b38d7799b7037b8e3216.tar.gz
meta-6b56658782b4e7feda03b38d7799b7037b8e3216.tar.xz
meta-6b56658782b4e7feda03b38d7799b7037b8e3216.zip
style: add dark color scheme
-rw-r--r--style.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/style.css b/style.css
index 7abd992..e49081c 100644
--- a/style.css
+++ b/style.css
@@ -116,3 +116,29 @@ blockquote {
padding: 1rem;
}
}
+
+@media screen and (prefers-color-scheme: dark) {
+ body {
+ background-color: #2f343f;
+ color: #fff;
+ }
+
+ a:visited {
+ color: #d475e8;
+ }
+
+ a:active,
+ a:visited:active {
+ color: #01a022;
+ }
+
+ blockquote,
+ div.ulist > div.title,
+ div.olist > div.title,
+ div.dlist > div.title,
+ div#content pre,
+ div#header > h1,
+ div#footer {
+ border-color: #a0a0a0;
+ }
+}