diff --git a/build.el b/build.el index bbb93c4..53dd994 100644 --- a/build.el +++ b/build.el @@ -31,7 +31,7 @@ :with-creator nil :with-timestamps nil :section-numbers nil - :table-of-contents nil) + :with-toc nil) ("site-static" :base-directory "./static" diff --git a/flake.nix b/flake.nix index 2c53746..244d8be 100644 --- a/flake.nix +++ b/flake.nix @@ -48,8 +48,9 @@ serve = pkgs.writeShellApplication { name = "serve"; - runtimeInputs = [ pkgs.python3 ]; + runtimeInputs = [ pkgs.python3 pkgs.psmisc ]; text = '' + fuser -k 8080/tcp 2>/dev/null || true echo "Serving site at http://localhost:8080" python -m http.server --bind 0.0.0.0 8080 -d ${site} ''; diff --git a/static/style.css b/static/style.css index 217de6e..e84b952 100644 --- a/static/style.css +++ b/static/style.css @@ -1,14 +1,14 @@ /* ── Custom Properties ───────────────────────────────── */ :root { - --bg: #ffffff; + --bg: #ffffe0; --fg: #1a1a1a; --muted: #666666; --accent: #2563eb; --border: #e5e5e5; --code-bg: #f5f5f5; --max-width: 740px; - --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; - --font-mono: ui-monospace, "Cascadia Code", "Fira Code", monospace; + --font-serif: "Liberation Serif", "Microsoft Sans Serif", serif; + --font-mono: "Source Code Pro", "LiberationMono", "Consolas", monospace; } @media (prefers-color-scheme: dark) { @@ -31,7 +31,7 @@ img, video, svg { max-width: 100%; display: block; } body { background: var(--bg); color: var(--fg); - font-family: var(--font-sans); + font-family: var(--font-serif); line-height: 1.7; padding: 0 1.25rem; } @@ -71,6 +71,7 @@ body { /* ── Typography ──────────────────────────────────────── */ h1, h2, h3, h4, h5, h6 { + font-family: var(--font-serif); line-height: 1.3; margin-top: 2rem; margin-bottom: 0.6rem;