You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

445 lines
6.6KB

  1. @font-face {
  2. font-family: 'Inter';
  3. font-display: auto;
  4. font-style: normal;
  5. font-weight: 400;
  6. src: url("https://rsms.me/inter/font-files/Inter-Regular.woff2") format("woff2"),
  7. url("https://rsms.me/inter/font-files/Inter-Regular.woff") format("woff");
  8. }
  9. @font-face {
  10. font-family: 'Inter';
  11. font-display: auto;
  12. font-style: normal;
  13. font-weight: 500;
  14. src: url("https://rsms.me/inter/font-files/Inter-Medium.woff2") format("woff2"),
  15. url("https://rsms.me/inter/font-files/Inter-Medium.woff") format("woff");
  16. }
  17. body {
  18. font-family: "Inter", sans-serif;
  19. font-weight: 400;
  20. color: #333;
  21. line-height: 1.8em;
  22. font-size: 17px;
  23. }
  24. a {
  25. color: #3700ff;
  26. text-decoration: none;
  27. word-break: break-word;
  28. }
  29. a:hover {
  30. border-bottom: 2px solid #3700ff;
  31. }
  32. html,button,input,select,textarea {
  33. color: #333;
  34. }
  35. ::-moz-selection {
  36. background: #3700ff;
  37. text-shadow: none;
  38. color: #fff;
  39. }
  40. ::selection {
  41. background: #3700ff;
  42. text-shadow: none;
  43. color: #fff;
  44. }
  45. hr {
  46. display: block;
  47. height: 1px;
  48. border: 0;
  49. border-top: 1px solid #ccc;
  50. margin: 1rem 0;
  51. padding: 0;
  52. }
  53. img {
  54. margin: 10px auto 10px auto;
  55. max-width: 100%;
  56. display: block;
  57. }
  58. a img {
  59. border:none;
  60. }
  61. figure {
  62. margin: 0;
  63. text-align: center;
  64. }
  65. fieldset {
  66. border: 0;
  67. margin: 0;
  68. padding: 0;
  69. }
  70. textarea {
  71. resize: vertical;
  72. }
  73. blockquote {
  74. margin-left: 1rem;
  75. font-style: italic;
  76. font-size: 1.4rem;
  77. font-family: Georgia,bitstream charter,serif;
  78. border-left: 3px solid;
  79. border-color: #3700ff;
  80. padding-left: 20px;
  81. }
  82. blockquote cite {
  83. font-size: 70%;
  84. opacity: .8;
  85. }
  86. blockquote em {
  87. font-weight: 600;
  88. }
  89. h1, h2, h3, h4, h5, h6 {
  90. color: #333;
  91. font-weight: 500;
  92. line-height: 1.3em;
  93. margin: 30px 0 20px 0;
  94. }
  95. h1 {
  96. font-size: 2.75rem;
  97. }
  98. h2 {
  99. font-size: 2rem;
  100. }
  101. h3 {
  102. font-size: 1.6rem;
  103. }
  104. h4 {
  105. font-size: 1.2rem;
  106. }
  107. h5 {
  108. font-size: 1rem;
  109. }
  110. h6 {
  111. font-size: .9rem;
  112. }
  113. .align-center {
  114. text-align: center;
  115. }
  116. .align-left {
  117. text-align: left;
  118. }
  119. .align-right {
  120. text-align: right;
  121. }
  122. ul {
  123. padding-left: 15px;
  124. }
  125. ul.flat {
  126. margin: 0;
  127. padding: 0;
  128. }
  129. ul.flat li {
  130. display: block;
  131. list-style: none;
  132. margin-left: 0;
  133. }
  134. .prevent-collapse {
  135. min-height: .1rem
  136. }
  137. .smaller {
  138. font-size: 70%;
  139. }
  140. ul {
  141. list-style: disc inside;
  142. }
  143. .post ul li {
  144. margin-bottom: 10px;
  145. }
  146. .post ul li p {
  147. display: inline;
  148. }
  149. .highlight pre {
  150. margin-bottom: 0;
  151. margin-top: 0;
  152. padding: 20px;
  153. background-color: transparent !important;
  154. }
  155. .highlight {
  156. background: 0 0;
  157. background-color: #FAFAFA;
  158. }
  159. .wrapper {
  160. max-width: 760px;
  161. margin: 0 auto;
  162. }
  163. .container {
  164. max-width: 800px;
  165. margin-top: 50px;
  166. }
  167. .header {
  168. margin-bottom: 20px;
  169. padding-bottom: 20px;
  170. }
  171. .header .avatar {
  172. float: left;
  173. margin: -25px 20px 0 0;
  174. }
  175. .header .avatar img {
  176. width: 64px;
  177. height: 64px;
  178. overflow: hidden;
  179. border-radius: 100%;
  180. }
  181. .header .site-title {
  182. margin: 0 0 10px 0;
  183. line-height: 0.2em;
  184. }
  185. .site-title a {
  186. color: #333;
  187. text-decoration: none !important;
  188. }
  189. .site-title a:hover {
  190. border-bottom-width: 3px;
  191. }
  192. .header .site-description {
  193. display: flex;
  194. justify-content: space-between;
  195. }
  196. .header nav {
  197. border-top: 1px solid #eee;
  198. padding-top: 15px;
  199. }
  200. .header nav ul,
  201. .header nav li {
  202. margin: 0;
  203. padding: 0;
  204. }
  205. .header nav li {
  206. display: inline-block;
  207. list-style: none;
  208. margin: 0 30px 0 0;
  209. }
  210. .header nav.social a {
  211. color: #333;
  212. }
  213. .header nav.social a:hover {
  214. color: #3700ff;
  215. }
  216. .header .site-description nav {
  217. margin: 0;
  218. padding: 0;
  219. border: none;
  220. min-width: 50px;
  221. margin-left: 15px;
  222. }
  223. .header .site-description nav ul svg {
  224. max-height: 15px;
  225. }
  226. .header .site-description .scheme-toggle {
  227. height: 100%;
  228. }
  229. .header .site-description .scheme-toggle a svg {
  230. max-height: 15px;
  231. }
  232. .header .site-description .scheme-toggle a.dark svg {
  233. fill: #f8e04f;
  234. color: #f8e04f;
  235. }
  236. .header .site-description .scheme-toggle a.light svg {
  237. fill: grey;
  238. color: black;
  239. }
  240. .section .section-header {
  241. font-size: 0.75rem;
  242. font-weight: 600;
  243. text-transform: uppercase;
  244. color: #999;
  245. margin-bottom: 20px;
  246. letter-spacing: 1px;
  247. }
  248. .recent-posts .posts .post {
  249. margin-bottom: 45px;
  250. }
  251. .post-header {
  252. display: flex;
  253. }
  254. .post-header .meta .date {
  255. margin-right: 30px;
  256. width: 64px;
  257. text-align: center;
  258. }
  259. .post-header .meta .date .day {
  260. font-family: "Playfair Display", serif;
  261. font-weight: 700;
  262. line-height: 0.45em;
  263. font-size: 3em;
  264. display: block;
  265. margin-bottom: 20px;
  266. }
  267. .post-header .meta .date .rest {
  268. display: block;
  269. font-size: 0.75em;
  270. }
  271. .post-header h1.title {
  272. margin: -10px 0 0 0;
  273. }
  274. .post .title.small {
  275. margin: 0 0 10px 0;
  276. }
  277. .post .post-header {
  278. margin-bottom: 30px;
  279. }
  280. .post .draft-label {
  281. color: #3700ff;
  282. text-decoration: none;
  283. padding: 2px 4px;
  284. border-radius: 4px;
  285. margin-left: 6px;
  286. background-color: #f9f2f4;
  287. }
  288. .post .tags a {
  289. display: inline-block;
  290. border: 1px solid #3700ff;
  291. border-radius: 3px;
  292. padding: 0px 6px;
  293. color: #3700ff;
  294. line-height: 20px;
  295. font-size: 0.85em;
  296. text-decoration: none;
  297. margin: 0 10px 0 0;
  298. }
  299. .list .posts .post-header .meta {
  300. margin-bottom: 0;
  301. margin-left: 5px;
  302. }
  303. .footer {
  304. text-align: right;
  305. font-size: 0.75em;
  306. color: #999;
  307. border-top: 1px solid #f4f4f4;
  308. margin-top: 40px;
  309. padding: 15px 0;
  310. }
  311. .footer a {
  312. color: #666;
  313. }
  314. .footer a:hover {
  315. color: #3700ff;
  316. }
  317. .tag-cloud {
  318. margin-top: 20px;
  319. }
  320. .tag-cloud a {
  321. margin-right: 15px;
  322. }
  323. .pagination {
  324. margin: 0;
  325. padding: 0;
  326. text-align: left;
  327. display: flex;
  328. justify-content: space-between;
  329. }
  330. .pagination li {
  331. list-style: none;
  332. display: inline-block;
  333. margin: 0;
  334. padding: 0;
  335. }
  336. .pagination .page-prev {
  337. margin-right: 20px;
  338. padding-right: 20px;
  339. }
  340. .pagination .page-item.page-prev {
  341. text-align: left;
  342. }
  343. .pagination .page-item.page-next {
  344. text-align: right;
  345. }
  346. @media (max-width: 900px) {
  347. body {
  348. padding: 20px;
  349. }
  350. h1 {
  351. font-size: 1.8rem;
  352. }
  353. h2 {
  354. font-size: 1.6rem;
  355. }
  356. h3 {
  357. font-size: 1.2rem;
  358. }
  359. h4 {
  360. font-size: 1rem;
  361. }
  362. .container {
  363. margin-top: 10px;
  364. }
  365. .header .nav.social li {
  366. margin: 0;
  367. }
  368. .header .nav li {
  369. margin: 0 10px 0 0;
  370. font-size: 14px;
  371. }
  372. }