From 4353089c670070ef918f88f7b131ed240feb83dd Mon Sep 17 00:00:00 2001 From: Kaoru0822 Date: Sat, 10 Oct 2026 21:32:32 -0700 Subject: [PATCH] style(website): kbd, install-node width and nested collapsible indentation (#1699) Style keys, cap the Get started Node.js help section at the lede width, and indent open .evidence-details content with a subtle left border so nested collapsibles step in at any depth. Co-authored-by: Claude Opus 5.5 --- website/public/assets/styles.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/website/public/assets/styles.css b/website/public/assets/styles.css index fe8539d0c..5e566f39c 100644 --- a/website/public/assets/styles.css +++ b/website/public/assets/styles.css @@ -50,6 +50,17 @@ code { font-size: 0.9em; overflow-wrap: anywhere; } +kbd { + padding: 0.05rem 0.35rem; + border: 1px solid var(--line); + border-bottom-width: 2px; + border-radius: 3px; + background: var(--soft); + color: var(--ink); + font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; + font-size: 0.85em; + white-space: nowrap; +} p { margin: 0 0 1.2rem; } @@ -610,6 +621,9 @@ pre code { .page-heading .lede { max-width: 730px; } +.page-heading .evidence-details { + max-width: 730px; +} .breadcrumb { margin-bottom: 2rem; color: var(--muted); @@ -1031,6 +1045,10 @@ pre code { margin-top: 1.5rem; font-size: 1.1rem; } +.evidence-details[open]::details-content { + padding-left: 1rem; + border-left: 1px solid var(--line); +} .evidence-table-wrap { overflow-x: auto; margin-block: 1rem; @@ -2419,6 +2437,9 @@ pre code { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; } + .evidence-details[open]::details-content { + padding-left: 0.65rem; + } .guide-entry { grid-template-columns: 1fr; gap: 0.7rem;