_base.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. *,
  2. *:after,
  3. *:before {
  4. box-sizing: inherit;
  5. }
  6. html {
  7. box-sizing: border-box;
  8. font-size: 62.5%;
  9. }
  10. body {
  11. color: $fg-color;
  12. background-color: $bg-color;
  13. font-family: $text-font-family;
  14. font-size: 1.6em;
  15. font-weight: 300;
  16. line-height: 1.8em;
  17. @media only screen and (max-width : 768px) {
  18. font-size: 1.6em;
  19. line-height: 1.6em;
  20. }
  21. }
  22. a {
  23. font-weight: 300;
  24. color: $link-color;
  25. text-decoration: none;
  26. &:focus,
  27. &:hover {
  28. text-decoration: underline;
  29. }
  30. }
  31. p {
  32. margin: 2.0rem 0 2.0rem 0;
  33. }
  34. h1,
  35. h2,
  36. h3,
  37. h4,
  38. h5,
  39. h6 {
  40. font-family: $heading-font-family;
  41. font-weight: 700;
  42. color: $alt-fg-color;
  43. margin: 6.4rem 0 3.2rem 0;
  44. }
  45. h1 {
  46. font-size: 3.2rem;
  47. line-height: 3.6rem;
  48. @media only screen and (max-width : 768px) {
  49. font-size: 3.0rem;
  50. line-height: 3.4rem;
  51. }
  52. }
  53. h2 {
  54. font-size: 2.8rem;
  55. line-height: 3.2rem;
  56. @media only screen and (max-width : 768px) {
  57. font-size: 2.6rem;
  58. line-height: 3.0rem;
  59. }
  60. }
  61. h3 {
  62. font-size: 2.4rem;
  63. line-height: 2.8rem;
  64. @media only screen and (max-width : 768px) {
  65. font-size: 2.2rem;
  66. line-height: 2.6rem;
  67. }
  68. }
  69. h4 {
  70. font-size: 2.2rem;
  71. line-height: 2.6rem;
  72. @media only screen and (max-width : 768px) {
  73. font-size: 2.0rem;
  74. line-height: 2.4rem;
  75. }
  76. }
  77. h5 {
  78. font-size: 2.0rem;
  79. line-height: 2.4rem;
  80. @media only screen and (max-width : 768px) {
  81. font-size: 1.8rem;
  82. line-height: 2.2rem;
  83. }
  84. }
  85. h6 {
  86. font-size: 1.8rem;
  87. line-height: 2.2rem;
  88. @media only screen and (max-width : 768px) {
  89. font-size: 1.6rem;
  90. line-height: 2.0rem;
  91. }
  92. }
  93. b, strong {
  94. font-weight: 700;
  95. }
  96. pre {
  97. display: block;
  98. font-family: $code-font-family;
  99. font-size: 1.6rem;
  100. font-weight: 400;
  101. line-height: 2.6rem;
  102. margin: 2.0rem 0 2.0rem 0;
  103. padding: 2.0rem;
  104. overflow-x: auto;
  105. code {
  106. background-color: inherit;
  107. color: inherit;
  108. }
  109. }
  110. code {
  111. font-family: $code-font-family;
  112. font-size: 1.6rem;
  113. font-weight: 400;
  114. background-color: $alt-bg-color;
  115. color: $fg-color;
  116. padding: 0.2rem 0.4rem 0.2rem 0.4rem;
  117. }
  118. blockquote {
  119. border-left: 2px solid $alt-bg-color;
  120. padding-left: 2.0rem;
  121. line-height: 2.2rem;
  122. font-weight: 400;
  123. font-style: italic;
  124. }
  125. th, td {
  126. padding: 1.6rem;
  127. }
  128. table {
  129. border-collapse: collapse;
  130. }
  131. table td, table th {
  132. border: 2px solid $alt-fg-color;
  133. }
  134. table tr:first-child th {
  135. border-top: 0;
  136. }
  137. table tr:last-child td {
  138. border-bottom: 0;
  139. }
  140. table tr td:first-child,
  141. table tr th:first-child {
  142. border-left: 0;
  143. }
  144. table tr td:last-child,
  145. table tr th:last-child {
  146. border-right: 0;
  147. }
  148. img {
  149. max-width: 100%;
  150. }
  151. .wrapper {
  152. display: flex;
  153. flex-direction: column;
  154. min-height: 100vh;
  155. width: 100%;
  156. }
  157. .container {
  158. margin: 0 auto;
  159. max-width: 90.0rem;
  160. width: 100%;
  161. padding-left: 2.0rem;
  162. padding-right: 2.0rem;
  163. }
  164. .fab {
  165. font-weight: 400;
  166. }
  167. .fas {
  168. font-weight: 700;
  169. }
  170. .float-right {
  171. float: right;
  172. }
  173. .float-left {
  174. float: left;
  175. }
  176. .fab {
  177. font-weight: 400;
  178. }
  179. .fas {
  180. font-weight: 900;
  181. }