main.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. # Only the main Sass file needs front matter (the dashes are enough)
  3. ---
  4. @charset "utf-8";
  5. // Our variables
  6. $base-font-family: Reforma2018, serif;
  7. $base-font-size: 20px;
  8. $base-font-weight: normal;
  9. $small-font-size: $base-font-size * 0.875;
  10. $base-line-height: 1.5;
  11. $header-font-family: lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  12. $header-line-height: 1.5;
  13. // array of font sizes and weights for h1, h2, h3, etc
  14. // note: both lists need to be the same length
  15. $header-font-size: 35px, 29px, 24px, 19px;
  16. $header-font-weight: bold, normal, normal, normal;
  17. $spacing-unit: 30px;
  18. $text-color: #111;
  19. $background-color: #fdfdfd;
  20. $brand-color: #2a7ae2;
  21. $grey-color: #828282;
  22. $grey-color-light: lighten($grey-color, 40%);
  23. $grey-color-dark: darken($grey-color, 25%);
  24. // Width of the content area
  25. $content-width: 1000px;
  26. $on-palm: 600px;
  27. $on-laptop: 800px;
  28. // Use media queries like this:
  29. // @include media-query($on-palm) {
  30. // .wrapper {
  31. // padding-right: $spacing-unit / 2;
  32. // padding-left: $spacing-unit / 2;
  33. // }
  34. // }
  35. @mixin media-query($device) {
  36. @media screen and (max-width: $device) {
  37. @content;
  38. }
  39. }
  40. // Import partials from `sass_dir` (defaults to `_sass`)
  41. @import
  42. "fonts",
  43. "base",
  44. "layout",
  45. "syntax-highlighting"
  46. ;