Vous êtes sur la page 1sur 1

Carbon Grid System XS (576px). S (768px).

M (992px) L (1200px) XL (1600px)

Gutters Global Header Exception


Screen width 768px = 20px gutters The Global header lives outside the bounds of this grid. The outer margins of the
Screen width < 768px = 10px gutters global header is always 20px from the edge of the page.

Global header margin: 20px


Columns
Column count: 12
Side Panel Exception

Any (left or right) side panel lives outside the bounds of this grid. The content
Margins
area of the grid (including the grid margins) is indented width of the panel from
768px: 5% left, 5% right. the left edge of the page.
<768px: 3% left, 3% right.
Grid area with left nav: page size minus 200px from left of page

Calculating Sketch layout settings for normal grid

Total Width:
width of artboard - [(width of artboard * margin %) * 2] = Total Width

Example:
Art board width = 1440px, margins @ 5%

1440 - [ (1440 * .05) * 2 ] = 1296

Oset:
width of artboard * margin % = Oset

Example:
Art board width = 1440px, margins @ 5%
1440 * .05 = 72

Calculating Sketch layout settings for grid


with left side panel

Total Width:
1. width of artboard - width of left panel = content area
2. (content area * margin %) * 2 = Y
3. content area - Y = Total Width

Example:
Artboard width=1440px, Margins @ 5%; left nav width=200px

1. 1440 - 200 = 1240


2. (1240 * .05) * 2 = 124
3. 1240 - 124 = 1116

Oset:
(content area * margin %) + width of left nav = Oset

Example:
Artboard width = 1440px; margins @ 5%; left nav width = 200px
(1240 * .05 ) + 200 = 262

Vous aimerez peut-être aussi