diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 19 |
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; |