_style.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. h1, .h1,
  2. h2, .h2,
  3. h3, .h3,
  4. h4, .h4,
  5. h5, .h5,
  6. h6, .h6 {
  7. @include font-family( map-deep-get($config-heading, "font", "family") );
  8. font-weight: #{map-deep-get($config-heading, "font", "weight")};
  9. clear: both;
  10. }
  11. h1, .h1 {
  12. font-size: #{map-deep-get($config-heading, "font", "size", "h1")};
  13. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h1")};
  14. line-height: #{map-deep-get($config-heading, "font", "line-height", "h1")};
  15. }
  16. h2, .h2 {
  17. font-size: #{map-deep-get($config-heading, "font", "size", "h2")};
  18. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h2")};
  19. line-height: #{map-deep-get($config-heading, "font", "line-height", "h2")};
  20. }
  21. h3, .h3 {
  22. font-size: #{map-deep-get($config-heading, "font", "size", "h3")};
  23. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h3")};
  24. line-height: #{map-deep-get($config-heading, "font", "line-height", "h3")};
  25. }
  26. h4, .h4 {
  27. font-size: #{map-deep-get($config-heading, "font", "size", "h4")};
  28. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h4")};
  29. line-height: #{map-deep-get($config-heading, "font", "line-height", "h4")};
  30. }
  31. h5, .h5 {
  32. font-size: #{map-deep-get($config-heading, "font", "size", "h5")};
  33. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h5")};
  34. line-height: #{map-deep-get($config-heading, "font", "line-height", "h5")};
  35. }
  36. h6, .h6 {
  37. font-size: #{map-deep-get($config-heading, "font", "size", "h6")};
  38. letter-spacing: #{map-deep-get($config-heading, "font", "letter-spacing", "h6")};
  39. line-height: #{map-deep-get($config-heading, "font", "line-height", "h6")};
  40. }