summary refs log tree commit diff
path: root/style.css
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-02-05 15:11:12 +0300
committerAzat Bahawi <azat@bahawi.net>2022-02-05 15:11:12 +0300
commit559822460c1777603a918b3642cb12f4820d52c5 (patch)
tree939ae7051dd8d659a8553adade04ff2abaa69787 /style.css
chore: initial
Diffstat (limited to 'style.css')
-rw-r--r--style.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..93d8a62
--- /dev/null
+++ b/style.css
@@ -0,0 +1,20 @@
+@media (prefers-color-scheme: light) {
+    :root {
+        --background: white;
+        --foreground: black;
+    }
+}
+
+@media (prefers-color-scheme: dark) {
+    :root {
+        --background: black;
+        --foreground: white;
+    }
+}
+
+body {
+    background-color: var(--background);
+    color: var(--foreground);
+    font-family: monospace;
+    font-size: 14px;
+}

Consider giving Nix/NixOS a try! <3