Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 2.91 KB

GIST.md

File metadata and controls

8 lines (8 loc) · 2.91 KB
Main-site width class Breakpoint (CSS px) Navigation [layout] Layout columns [layout] Margin (each side) [layout] Body [layout] Gutter [spacing] Section padding (each end) [spacing] Major group gap [spacing] Paragraph / content gap [spacing] Related-item gap [spacing] Card inner padding [font] Page heading size [font] Section heading size [font] Body text size
Base width < 768 Mobile sheet, 18rem Component-defined; team: 2 24px content padding Scaling; max-w-7xl (1280px cap) Component-defined: commonly 24px / 48px Component-defined; not a uniform section-padding system Common section top margins: 96px / 144px Commonly 24px Commonly 12px Component-defined text-t0: 48px text-t1: 30px Default 16px; supporting copy varies
md 768 ≤ width < 1024 Desktop sidebar, 16rem when expanded Component-defined; team: 3 24px content padding plus centering surplus Scaling within remaining width; 1280px cap Component-defined: commonly 24px / 48px Component-defined Common section top margins: 96px / 144px Commonly 24px Commonly 12px Component-defined text-t0: 48px text-t1: 30px Default 16px; supporting copy varies
lg 1024 ≤ width < 1280 Desktop sidebar, 16rem when expanded Landing/publication rows: 2; team: 3 24px content padding plus centering surplus Scaling within remaining width; 1280px cap Landing: 96px; publication rows: 48px Component-defined Common section top margins: 96px / 144px Commonly 24px Commonly 12px Component-defined text-t0: 48px text-t1: 30px Default 16px; supporting copy varies
xl 1280 ≤ width < 1792 Desktop sidebar, 16rem when expanded Team: 4; event grid: 2 24px content padding plus centering surplus Scaling within remaining width; 1280px cap Component-defined: commonly 24px / 48px Component-defined Common section top margins: 96px / 144px Commonly 24px Commonly 12px Component-defined text-t0: 60px text-t1: 36px Default 16px; supporting copy varies
3xl width ≥ 1792 Desktop sidebar, 16rem when expanded Team: 5; event grid: 2 24px content padding plus centering surplus Scaling within remaining width; 1280px cap Component-defined: commonly 24px / 48px Component-defined Common section top margins: 96px / 144px Commonly 24px Commonly 12px Component-defined text-t0: 72px text-t1: 48px Default 16px; supporting copy varies
Special case All widths Per component / page No universal full-width grid Per component / page Landing uses available main width and h-svh; project pages define their own widths Per component / page Per component / page Per component / page Per component / page Per component / page Per component / page Per component / page Landing uses text-t1 for its main title Per component / page