| 1 |
$medium-screen: 1000px; |
| 2 |
|
| 3 |
$custom-neat-grid: ( |
| 4 |
columns: 12, |
| 5 |
gutter: 50px, |
| 6 |
media: $medium-screen, |
| 7 |
); |
| 8 |
|
| 9 |
$specific-neat-grid: ( |
| 10 |
columns: 12, |
| 11 |
gutter: 80px, |
| 12 |
media: "only screen and (min-width: 1000px) and (max-width: 1100px)", |
| 13 |
); |
| 14 |
|
| 15 |
|
| 16 |
$print-neat-grid: ( |
| 17 |
columns: 10, |
| 18 |
gutter: 20px, |
| 19 |
media: print, |
| 20 |
); |
| 21 |
|
| 22 |
.grid-column--media-3-to-6 { |
| 23 |
@include grid-column(3); |
| 24 |
|
| 25 |
&::before { |
| 26 |
content: "#{map-get($neat-grid, media)}"; |
| 27 |
} |
| 28 |
|
| 29 |
@include grid-media($custom-neat-grid, $specific-neat-grid, $print-neat-grid) { |
| 30 |
@include grid-column(6); |
| 31 |
|
| 32 |
&::before { |
| 33 |
content: "#{map-get($neat-grid, media)}"; |
| 34 |
} |
| 35 |
} |
| 36 |
} |