about summary refs log tree commit diff homepage
path: root/style.css
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-15 02:57:54 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-15 02:58:12 +0900
commita90bb04458ecd68b7c2ca8442e3042d802701bed (patch)
tree69dabff363cdf327c173609a994fb8da261bde48 /style.css
parent53bf75c9bd411ba434d159862f78469c13165944 (diff)
downloadpx-a90bb04458ecd68b7c2ca8442e3042d802701bed.tar.gz
Add another page
Diffstat (limited to 'style.css')
-rw-r--r--style.css19
1 files changed, 2 insertions, 17 deletions
diff --git a/style.css b/style.css
index b719ddf..a8719cb 100644
--- a/style.css
+++ b/style.css
@@ -1,20 +1,5 @@
-@media (prefers-color-scheme: dark) {
-    :root {
-        --bg: #1c1b19;
-        --fg: #fce8c3;
-    }
-}
-@media (prefers-color-scheme: light) {
-    :root {
-        --bg: white;
-        --fg: #2e3436;
-    }
-}
-
 html {
-    background-color: var(--bg);
     box-sizing: border-box;
-    color: var(--fg);
     font-size: clamp(100%, 3vw, 150%);
     margin: auto;
     max-width: calc(1024px + 2ch);
@@ -22,7 +7,7 @@ html {
 }
 body { margin: 0 1ch }
 a[href] {
-    color: var(--fg);
+    color: CanvasText;
     font-weight: bold;
     text-decoration: none;
 }
@@ -35,7 +20,7 @@ img {
 article + article { margin-top: 1rem }
 nav {
     align-items: center;
-    background-color: var(--bg);
+    background-color: Canvas;
     display: flex;
     justify-content: space-between;
     position: sticky;