Repository navigation
style(website): kbd, install-node width and nested collapsible indentation - #1699
Merged
Merged
Conversation
…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]>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the styles for the help sections merged in #1684, #1688 and #1689. Only
website/public/assets/styles.csschanges:<kbd>: key styling using the site's line, soft-background and monospace tokens. Used by the Get started key combos..page-heading .evidence-details { max-width: 730px; }keeps the Get started#install-nodecollapsible at the lede's width. It is currently the only collapsible in a page heading..evidence-details[open]::details-contentindents 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-contentsupport (before Chrome 131, Safari 18.4 and Firefox 143) show the content unindented.The indentation also applies to the one-level
.evidence-detailscollapsibles onfirst-investigation/,guides/javascript/and theshowcase/pages for Aegis, CTF, DX-Ball, Notion and TH04. The home page uses.home-evidence-detailsand is unaffected.Validation
python3 scripts/website.py check: site verification passed. Four maintenance regression tests failed locally, and they fail the same way on unmodifiedmain.oxfmt --checkpasses.🤖 Generated with Claude Code