Commit 2927c264f4

2927c264f4994311bbef4dee757bc8538f674b45

parent: 35fb24b45a

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-12 16:40 UTC

Tighten corner radii

Radius scale is now 4/8/10/14px (was 6/16/20/30). Tags, chips and hosted
links use --r-sm instead of pills; app-page store links stay capsules. The
dock radius is concentric with the tablet screen.

Layout: unified · split

theme/static/styles.css +7 −7
@@ -21,7 +21,7 @@
2121
2222 --w-regular: 400; --w-medium: 500; --w-semi: 600; --w-heading: 650; --w-bold: 700;
2323
24 --r-xs: 6px; --r-sm: 16px; --r-md: 20px; --r-lg: 30px; --r-icon: 22%; --r-pill: 999px; --r-device: 54px;
24 --r-xs: 4px; --r-sm: 8px; --r-md: 10px; --r-lg: 14px; --r-icon: 22%; --r-pill: 999px; --r-device: 54px;
2525 --ease-out: cubic-bezier(.2, .7, .2, 1);
2626}
2727@media (prefers-color-scheme: dark) {
@@ -61,7 +61,7 @@ h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: var(--w
6161.meta { color: var(--soft); margin: 0 0 var(--s-4); }
6262time { color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
6363.page ul.tags { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2); }
64ul.tags a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-pill); background: var(--raise); color: var(--fg); text-decoration: none; font-size: var(--t-sm); }
64ul.tags a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-sm); background: var(--raise); color: var(--fg); text-decoration: none; font-size: var(--t-sm); }
6565ul.tags a:hover { background: var(--fg); color: var(--bg); }
6666.page ul, .page ol { padding-left: var(--s-5); }
6767.page li { margin: var(--s-1) 0; }
@@ -115,8 +115,8 @@ pre code { color: #323232; }
115115.detour-list a:hover { text-decoration: underline; }
116116.detour-meta { display: block; color: var(--soft); font-size: var(--t-sm); }
117117.tag-toc { display: flex; flex-wrap: wrap; gap: var(--s-2); }
118.tag-toc li { margin: 0 !important; display: flex; align-items: baseline; border-radius: var(--r-pill); background: var(--raise); }
119.tag-toc a { display: inline-block; padding: var(--hit) var(--s-1) var(--hit) var(--s-4); border-radius: var(--r-pill); color: var(--fg); text-decoration: none; }
118.tag-toc li { margin: 0 !important; display: flex; align-items: baseline; border-radius: var(--r-sm); background: var(--raise); }
119.tag-toc a { display: inline-block; padding: var(--hit) var(--s-1) var(--hit) var(--s-4); border-radius: var(--r-sm); color: var(--fg); text-decoration: none; }
120120.tag-toc li:hover { background: var(--fg); }
121121.tag-toc li:hover a, .tag-toc li:hover .tag-count { color: var(--bg); }
122122.tag-count { color: var(--soft); font-size: var(--t-sm); padding-right: var(--s-4); font-variant-numeric: tabular-nums; }
@@ -141,7 +141,7 @@ pre code { color: #323232; }
141141.screen .apps a:hover img { transform: scale(1.06); }
142142.screen .apps span:not(.blank) { margin-top: var(--s-2); white-space: nowrap; }
143143.screen .blank { display: block; background: rgba(255, 255, 255, .18); border: 1px dashed rgba(255, 255, 255, .5); }
144.screen .dock { margin-top: auto; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: var(--r-lg); padding: var(--s-4); display: flex; justify-content: space-around; }
144.screen .dock { margin-top: auto; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: calc(var(--r-device) - var(--s-3) - var(--s-5)); padding: var(--s-4); display: flex; justify-content: space-around; }
145145.screen .dock a { color: #fff; text-decoration: none; font-size: var(--t-xs); display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
146146.screen .dock i { width: 56px; height: 56px; border-radius: var(--r-icon); display: grid; place-items: center; font-style: normal; font-weight: var(--w-bold); font-size: var(--t-md); color: #fff; }
147147.d-blog { background: #f3efe6; color: #1c1e24 !important; }
@@ -220,7 +220,7 @@ pre code { color: #323232; }
220220.w-hosted .w-num { margin: 0; font-size: var(--t-title); line-height: 1; font-weight: var(--w-bold); letter-spacing: -.04em; color: #fff; }
221221.w-hosted p { margin: var(--s-1) 0 var(--s-4); font-size: var(--t-sm); }
222222.w-hosted ul { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; }
223.w-hosted ul a { display: inline-block; padding: var(--hit) var(--s-3); border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: var(--t-xs); }
223.w-hosted ul a { display: inline-block; padding: var(--hit) var(--s-3); border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-size: var(--t-xs); }
224224.w-hosted ul a:hover { background: rgba(255, 255, 255, .24); }
225225.w-elsewhere li { padding: var(--s-1) 0; }
226226.w-elsewhere a { color: var(--fg); text-decoration: none; font-weight: var(--w-medium); }
@@ -243,7 +243,7 @@ pre code { color: #323232; }
243243.blog-head p { margin: var(--s-4) 0 0; color: var(--soft); font-size: var(--t-md); max-width: 38rem; }
244244kbd { font-family: var(--mono); font-size: .85em; background: var(--raise); border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: var(--r-xs); padding: .05em .4em; color: var(--fg); }
245245.chips { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
246.chips a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-pill); background: var(--raise); color: var(--fg); text-decoration: none; font-weight: var(--w-medium); font-size: var(--t-sm); }
246.chips a { display: inline-block; padding: var(--hit) var(--s-4); border-radius: var(--r-sm); background: var(--raise); color: var(--fg); text-decoration: none; font-weight: var(--w-medium); font-size: var(--t-sm); }
247247.chips a:hover { background: var(--fg); color: var(--bg); }
248248.post-cards { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); }
249249.post-cards a { display: flex; flex-direction: column; height: 100%; padding: var(--s-5) var(--s-5) var(--s-6); border-radius: var(--r-lg); background: var(--raise); color: var(--fg); text-decoration: none; transition: transform .25s var(--ease-out); }