diff options
author | Adam Stück <adam@adast.dk> | 2023-12-26 19:45:31 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.dk> | 2023-12-26 19:45:31 +0100 |
commit | d5747fdab1967d2f47f5c14a1caca80c0d04c1f6 (patch) | |
tree | 140f23b89fec0cfd4099dbea1098d5ccf84d7187 /header.html | |
parent | e09a7cc14a99332a396a87d66f0978e7dbc952dc (diff) |
Add basic dark mode support
Diffstat (limited to 'header.html')
-rw-r--r-- | header.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/header.html b/header.html index fd4c1d4..296cf0a 100644 --- a/header.html +++ b/header.html @@ -1,16 +1,17 @@ <!doctype html> <html lang="en" id="top"> <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="icon" href="data:,"> - <title>{{TITLE}}</title> - <link href="https://adast.dk/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> - <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="color-scheme" content="dark light"> + <link rel="icon" href="data:,"> + <title>{{TITLE}}</title> + <link href="https://adast.dk/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> + <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style> </head> <nav> - <a href="#menu">Menu ↓</a> + <a href="#menu">Menu ↓</a> </nav> <main> |