143 lines
2.8 KiB
CSS
143 lines
2.8 KiB
CSS
.page {
|
|
width: 100%;
|
|
margin-inline: auto;
|
|
padding: var(--space-6) var(--gutter) var(--space-8);
|
|
}
|
|
|
|
.narrow {
|
|
max-width: calc(var(--content-width-narrow) + 2 * var(--gutter));
|
|
}
|
|
|
|
.wide {
|
|
max-width: calc(var(--content-width-wide) + 2 * var(--gutter));
|
|
}
|
|
|
|
/* Secondary navigation of the shell's section, above the heading. */
|
|
.section-nav {
|
|
margin-bottom: var(--space-5);
|
|
}
|
|
|
|
/* The header closes with a hairline trace that starts at a node. */
|
|
.page-header {
|
|
position: relative;
|
|
display: grid;
|
|
gap: var(--space-3);
|
|
padding-bottom: var(--space-5);
|
|
border-bottom: var(--line-thin) solid var(--color-divider);
|
|
}
|
|
|
|
.page-header::after {
|
|
position: absolute;
|
|
bottom: -0.25rem;
|
|
left: 0;
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
border-radius: 50%;
|
|
content: "";
|
|
background: var(--color-accent);
|
|
}
|
|
|
|
/* Mono label above the title, steel on canvas 6.19:1. */
|
|
.eyebrow {
|
|
color: var(--color-text-secondary);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--font-size-xs);
|
|
font-weight: var(--font-weight-medium);
|
|
letter-spacing: var(--letter-spacing-label);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.title {
|
|
color: var(--color-text-strong);
|
|
font-size: var(--font-size-title);
|
|
font-weight: var(--font-weight-medium);
|
|
letter-spacing: var(--letter-spacing-display);
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.lead {
|
|
max-width: 42rem;
|
|
color: var(--color-text-secondary);
|
|
font-size: 1.0625rem;
|
|
line-height: var(--line-height-body);
|
|
}
|
|
|
|
.page-body {
|
|
display: grid;
|
|
gap: var(--space-7);
|
|
padding-top: var(--space-6);
|
|
}
|
|
|
|
/* A section hangs on a circuit trace: a node at the heading and a hairline
|
|
* down the left edge that turns with a rounded corner. */
|
|
.section {
|
|
position: relative;
|
|
display: grid;
|
|
gap: var(--space-3);
|
|
padding-left: var(--space-5);
|
|
}
|
|
|
|
.connector {
|
|
position: absolute;
|
|
top: 0.7em;
|
|
bottom: 0;
|
|
left: 0.1875rem;
|
|
width: var(--space-3);
|
|
border-bottom-left-radius: var(--radius-s);
|
|
border-left: var(--line-thin) solid var(--color-divider);
|
|
}
|
|
|
|
.connector::before {
|
|
position: absolute;
|
|
top: -0.25rem;
|
|
left: calc(-0.25rem - 0.5px);
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
border: var(--line-thin) solid var(--color-accent);
|
|
border-radius: 50%;
|
|
content: "";
|
|
background: var(--color-canvas);
|
|
}
|
|
|
|
.section-title {
|
|
color: var(--color-text-strong);
|
|
font-size: var(--font-size-xl);
|
|
font-weight: var(--font-weight-medium);
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.section-description {
|
|
color: var(--color-text-secondary);
|
|
}
|
|
|
|
.section-body {
|
|
display: grid;
|
|
gap: var(--space-4);
|
|
padding-top: var(--space-2);
|
|
}
|
|
|
|
.stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--stack-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.stack[data-direction="row"] {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.stack[data-wrap] {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stack[data-align="start"] {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.stack[data-align="center"] {
|
|
align-items: center;
|
|
}
|