IFFDAYIFFDAYDesign
Foundations

Layout

A 1175px content width, 24px gutters, a 56px header and two breakpoints.

Measures

TokenValueUse
--container1175pxThe widest the content gets; the header, the footer and every page body align to it
--gutter24px, 16px on phonesThe space between content and the window edge; Shelf uses it to run past the gutter on phones
--header-height56pxThe header height; sticky bars on festival pages stop under it, and festival banners reach up behind it

Breakpoints

There are two, each written in the CSS that needs it; they are not tokens.

WidthWhat changes
≤ 1020pxFive- and six-column film grids drop to four columns
≤ 767pxPhones: 16px gutters, three-column film grids, Shelf and CategoryTiles run to the screen edge, dialogs become bottom sheets and the main navigation moves into NavigationDrawer

Spacing

There are no spacing tokens. Each component sets its own spacing in its CSS: 7px between a button’s icon and text, 28px between rows and 18px between columns of a film grid, 52px between sections of a page (.page-section). For a new page, start from a similar existing page.