James Peret's blog. Built with Jekyll and the Mikey theme.

main.scss 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: Helvetica, Arial, sans-serif;
  7. $base-font-size: 16px;
  8. $small-font-size: $base-font-size * 0.875;
  9. $base-line-height: 1.5;
  10. $spacing-unit: 30px;
  11. $text-color: #111;
  12. $background-color: #fdfdfd;
  13. $brand-color: #2a7ae2;
  14. $grey-color: #828282;
  15. $grey-color-light: lighten($grey-color, 40%);
  16. $grey-color-dark: darken($grey-color, 25%);
  17. // Width of the content area
  18. $content-width: 800px;
  19. $on-palm: 600px;
  20. $on-laptop: 800px;
  21. // Using media queries with like this:
  22. // @include media-query($on-palm) {
  23. // .wrapper {
  24. // padding-right: $spacing-unit / 2;
  25. // padding-left: $spacing-unit / 2;
  26. // }
  27. // }
  28. @mixin media-query($device) {
  29. @media screen and (max-width: $device) {
  30. @content;
  31. }
  32. }
  33. // Import partials from `sass_dir` (defaults to `_sass`)
  34. @import
  35. "base",
  36. "layout",
  37. "syntax-highlighting"
  38. ;