From ab85985325d818b874176199d0f1f938600887e1 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Sat, 18 Oct 2025 17:08:06 +0200 Subject: clean css --- static/style.css | 47 +++++++---------------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index a2ec892..0f6c16a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,21 +1,12 @@ :root { - --bg: #e1e2e7; - --fg: #32344a; - --sbg: #e9e663; - --link: #9b4ae0; + --fg: #bac2e7; + --bg: #1a1b26; + --sbg: #39405e; + --link: #7aa2f7; --regularfont: system-ui; --titlecodefont: 'Courier New', Courier, monospace; } -@media (prefers-color-scheme: dark) { - :root { - --fg: #bac2e7; - --bg: #1a1b26; - --sbg: #39405e; - --link: #7aa2f7; - } -} - body { width: 90%; max-width: 42em; @@ -54,14 +45,6 @@ a { color: var(--link); } -.notfound>h1 { - font-size: 15em; -} - -.notfound { - text-align: center; -} - .highlight { font-family: var(--titlecodefont); } @@ -69,14 +52,15 @@ a { h1, h2, h3, +h4, +h5, +h6, pre { font-family: var(--titlecodefont); } h1 { text-align: center; - font-size: 2.3em; - margin: 0.32em 0em 0em 0em; } h1, @@ -112,23 +96,6 @@ li { margin: 0 0 0.1em 0; } -footer { - text-align: center; -} - -footer img { - margin: auto; - display: inline-block; -} - -img { - display: block; - margin: auto; - max-height: 25em; - width: auto; - max-width: 100%; -} - @media print { .address { overflow: visible; -- cgit v1.2.3