1
0

_base.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. display: inline-block;
  107. background-color: inherit;
  108. color: inherit;
  109. }
  110. }
  111. code {
  112. font-family: $code-font-family;
  113. font-size: 1.6rem;
  114. font-weight: 400;
  115. background-color: $alt-bg-color;
  116. color: $fg-color;
  117. padding: 0.2rem 0.4rem 0.2rem 0.4rem;
  118. }
  119. blockquote {
  120. border-left: 2px solid $alt-bg-color;
  121. padding-left: 2.0rem;
  122. line-height: 2.2rem;
  123. font-weight: 400;
  124. font-style: italic;
  125. }
  126. th, td {
  127. padding: 1.6rem;
  128. }
  129. table {
  130. border-collapse: collapse;
  131. }
  132. table td, table th {
  133. border: 2px solid $alt-fg-color;
  134. }
  135. table tr:first-child th {
  136. border-top: 0;
  137. }
  138. table tr:last-child td {
  139. border-bottom: 0;
  140. }
  141. table tr td:first-child,
  142. table tr th:first-child {
  143. border-left: 0;
  144. }
  145. table tr td:last-child,
  146. table tr th:last-child {
  147. border-right: 0;
  148. }
  149. img {
  150. max-width: 100%;
  151. }
  152. .wrapper {
  153. display: flex;
  154. flex-direction: column;
  155. min-height: 100vh;
  156. width: 100%;
  157. }
  158. .container {
  159. margin: 0 auto;
  160. max-width: 90.0rem;
  161. width: 100%;
  162. padding-left: 2.0rem;
  163. padding-right: 2.0rem;
  164. }
  165. .fab {
  166. font-weight: 400;
  167. }
  168. .fas {
  169. font-weight: 700;
  170. }
  171. .float-right {
  172. float: right;
  173. }
  174. .float-left {
  175. float: left;
  176. }
  177. .fab {
  178. font-weight: 400;
  179. }
  180. .fas {
  181. font-weight: 900;
  182. }