_typography.scss 1010 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. line-height: theme('lineHeight.tight');
  16. color: theme('colors.primary.DEFAULT');
  17. }
  18. h1 {
  19. font-size: 1.5em;
  20. font-weight: 700;
  21. }
  22. h2 {
  23. font-size: 1.3em;
  24. font-weight: 600;
  25. }
  26. p {
  27. margin-top: 0;
  28. }
  29. a {
  30. color: $color-link;
  31. text-decoration: none;
  32. &:hover {
  33. color: $color-link-hover;
  34. }
  35. }
  36. code {
  37. box-shadow: inset 0 0 4px 0 theme('colors.black-20');
  38. background-color: $color-white;
  39. font-family: $font-mono;
  40. padding: 2px 5px;
  41. }
  42. kbd {
  43. border-radius: 3px;
  44. font-family: $font-sans;
  45. border: 1px solid $color-grey-2;
  46. border-color: theme('colors.black-20');
  47. padding: 0.3em 0.5em;
  48. }
  49. pre {
  50. font-family: $font-mono;
  51. }
  52. dl,
  53. dt,
  54. dd {
  55. padding: 0;
  56. margin: 0;
  57. }
  58. dl {
  59. margin-top: 1em;
  60. }
  61. dt {
  62. color: $color-grey-2;
  63. font-size: 0.9em;
  64. }
  65. dd {
  66. margin-bottom: 1em;
  67. }