| 1 |
// Grids |
| 2 |
// |
| 3 |
// Wyrm uses Bourbon's [Neat grid system](http://neat.bourbon.io) with `$border-box-sizing: true`. Please visit their site |
| 4 |
// for full documenation. Wyrm's `+media()` breakpoint settings are set as follows in |
| 5 |
// `wyrm_core/_grid_settings.sass`. |
| 6 |
// |
| 7 |
// * `+media($desktop-wide)` is 12 columns, min-width: 1400px wide. |
| 8 |
// * `+media($desktop)` is 12 columns, min-width: 769px wide. |
| 9 |
// * `+media($tablet)` is 8 columns, max-width: 768px. |
| 10 |
// * `+media($mobile)` is 4 columns, max-width: 480px. |
| 11 |
// |
| 12 |
// Because Wyrm is used in a couple different Ember setups, we added the `+omega-type` mixin to `wyrm_core/neat_extra.sass`. |
| 13 |
// It's essentially the same as Neat's `+omega` mixin, but uses nth-of-type to make play nice with Ember's love of adding |
| 14 |
// additional DOM objects in between your constructed markup. |
| 15 |
// |
| 16 |
// Markup: |
| 17 |
// <div class="grid-example"> |
| 18 |
// <p>+outer-container applied to this wrapping grid.</p> |
| 19 |
// <aside>+span-columns(4)</aside> |
| 20 |
// <section>+span-columns(8) +omega-type</section> |
| 21 |
// </div> |
| 22 |
// |
| 23 |
// Styleguide 5.0 |
| 24 |
|
| 25 |
|
| 26 |
@import "neat-helpers" |
| 27 |
|
| 28 |
$column: golden-ratio(1em, 3) !default |
| 29 |
$gutter: golden-ratio(1em, 1) !default |
| 30 |
$grid-columns: 12 !default |
| 31 |
$max-width: 100% !default |
| 32 |
$border-box-sizing: true !default |
| 33 |
$default-feature: min-width |
| 34 |
$default-layout-direction: LTR !default |
| 35 |
|
| 36 |
$mobile: new-breakpoint(max-width 480px 4) |
| 37 |
$tablet: new-breakpoint(max-width 768px 8) |
| 38 |
$desktop: new-breakpoint(min-width 769px 12) |
| 39 |
$desktop-wide: new-breakpoint(min-width 1200px 12) |
| 40 |
$desktop-wider: new-breakpoint(min-width 1400px 12) |
| 41 |
|