_typography.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. body {
  2. -webkit-font-smoothing: antialiased; // Do not remove!
  3. font-family: $font-sans;
  4. font-size: 85%;
  5. line-height: 1.5em;
  6. color: $color-text-base;
  7. }
  8. h1,
  9. h2,
  10. h3,
  11. h4,
  12. h5,
  13. h6 {
  14. font-weight: normal;
  15. }
  16. h1 {
  17. line-height: 1.3em;
  18. font-size: 1.5em;
  19. color: $color-grey-1;
  20. font-weight: 700;
  21. span {
  22. font-weight: 300;
  23. }
  24. }
  25. h2 {
  26. font-size: 1.3em;
  27. font-family: $font-sans;
  28. font-weight: 600;
  29. color: $color-grey-2;
  30. }
  31. p {
  32. margin-top: 0;
  33. }
  34. a {
  35. color: $color-link;
  36. text-decoration: none;
  37. &:hover {
  38. color: $color-link-hover;
  39. }
  40. }
  41. code {
  42. box-shadow: inset 0 0 4px 0 theme('colors.black-20');
  43. background-color: $color-white;
  44. font-family: $font-mono;
  45. padding: 2px 5px;
  46. }
  47. kbd {
  48. border-radius: 3px;
  49. font-family: $font-sans;
  50. border: 1px solid $color-grey-2;
  51. border-color: theme('colors.black-20');
  52. padding: 0.3em 0.5em;
  53. }
  54. pre {
  55. font-family: $font-mono;
  56. }
  57. dl,
  58. dt,
  59. dd {
  60. padding: 0;
  61. margin: 0;
  62. }
  63. dl {
  64. margin-top: 1em;
  65. }
  66. dt {
  67. color: $color-grey-2;
  68. font-size: 0.9em;
  69. }
  70. dd {
  71. margin-bottom: 1em;
  72. }