Layout
Container
The page frame: a centered container and vertically spaced sections that every page is built from.
Examples
Container widths
.container (max 1240 px)
.container .container-narrow (820 px, text pages)
.container .container-wide (1440 px, listings with a map)
Change --container-max in tokens.css or layout.css to resize the whole site at once.
Sections
.section-sm
.section .section-surface
.section .section-subtle
.section .section-brand
Alternate plain and tinted sections down the page so each block reads as its own band.
Page skeleton
...
...
This block is code only, to copy as a starting point.
Classes
| Class | Purpose |
|---|---|
.container | Centered column, max 1240 px, 24 px side padding. |
.container-narrow / .container-wide | 820 px for articles and forms, 1440 px for wide layouts. |
.section / .section-sm / .section-lg | Vertical spacing: 96, 58 and 134 px (smaller on phones). |
.section-surface / .section-subtle / .section-brand | Background bands: light green, sand, dark green. |