From 89c1f4a944d6f2d875c45ca36762d1ff075b9e77 Mon Sep 17 00:00:00 2001 From: CRT Date: Sat, 10 Oct 2026 18:46:21 +0000 Subject: [PATCH] site: opaque sticky header, overflow-x clip so sticky never detaches --- site/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/style.css b/site/style.css index b1179f0e..05362e36 100644 --- a/site/style.css +++ b/site/style.css @@ -58,7 +58,7 @@ body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); - overflow-x: hidden; + overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } @@ -78,7 +78,7 @@ p { margin: 0; } .skip:focus { left: 8px; } /* header */ -.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); } +.top { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: 0 6px 16px -12px rgb(0 0 0 / .35); border-bottom: 1px solid var(--line); } .top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; } .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; } .mark { width: 28px; height: 28px; color: var(--accent); flex: none; --mark-ink: var(--accent-ink); }