Class Reference

Structure

Class Reference

Structure

Page wrappers, content widths and section spacing.

How to use

Use one vertical section class and padding-global on the section. Choose section-md for sections with distinct backgrounds, such as alternating colors or background images. Choose section-tight for adjacent sections that share the same background. Select the class yourself; backgrounds are not detected automatically. Use content-wrapper with padding-none inside it. The wrapper controls maximum width, while the section controls the gutters.

Responsive behavior

Fluid variables scale spacing and widths with the viewport. A full-bleed section uses padding-x-none instead of padding-global. section-md and section-hero use --padding-section-y (--space-2xl): 60–120px per side. section-tight uses --padding-section-tight-y (--space-md): 32–60px per side, so two adjacent sections create 64–120px between their content. A padding-top-* or padding-bottom-* class can override one side of any section class.

Visual reference

Live examples use the installed class styles and your current design variables. Previews expand to show the full example; responsive classes follow the browser width.

.main-wrapperwidth: 100% · min-width: 0
.section-mdpadding-top: var(--padding-section-y) · padding-bottom: var(--padding-section-y)

Use for sections with distinct backgrounds, such as alternating colors or background images. Its default padding is 60–120px per side (--padding-section-y, which is --space-2xl).

.section-smpadding-top: var(--space-sm) · padding-bottom: var(--space-sm)
.section-tightpadding-top: var(--padding-section-tight-y) · padding-bottom: var(--padding-section-tight-y)

Use for adjacent sections that share the same background. Its default padding is 32–60px per side (--padding-section-tight-y, which is --space-md), so two adjacent sections create 64–120px between their content.

.section-lgpadding-top: var(--space-xl) · padding-bottom: var(--space-xl)
.section-heromin-height: 100svh · padding-top: var(--padding-section-y) · padding-bottom: var(--padding-section-y)

This section has a minimum height of 100svh: the small viewport height, with the browser controls visible. Unlike dvh, this height stays stable as browser controls appear or disappear. Its padding uses the standard --padding-section-y alias, like .section-md.

.padding-globalpadding-left: var(--padding-section-x) · padding-right: var(--padding-section-x)
.content-wrapper-fullwidth: 100% · max-width: none
.content-wrapper-320width: 100% · max-width: var(--layout-width-320) · margin-left: auto · margin-right: auto
.content-wrapper-480width: 100% · max-width: var(--layout-width-480) · margin-left: auto · margin-right: auto
.content-wrapper-640width: 100% · max-width: var(--layout-width-640) · margin-left: auto · margin-right: auto
.content-wrapper-768width: 100% · max-width: var(--layout-width-768) · margin-left: auto · margin-right: auto
.content-wrapper-960width: 100% · max-width: var(--layout-width-960) · margin-left: auto · margin-right: auto
.content-wrapper-1280width: 100% · max-width: var(--layout-width-1280) · margin-left: auto · margin-right: auto
.content-wrapper-1440width: 100% · max-width: var(--layout-width-1440) · margin-left: auto · margin-right: auto
.content-wrapper-1600width: 100% · max-width: var(--layout-width-1600) · margin-left: auto · margin-right: auto
.content-wrapper-1920width: 100% · max-width: var(--layout-width-1920) · margin-left: auto · margin-right: auto
.layout-rowdisplay: flex · flex-direction: row
.layout-columndisplay: flex · flex-direction: column
.content-wrapperwidth: 100% · max-width: var(--site-content-width) · margin-left: auto · margin-right: auto