-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid-settings.scss
63 lines (56 loc) · 1.53 KB
/
grid-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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//================================================*\
//* gridS CONFIGURATION FILE */
//----------------------------------------------------
// This file holds all the configurable aspects of
// the grid class system
//================================================*/
$grid-prefix: '' !default;
$grid-page-width: 1200px !default;
//IE8 can't do transparent borders.
//This defines what the default color for gutters is in IE.
$grid-gutter-ie-fallback: #fff !default;
// Support for browsers that don't support flexbox is disabled by default
$grid-legacy-support: false !default;
// Support for browsers that support calc() is enabled by default
$grid-calc-support: not $grid-legacy-support !default;
//You can alter the available grid gutter sizes here
//usage: class="grid grid--gutter-moduleName"
$grid-cell-gutters: () !default;
//Set the points at which columns change widths
$grid-break-points: (
2: //2 column grid
(
// At 600px wide screen and below, make it a 1 column grid
1: 600px,
),
3: //3 column grid
(
// Use mq-scss syntax if preferred
2: (max, 960px),
//
1: (max, 600px),
),
4: //4 column grid
(
2: 960px,
1: 480px,
),
5: //5 column grid
(
3: 960px,
2: 600px,
1: 480px,
),
6: //6 column grid
(
3: 960px,
2: 600px,
1: 480px,
),
) !default;
//if $grid-bp-list is set to "false", it creates a set of 6 "false" statements so grid system can have 6 columns
$grid-bp-list: if(
$grid-break-points == false,
false false false false false false,
$grid-break-points
);