forked from propublica/column-setter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_column-settings.scss
41 lines (36 loc) · 1.53 KB
/
_column-settings.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// ------------------------------------------------------------
// GRID PROPORTIONS
// ------------------------------------------------------------
// Customize your grid’s proportions by editing the values of
// the four variables below. Use only numbers for values, no
// units (e.g. "10", not "10px"). IMPORTANT: Don't delete any
// of these variables! For any you don't need to use, just
// assign a value of 0.
$mar: 4; // Margin width
$col: 4; // Column width
$gut: 2; // Gutter width
$pad: 1; // Padding width
$grid-color: red; // Grid overlay color
// ------------------------------------------------------------
// BREAKPOINTS
// ------------------------------------------------------------
// You can define as many (or as few) breakpoints as you like,
// and name them whatever you want. Just be sure to:
//
// 1. use the syntax shown below,
// 2. keep the breakpoints in order (smallest to largest), and
// 3. include a name (e.g. "xl"), column count ("cols",
// unitless), and minimum width ("min-width", with units)
// for each breakpoint
//
// All breakpoints use the same proportions specified in the
// variables above, but margin widths can be optionally
// customized for each breakpoint.
$breakpoints: (
xs: (cols: 4, min-width: 0, margin: $pad), // Includes optional custom margin
sm: (cols: 6, min-width: 30em, margin: $gut), // Includes optional custom margin
md: (cols: 8, min-width: 40em),
lg: (cols: 12, min-width: 50em),
xl: (cols: 16, min-width: 60em)
);
$max-width: 70em; // For no max-width, use $max-width: null;