_typography.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @include webfont(Open Sans, opensans-light, 300, normal);
  2. @include webfont(Open Sans, opensans-regular, 400, normal);
  3. @include webfont(Open Sans, opensans-semibold, 600, normal);
  4. @include webfont(Open Sans, opensans-bold, 700, normal);
  5. @include webfont(Roboto Slab, robotoslab-regular, 400, normal);
  6. @include webfont(Roboto Slab, robotoslab-bold, 700, normal);
  7. body {
  8. -webkit-font-smoothing: antialiased; // Do not remove!
  9. font-family: Open Sans, Arial, sans-serif;
  10. font-size: 85%;
  11. line-height: 1.5em;
  12. color: $color-text-base;
  13. }
  14. h1,
  15. h2,
  16. h3,
  17. h4,
  18. h5,
  19. h6 {
  20. font-weight: normal;
  21. }
  22. h1 {
  23. line-height: 1.3em;
  24. font-size: 1.5em;
  25. text-transform: uppercase;
  26. color: $color-grey-1;
  27. font-weight: 600;
  28. span {
  29. text-transform: none;
  30. font-weight: 300;
  31. }
  32. }
  33. h2 {
  34. text-transform: uppercase;
  35. font-size: 1.3em;
  36. font-family: Open Sans;
  37. font-weight: 600;
  38. color: $color-grey-2;
  39. }
  40. p {
  41. margin-top: 0;
  42. }
  43. a {
  44. // @include transition(color 0.2s ease, background-color 0.2s ease);
  45. outline: none;
  46. color: $color-link;
  47. text-decoration: none;
  48. &:hover {
  49. color: $color-link-hover;
  50. }
  51. }
  52. code {
  53. box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
  54. background-color: $color-fieldset-hover;
  55. padding: 2px 5px;
  56. }
  57. kbd {
  58. border-radius: 3px;
  59. font-family: Open Sans, Arial, sans-serif;
  60. border: 1px solid $color-grey-2;
  61. border-color: rgba(0, 0, 0, 0.2);
  62. padding: 0.3em 0.5em;
  63. }
  64. dl,
  65. dt,
  66. dd {
  67. padding: 0;
  68. margin: 0;
  69. }
  70. dl {
  71. margin-top: 1em;
  72. }
  73. dt {
  74. color: $color-grey-2;
  75. text-transform: uppercase;
  76. font-size: 0.9em;
  77. }
  78. dd {
  79. margin-bottom: 1em;
  80. }