main.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. $brand-yellow: #FFC907;
  22. $grey-color: #828282;
  23. $grey-color-light: lighten($grey-color, 40%);
  24. $grey-color-dark: darken($grey-color, 25%);
  25. // Width of the content area
  26. $content-width: 1000px;
  27. $on-palm: 600px;
  28. $on-laptop: 800px;
  29. // Use media queries like this:
  30. // @include media-query($on-palm) {
  31. // .wrapper {
  32. // padding-right: $spacing-unit / 2;
  33. // padding-left: $spacing-unit / 2;
  34. // }
  35. // }
  36. @mixin media-query($device) {
  37. @media screen and (max-width: $device) {
  38. @content;
  39. }
  40. }
  41. // Import partials from `sass_dir` (defaults to `_sass`)
  42. @import
  43. "fonts",
  44. "base",
  45. "layout",
  46. "syntax-highlighting"
  47. ;