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; }
2525
2626/* Header and footer */
2727header.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; }
2929header.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; }
3131header.site nav a:hover, header.site nav a[aria-current] { color: var(--fg); }
3232header.site nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
3333footer.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); }
3535footer.site a:hover { color: var(--fg); }
3636footer.site .built { margin: 0; }
3737
@@ -46,7 +46,7 @@ h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: 650; }
4646.meta { color: var(--soft); margin: 0 0 1rem; }
4747time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
4848.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; }
5050ul.tags a:hover { background: var(--fg); color: var(--bg); }
5151.page ul, .page ol { padding-left: 1.25rem; }
5252.page li { margin: .25rem 0; }
@@ -210,7 +210,7 @@ pre code { color: #323232; }
210210.w-hosted .w-num { margin: 0; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: #fff; }
211211.w-hosted p { margin: .3rem 0 1rem; font-size: .92rem; }
212212.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; }
214214.w-hosted ul a:hover { background: rgba(255, 255, 255, .24); }
215215.w-elsewhere li { padding: .3rem 0; }
216216.w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: 500; }