I · Foundations / 05
Space, shape and depth
The light, the marks and the materials everything else is made of.
Space, shape and depth#
A four-pixel scale, corners that say what a thing is, and warm shadows at dawn that deepen at twilight.
--wp-space-14px--wp-space-28px--wp-space-312px--wp-space-416px--wp-space-520px--wp-space-624px--wp-space-832px--wp-space-1040px--wp-space-1248px--wp-space-1664px--wp-space-2080px--wp-space-2496pxxs
6pxsm
10pxmd
14pxlg
20pxxl
28pxpill
999pxnotch
corner-shapeUse
Pills for things you press, soft corners for things that hold, notches for game objects (where the browser can cut them).
1
--wp-shadow-12
--wp-shadow-23
--wp-shadow-34
--wp-shadow-4Use
1 for cards, 2 on hover, 3 for popovers and menus, 4 for dialogs. One inner highlight, one warm cast.
Phone< 720pxOne column, sheets from the bottom, tools as icons
Tablet720–1279pxTwo columns; the places move into a menu sheet
Laptop1280–1599pxEvery place in the header; search and the character tighten
Desktop≥ 1600pxEverything spelled out
Use
Content to 1280px with a fluid gutter (16 to 32px); reading columns to 68 characters; components answer to their container, not the window.