type.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @import "vars";
  2. @import "mixins";
  3. body {
  4. background-color: $light;
  5. color: $medium;
  6. font-weight: 300;
  7. font-weight: 400;
  8. font-family: $main-font, sans-serif;
  9. font-weight: 300;
  10. font-size: 15px;
  11. line-height: 1.6;
  12. }
  13. hr {
  14. margin: auto;
  15. // margin-top: ($line-height*2)-1;
  16. // margin-bottom: $line-height*2;
  17. width: auto;
  18. border: none;
  19. border-top: 2px solid rgba(0,0,0,0.025);
  20. }
  21. h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  22. color: inherit;
  23. font-family: inherit;
  24. font-weight: 500;
  25. line-height: 1.3;
  26. margin-top: 0px;
  27. margin-bottom: 1em;
  28. // font-family: $main-font;
  29. display: block;
  30. &:last-child { margin-bottom: 0px; }
  31. }
  32. h1, .h1 { font-size: 54px; }
  33. h2, .h2 {font-size: 40px; }
  34. h3, .h3 {font-size: 30px; }
  35. h4, .h4 {font-size: 20px; }
  36. h5, .h5 {font-size: 16px; }
  37. h6, .h6 {font-size: 14px; }
  38. strong {font-weight: 500; }
  39. small {font-size: 75%; }
  40. a {
  41. text-decoration: none;
  42. color: $medium;
  43. }
  44. dl {
  45. background-color: rgba(0,0,0,0.05);
  46. color: rgba(136,136,136,1);
  47. border-radius: $radius;
  48. display: inline-block;
  49. margin-right: 5px;
  50. padding: 15px 25px;
  51. dt {
  52. font-weight: bold;
  53. }
  54. dd {
  55. padding: 0px;
  56. margin: 0px;
  57. }
  58. }
  59. ol, ul, p {
  60. font-size: 20px;
  61. line-height: 1.6;
  62. margin: 0px;
  63. margin-bottom: 1em;
  64. /*&:last-child {
  65. margin-bottom: 0px;
  66. }*/
  67. small {
  68. font-size: 80%;
  69. line-height: 170%;
  70. display: inline-block;
  71. }
  72. a {
  73. -ms-word-break: break-all;
  74. word-break: break-all;
  75. /* Non standard for webkit */
  76. word-break: break-word;
  77. -webkit-hyphens: auto;
  78. -moz-hyphens: auto;
  79. hyphens: auto;
  80. }
  81. b {
  82. font-weight: 700;
  83. }
  84. &.lead {
  85. font-weight: 200;
  86. font-size: 22px !important;
  87. line-height: 1.4;
  88. &.lead-lg { $font-size: 20px*1.5 !important; }
  89. &.lead-xl { font-size: 40px !important; }
  90. &.lead-xxl { font-size: 60px !important; }
  91. small { font-size: 60%; }
  92. b { font-weight: 600; }
  93. }
  94. }
  95. // ol, ul {padding-left: 20px; }
  96. // ol.lead {padding-left: 29px; }
  97. // ul.lead {padding-left: 23px; }