bigbiff | d006b30 | 2015-03-06 18:36:03 -0500 | [diff] [blame] | 1 | --- |
| 2 | # Only the main Sass file needs front matter (the dashes are enough) |
| 3 | --- |
| 4 | @charset "utf-8"; |
| 5 | |
| 6 | |
| 7 | |
| 8 | // Our variables |
| 9 | $base-font-family: Helvetica, Arial, sans-serif; |
| 10 | $base-font-size: 16px; |
| 11 | $small-font-size: $base-font-size * 0.875; |
| 12 | $base-line-height: 1.5; |
| 13 | |
| 14 | $spacing-unit: 30px; |
| 15 | |
| 16 | $text-color: #111; |
| 17 | $background-color: #fdfdfd; |
| 18 | $brand-color: #2a7ae2; |
| 19 | |
| 20 | $grey-color: #828282; |
| 21 | $grey-color-light: lighten($grey-color, 40%); |
| 22 | $grey-color-dark: darken($grey-color, 25%); |
| 23 | |
| 24 | // Width of the content area |
| 25 | $content-width: 800px; |
| 26 | |
| 27 | $on-palm: 600px; |
| 28 | $on-laptop: 800px; |
| 29 | |
| 30 | |
| 31 | |
| 32 | // Using media queries with like this: |
| 33 | // @include media-query($on-palm) { |
| 34 | // .wrapper { |
| 35 | // padding-right: $spacing-unit / 2; |
| 36 | // padding-left: $spacing-unit / 2; |
| 37 | // } |
| 38 | // } |
| 39 | @mixin media-query($device) { |
| 40 | @media screen and (max-width: $device) { |
| 41 | @content; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | |
| 46 | |
| 47 | // Import partials from `sass_dir` (defaults to `_sass`) |
| 48 | @import |
| 49 | "base", |
| 50 | "layout", |
| 51 | "syntax-highlighting" |
| 52 | ; |