aboutsummaryrefslogtreecommitdiff
path: root/header.html
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-26 19:48:58 +0100
committerAdam Stück <adam@adast.dk>2023-12-26 19:48:58 +0100
commit23f001c2206607c36ea406079b0607f1577b32fa (patch)
treee4204e4de9b99cacf3a717fe0d9dacc76662ce8b /header.html
parent0c1a419df434d005257eeafc1cbf66d59633e191 (diff)
Add basic dark mode support
Diffstat (limited to 'header.html')
-rw-r--r--header.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/header.html b/header.html
index 06e37e1..be7f525 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://arena.adast.dk/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <head>
+ <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://arena.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>
+ </head>
-<nav>
- <a href="#menu">Menu &darr;</a>
-</nav>
+ <nav>
+ <a href="#menu">Menu &darr;</a>
+ </nav>
-<main>
+ <main>