Commit d33aecba37

d33aecba37109cf29119e22725b66ddcae37c69e

parent: c60afbbd4d

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-12 04:32 UTC

style(design): FINDING-009 — 41-46px hit areas on nav, footer and chips

Layout: unified · split

theme/static/styles.css +5 −5
@@ -25,13 +25,13 @@ img { max-width: 100%; height: auto; }
25 25
26/* Header and footer */ 26/* Header and footer */
27header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; } 27header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding: 1.5rem var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
28header.site .mark { color: var(--fg); font-weight: 650; text-decoration: none; } 28header.site .mark { display: inline-block; padding: .55rem 0; color: var(--fg); font-weight: 650; text-decoration: none; }
29header.site ul, footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; } 29header.site ul, footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
30header.site nav a { color: var(--soft); text-decoration: none; } 30header.site nav a { display: inline-block; padding: .55rem 0; color: var(--soft); text-decoration: none; }
31header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); } 31header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); }
32header.site nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; } 32header.site nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
33footer.site { border-top: 1px solid var(--rule); margin-top: clamp(3rem, 7vw, 5rem); padding-bottom: 3rem; color: var(--soft); font-size: .95rem; } 33footer.site { border-top: 1px solid var(--rule); margin-top: clamp(3rem, 7vw, 5rem); padding-bottom: 3rem; color: var(--soft); font-size: .95rem; }
34footer.site a { color: var(--soft); } 34footer.site a { display: inline-block; padding: .55rem 0; color: var(--soft); }
35footer.site a:hover { color: var(--fg); } 35footer.site a:hover { color: var(--fg); }
36footer.site .built { margin: 0; } 36footer.site .built { margin: 0; }
37 37
@@ -46,7 +46,7 @@ h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: 650; }
46.meta { color: var(--soft); margin: 0 0 1rem; } 46.meta { color: var(--soft); margin: 0 0 1rem; }
47time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; } 47time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
48.page ul.tags { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem; } 48.page ul.tags { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
49ul.tags a { display: inline-block; padding: .2rem .75rem; border-radius: 999px; background: var(--raise); color: var(--fg); text-decoration: none; font-size: .9rem; } 49ul.tags a { display: inline-block; padding: .55rem .9rem; border-radius: 999px; background: var(--raise); color: var(--fg); text-decoration: none; font-size: .9rem; }
50ul.tags a:hover { background: var(--fg); color: var(--bg); } 50ul.tags a:hover { background: var(--fg); color: var(--bg); }
51.page ul, .page ol { padding-left: 1.25rem; } 51.page ul, .page ol { padding-left: 1.25rem; }
52.page li { margin: .25rem 0; } 52.page li { margin: .25rem 0; }
@@ -210,7 +210,7 @@ pre code { color: #323232; }
210.w-hosted .w-num { margin: 0; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; } 210.w-hosted .w-num { margin: 0; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; }
211.w-hosted p { margin: .3rem 0 1rem; font-size: .92rem; } 211.w-hosted p { margin: .3rem 0 1rem; font-size: .92rem; }
212.w-hosted ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; } 212.w-hosted ul { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
213.w-hosted ul a { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .85rem; } 213.w-hosted ul a { display: inline-block; padding: .6rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: .85rem; }
214.w-hosted ul a:hover { background: rgba(255, 255, 255, .24); } 214.w-hosted ul a:hover { background: rgba(255, 255, 255, .24); }
215.w-elsewhere li { padding: .3rem 0; } 215.w-elsewhere li { padding: .3rem 0; }
216.w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: 500; } 216.w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: 500; }