summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Webster <hwebs@hwebs.info>2026-07-28 08:26:00 -0500
committerHenry Webster <hwebs@hwebs.info>2026-07-28 08:26:00 -0500
commit3b0ca42d38f12fe6f35e3b7a03f898448d92a9f2 (patch)
tree950b2a4a28a5c7d8f0a658b51bbcfbbde843c683
parent7c976c1b8d8190b88add5529d71cc45b0411fea2 (diff)
styling tweaks
* move color-scheme to HTML * add lang * remove extra `type` attribute as advised
-rw-r--r--style.css3
-rw-r--r--theme.scm4
2 files changed, 3 insertions, 4 deletions
diff --git a/style.css b/style.css
index f539e65..c68edb9 100644
--- a/style.css
+++ b/style.css
@@ -1,6 +1,3 @@
-:root {
- color-scheme: light dark;
-}
html {
font-size: 100%;
}
diff --git a/theme.scm b/theme.scm
index a601e0e..e6178f6 100644
--- a/theme.scm
+++ b/theme.scm
@@ -20,14 +20,16 @@
(lambda (site title body)
`((doctype "html")
(html
+ (@ (lang "en"))
(head
(meta (@ (http-equiv "Content-Type")
(content "text/html")
(charset "utf-8")))
(meta (@ (name "viewport")
(content "width=device-width, initial-scale=1.0")))
+ (meta (@ (name "color-scheme")
+ (content "light dark")))
(link (@ (rel "stylesheet")
- (type "text/css")
(href "/style.css")))
(link (@ (rel "icon")
(href "data:,")))