_typography.scss 1.1 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. text-transform: uppercase;
  20. color: $color-grey-1;
  21. font-weight: 700;
  22. span {
  23. text-transform: none;
  24. font-weight: 300;
  25. }
  26. }
  27. h2 {
  28. text-transform: uppercase;
  29. font-size: 1.3em;
  30. font-family: $font-sans;
  31. font-weight: 600;
  32. color: $color-grey-2;
  33. }
  34. p {
  35. margin-top: 0;
  36. }
  37. a {
  38. // @include transition(color 0.2s ease, background-color 0.2s ease);
  39. color: $color-link;
  40. text-decoration: none;
  41. &:hover {
  42. color: $color-link-hover;
  43. }
  44. }
  45. code {
  46. box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
  47. background-color: $color-fieldset-hover;
  48. padding: 2px 5px;
  49. }
  50. kbd {
  51. border-radius: 3px;
  52. font-family: $font-sans;
  53. border: 1px solid $color-grey-2;
  54. border-color: rgba(0, 0, 0, 0.2);
  55. padding: 0.3em 0.5em;
  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. text-transform: uppercase;
  69. font-size: 0.9em;
  70. }
  71. dd {
  72. margin-bottom: 1em;
  73. }