2
0

_typography.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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: 700;
  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, Arial, sans-serif;
  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. color: $color-link;
  46. text-decoration: none;
  47. &:hover {
  48. color: $color-link-hover;
  49. }
  50. }
  51. code {
  52. box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, 0.2);
  53. background-color: $color-fieldset-hover;
  54. padding: 2px 5px;
  55. }
  56. kbd {
  57. border-radius: 3px;
  58. font-family: Open Sans, Arial, sans-serif;
  59. border: 1px solid $color-grey-2;
  60. border-color: rgba(0, 0, 0, 0.2);
  61. padding: 0.3em 0.5em;
  62. }
  63. dl,
  64. dt,
  65. dd {
  66. padding: 0;
  67. margin: 0;
  68. }
  69. dl {
  70. margin-top: 1em;
  71. }
  72. dt {
  73. color: $color-grey-2;
  74. text-transform: uppercase;
  75. font-size: 0.9em;
  76. }
  77. dd {
  78. margin-bottom: 1em;
  79. }