style(website): kbd, install-node width and nested collapsible indentation (#1699)
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
57c5acac2e
commit
4353089c67
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user