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.

488 lines
7.3KB

  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. table {
  71. -ms-overflow-style: -ms-autohiding-scrollbar;
  72. -webkit-overflow-scrolling: touch;
  73. background-color: transparent;
  74. margin-bottom: 1rem;
  75. overflow-x: auto;
  76. width: 100%;
  77. }
  78. table th,
  79. table td {
  80. border-bottom: 1px solid #dee2e6;
  81. padding: 0.75rem;
  82. vertical-align: top;
  83. }
  84. table thead th {
  85. border-bottom: 2px solid #dee2e6;
  86. vertical-align: bottom;
  87. }
  88. table tbody + tbody {
  89. border-top: 2px solid #dee2e6;
  90. }
  91. table tbody tr:nth-of-type(even) {
  92. background-color: rgba(0, 0, 0, 0.15);
  93. }
  94. table th {
  95. background-color: #212529;
  96. border-color: #32383e;
  97. color: #fff;
  98. }
  99. textarea {
  100. resize: vertical;
  101. }
  102. blockquote {
  103. margin-left: 1rem;
  104. font-style: italic;
  105. font-size: 1.4rem;
  106. font-family: Georgia,bitstream charter,serif;
  107. border-left: 3px solid;
  108. border-color: #3700ff;
  109. padding-left: 20px;
  110. }
  111. blockquote cite {
  112. font-size: 70%;
  113. opacity: .8;
  114. }
  115. blockquote em {
  116. font-weight: 600;
  117. }
  118. h1, h2, h3, h4, h5, h6 {
  119. color: #333;
  120. font-weight: 500;
  121. line-height: 1.3em;
  122. margin: 30px 0 20px 0;
  123. }
  124. h1 {
  125. font-size: 2.75rem;
  126. }
  127. h2 {
  128. font-size: 2rem;
  129. }
  130. h3 {
  131. font-size: 1.6rem;
  132. }
  133. h4 {
  134. font-size: 1.2rem;
  135. }
  136. h5 {
  137. font-size: 1rem;
  138. }
  139. h6 {
  140. font-size: .9rem;
  141. }
  142. .align-center {
  143. text-align: center;
  144. }
  145. .align-left {
  146. text-align: left;
  147. }
  148. .align-right {
  149. text-align: right;
  150. }
  151. ul {
  152. padding-left: 15px;
  153. }
  154. ul.flat {
  155. margin: 0;
  156. padding: 0;
  157. }
  158. ul.flat li {
  159. display: block;
  160. list-style: none;
  161. margin-left: 0;
  162. }
  163. .prevent-collapse {
  164. min-height: .1rem
  165. }
  166. .smaller {
  167. font-size: 70%;
  168. }
  169. ul {
  170. list-style: disc inside;
  171. }
  172. .post ul li {
  173. margin-bottom: 10px;
  174. }
  175. .post ul li p {
  176. display: inline;
  177. }
  178. .highlight pre {
  179. margin-bottom: 0;
  180. margin-top: 0;
  181. padding: 20px;
  182. background-color: transparent !important;
  183. }
  184. .highlight {
  185. background: 0 0;
  186. background-color: #FAFAFA;
  187. }
  188. .wrapper {
  189. max-width: 760px;
  190. margin: 0 auto;
  191. }
  192. .container {
  193. max-width: 800px;
  194. margin-top: 50px;
  195. }
  196. .header {
  197. margin-bottom: 20px;
  198. padding-bottom: 20px;
  199. }
  200. .header .avatar {
  201. float: left;
  202. margin: -25px 20px 0 0;
  203. }
  204. .header .avatar img {
  205. width: 64px;
  206. height: 64px;
  207. overflow: hidden;
  208. border-radius: 100%;
  209. }
  210. .header .site-title {
  211. margin: 0 0 10px 0;
  212. line-height: 0.2em;
  213. }
  214. .site-title a {
  215. color: #333;
  216. text-decoration: none !important;
  217. }
  218. .site-title a:hover {
  219. border-bottom-width: 3px;
  220. }
  221. .header .site-description {
  222. display: flex;
  223. justify-content: space-between;
  224. }
  225. .header nav {
  226. border-top: 1px solid #eee;
  227. padding-top: 15px;
  228. }
  229. .header nav ul,
  230. .header nav li {
  231. margin: 0;
  232. padding: 0;
  233. }
  234. .header nav li {
  235. display: inline-block;
  236. list-style: none;
  237. margin: 0 30px 0 0;
  238. }
  239. .header nav.social a {
  240. color: #333;
  241. }
  242. .header nav.social a:hover {
  243. color: #3700ff;
  244. }
  245. .header .site-description nav {
  246. margin: 0;
  247. padding: 0;
  248. border: none;
  249. min-width: 50px;
  250. margin-left: 15px;
  251. }
  252. .header .site-description nav ul svg {
  253. max-height: 15px;
  254. }
  255. .header .site-description .scheme-toggle {
  256. height: 100%;
  257. }
  258. .header .site-description .scheme-toggle a svg {
  259. max-height: 15px;
  260. }
  261. .header .site-description .scheme-toggle a.dark svg {
  262. fill: #f8e04f;
  263. color: #f8e04f;
  264. }
  265. .header .site-description .scheme-toggle a.light svg {
  266. fill: grey;
  267. color: black;
  268. }
  269. .section .section-header {
  270. font-size: 0.75rem;
  271. font-weight: 600;
  272. text-transform: uppercase;
  273. color: #999;
  274. margin-bottom: 20px;
  275. letter-spacing: 1px;
  276. }
  277. .recent-posts .posts .post {
  278. margin-bottom: 45px;
  279. }
  280. .post-header {
  281. display: flex;
  282. }
  283. .post-header .meta .date {
  284. margin-right: 30px;
  285. width: 64px;
  286. text-align: center;
  287. }
  288. .post-header .meta .date .day {
  289. font-family: "Playfair Display", serif;
  290. font-weight: 700;
  291. line-height: 0.45em;
  292. font-size: 3em;
  293. display: block;
  294. margin-bottom: 20px;
  295. }
  296. .post-header .meta .date .rest {
  297. display: block;
  298. font-size: 0.75em;
  299. }
  300. .post-header h1.title {
  301. margin: -10px 0 0 0;
  302. }
  303. .post .title.small {
  304. margin: 0 0 10px 0;
  305. }
  306. .post .post-header {
  307. margin-bottom: 30px;
  308. }
  309. .post .draft-label {
  310. color: #3700ff;
  311. text-decoration: none;
  312. padding: 2px 4px;
  313. border-radius: 4px;
  314. margin-left: 6px;
  315. background-color: #f9f2f4;
  316. }
  317. .post .tags a {
  318. display: inline-block;
  319. border: 1px solid #3700ff;
  320. border-radius: 3px;
  321. padding: 0px 6px;
  322. color: #3700ff;
  323. line-height: 20px;
  324. font-size: 0.85em;
  325. text-decoration: none;
  326. margin: 0 10px 0 0;
  327. }
  328. .list .posts .post-header .meta {
  329. margin-bottom: 0;
  330. margin-left: 5px;
  331. }
  332. .footer {
  333. text-align: right;
  334. font-size: 0.75em;
  335. color: #999;
  336. border-top: 1px solid #f4f4f4;
  337. margin-top: 40px;
  338. padding: 15px 0;
  339. }
  340. .footer a {
  341. color: #666;
  342. }
  343. .footer a:hover {
  344. color: #3700ff;
  345. }
  346. .tag-cloud {
  347. margin-top: 20px;
  348. }
  349. .tag-cloud a {
  350. margin-right: 15px;
  351. }
  352. .pagination {
  353. margin: 0;
  354. padding: 0;
  355. text-align: left;
  356. display: flex;
  357. justify-content: space-between;
  358. }
  359. .pagination li {
  360. list-style: none;
  361. display: inline-block;
  362. margin: 0;
  363. padding: 0;
  364. }
  365. .pagination .page-prev {
  366. margin-right: 20px;
  367. padding-right: 20px;
  368. }
  369. .pagination .page-item.page-prev {
  370. text-align: left;
  371. }
  372. .pagination .page-item.page-next {
  373. text-align: right;
  374. }
  375. @media (max-width: 900px) {
  376. body {
  377. padding: 20px;
  378. }
  379. h1 {
  380. font-size: 1.8rem;
  381. }
  382. h2 {
  383. font-size: 1.6rem;
  384. }
  385. h3 {
  386. font-size: 1.2rem;
  387. }
  388. h4 {
  389. font-size: 1rem;
  390. }
  391. .container {
  392. margin-top: 10px;
  393. }
  394. .header .nav.social li {
  395. margin: 0;
  396. }
  397. .header .nav li {
  398. margin: 0 10px 0 0;
  399. font-size: 14px;
  400. }
  401. table {
  402. -ms-overflow-style: -ms-autohiding-scrollbar;
  403. -webkit-overflow-scrolling: touch;
  404. display: block;
  405. overflow-x: auto;
  406. width: 100%;
  407. }
  408. }