Commit fd166fdc0b

fd166fdc0b72f6ef1c8e2ef72d99e4acfc3cb784

parent: bc95f8c736

Verified · cmc

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

style(design): FINDING-004 — tag counts sit inside their chips

Layout: unified · split

theme/static/styles.css +5 −4
@@ -99,10 +99,11 @@ pre code { color: #323232; }
99.detour-list a:hover { text-decoration: underline; } 99.detour-list a:hover { text-decoration: underline; }
100.detour-meta { display: block; color: var(--soft); font-size: .92rem; } 100.detour-meta { display: block; color: var(--soft); font-size: .92rem; }
101.tag-toc { display: flex; flex-wrap: wrap; gap: .5rem; } 101.tag-toc { display: flex; flex-wrap: wrap; gap: .5rem; }
102.tag-toc li { margin: 0 !important; } 102.tag-toc li { margin: 0 !important; display: flex; align-items: baseline; border-radius: 999px; background: var(--raise); }
103.tag-toc a { display: inline-block; padding: .3rem .85rem; border-radius: 999px; background: var(--raise); color: var(--fg); text-decoration: none; } 103.tag-toc a { display: inline-block; padding: .55rem .25rem .55rem 1rem; border-radius: 999px; color: var(--fg); text-decoration: none; }
104.tag-toc a:hover { background: var(--fg); color: var(--bg); } 104.tag-toc li:hover { background: var(--fg); }
105.tag-count { color: var(--soft); font-size: .88rem; margin-left: .25rem; } 105.tag-toc li:hover a, .tag-toc li:hover .tag-count { color: var(--bg); }
106.tag-count { color: var(--soft); font-size: .88rem; padding-right: 1rem; font-variant-numeric: tabular-nums; }
106@media (max-width: 560px) { .post-list-item { flex-direction: column; gap: 0; } .post-list-item time { flex: none; } } 107@media (max-width: 560px) { .post-list-item { flex-direction: column; gap: 0; } .post-list-item time { flex: none; } }
107 108
108/* Home: hero with the tablet */ 109/* Home: hero with the tablet */