Skip to content

style(website): kbd, install-node width and nested collapsible indentation - #1699

Merged
kaoru0822-kitauji merged 1 commit into
mainfrom
style/website-help-sections
Oct 11, 2026
Merged

kaoru0822-kitauji merged 1 commit into
mainfrom
style/website-help-sections

Conversation

@kaoru0822-kitauji

Copy link
Copy Markdown
Collaborator

Summary

Adds the styles for the help sections merged in #1684, #1688 and #1689. Only website/public/assets/styles.css changes:

  • <kbd>: key styling using the site's line, soft-background and monospace tokens. Used by the Get started key combos.
  • Node.js help width: .page-heading .evidence-details { max-width: 730px; } keeps the Get started #install-node collapsible at the lede's width. It is currently the only collapsible in a page heading.
  • Collapsible indentation: .evidence-details[open]::details-content indents open content by 1rem with a 1px left border (0.65rem at ≤640px), so nested levels step in at any depth without per-instance classes. Browsers without ::details-content support (before Chrome 131, Safari 18.4 and Firefox 143) show the content unindented.

The indentation also applies to the one-level .evidence-details collapsibles on first-investigation/, guides/javascript/ and the showcase/ pages for Aegis, CTF, DX-Ball, Notion and TH04. The home page uses .home-evidence-details and is unaffected.

Validation

  • python3 scripts/website.py check: site verification passed. Four maintenance regression tests failed locally, and they fail the same way on unmodified main.
  • oxfmt --check passes.
  • Not previewed in a browser: rendering, mobile widths and the affected showcase pages are unverified.

🤖 Generated with Claude Code

…ation

Style <kbd> 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 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@kaoru0822-kitauji
kaoru0822-kitauji merged commit 4353089 into main Oct 11, 2026
23 of 25 checks passed
@kaoru0822-kitauji
kaoru0822-kitauji deleted the style/website-help-sections branch October 11, 2026 04:32
@morluto morluto added enhancement New feature or request area: setup Setup, packaging, upgrade, install, Doctor, and client registration labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: setup Setup, packaging, upgrade, install, Doctor, and client registration enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants