_elements.typography.scss 742 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * Site-wide typography
  3. */
  4. body {
  5. // Use system font stack:
  6. // https://css-tricks.com/snippets/css/system-font-stack/
  7. font-family: $global-font-family !important;
  8. $color: $color-text;
  9. }
  10. /**
  11. * Code-like elements.
  12. */
  13. pre,
  14. code,
  15. kbd,
  16. samp {
  17. font-family: $monospace;
  18. font-style: normal;
  19. }
  20. /**
  21. * Header styling
  22. */
  23. $header-font-family: $sans-serif !default;
  24. h1,
  25. h2,
  26. h3,
  27. h4,
  28. h5,
  29. h6 {
  30. margin: 2em 0 0.5em;
  31. line-height: 1.2;
  32. font-family: $header-font-family !important;
  33. font-weight: bold;
  34. }
  35. h1 {
  36. margin-top: 0;
  37. font-size: $type-size-3;
  38. }
  39. h2 {
  40. font-size: $type-size-4;
  41. }
  42. h3 {
  43. font-size: $type-size-5;
  44. }
  45. h4 {
  46. font-size: $type-size-6;
  47. }
  48. h5 {
  49. font-size: $type-size-6;
  50. }
  51. h6 {
  52. font-size: $type-size-6;
  53. }