From 839eb32d1517163b3e0a6ce01395c1842c9e3404 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 22 Aug 2026 17:58:14 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Stop=20boxing=20every=20inline?= =?UTF-8?q?=20code=20word=20in=20docs=20prose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `.doc :not(pre) > code` ruled and padded every inline `` in documentation body text. `main class="doc"` wraps every /docs page, so this hit every `meta`, `exec`, `--journal`, and similar term in running prose — a sentence with two or three of them reads as a chain of boxes rather than a sentence. Drop the border and padding. Keep the mono face, bump to weight 700, and keep --ink for contrast — the same treatment `Term` in components/Prose.tsx already uses for inline mono terms on the landing page, so docs prose now matches how the rest of the site treats an inline code word: distinguished by weight and font, not a box. Fenced code blocks are untouched (`:not(pre)` already excluded them), as are `.command`, `.code-panel`, and the docs sidebar. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_0125zbFPKdEhKdUJxuRufpfj --- site/assets/styles.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/site/assets/styles.css b/site/assets/styles.css index c4a5cd4f7..616439ae3 100644 --- a/site/assets/styles.css +++ b/site/assets/styles.css @@ -611,9 +611,11 @@ code { /* ------------------------------------------------------------------ * * prose (.doc) * ------------------------------------------------------------------ */ +/* Matches Term in components/Prose.tsx: mono, bold, --ink, no box. A ruled + * box reads fine on a button or a card; repeated dozens of times inside a + * paragraph it reads as a chain of boxes instead of a sentence. */ .doc :not(pre) > code { - border: var(--rule) solid var(--line); - padding: 0.05em 0.3em; + font-weight: 700; font-size: 0.88em; color: var(--ink); }