Mobile-responsive personal website, generated using Hugo. https://kevin-mok.com/
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.

760 lines
14 KiB

  1. /* Base16 Eighties Colorscheme by Chris Kempson (http://chriskempson.com) */
  2. /* .base00 { color: #2d2d2d; }
  3. .base01 { color: #393939; }
  4. .base02 { color: #515151; }
  5. .base03 { color: #747369; }
  6. .base04 { color: #a09f93; }
  7. .base06 { color: #e8e6df; }
  8. .base07 { color: #f2f0ec; } */
  9. .base08 {
  10. color: #f2777a; }
  11. .base09 {
  12. color: #f99157; }
  13. .base0a {
  14. color: #ffcc66; }
  15. .base0b {
  16. color: #99cc99; }
  17. .base0c {
  18. color: #66cccc; }
  19. .base0d {
  20. color: #6699cc; }
  21. .base0e {
  22. color: #cc99cc; }
  23. .base0f {
  24. color: #d27b53; }
  25. body {
  26. margin: 0;
  27. background-color: #2d2d2d;
  28. color: #f2f0ec;
  29. line-height: 1.5;
  30. font-size: 100%;
  31. /* font-family: 'Source Code Pro', monospace; */
  32. font-family: 'Hack', monospace;
  33. display: flex;
  34. flex-direction: column;
  35. min-height: 100vh; }
  36. body a {
  37. color: #66cccc; }
  38. body a:visited {
  39. color: #66cccc; }
  40. body a:active {
  41. color: #66cccc; }
  42. .container {
  43. max-width: 52em;
  44. margin-left: auto;
  45. margin-right: auto;
  46. flex: 1; }
  47. .container .copyright a {
  48. color: #747369; }
  49. .container .copyright a:visited {
  50. color: #747369; }
  51. .container .copyright a:active {
  52. color: #747369; }
  53. @media (max-width: 52em) {
  54. .container {
  55. width: 100%; } }
  56. div .right {
  57. float: right; }
  58. div .clearfix {
  59. overflow: auto; }
  60. article .single section {
  61. /* background-color: #e6e6fa; */
  62. background-color: #cbbeb5;
  63. color: #2d2d2d;
  64. padding-left: 8rem;
  65. padding-right: 8rem;
  66. padding-top: 1rem;
  67. padding-bottom: 1rem;
  68. /* min-height: 50%; */
  69. /* min-height: 30em; */ }
  70. @media (max-width: 52em) {
  71. article .single section {
  72. padding-left: 2rem;
  73. padding-right: 2rem; } }
  74. .article-list article {
  75. /* background-color: #e6e6fa; */
  76. background-color: #cbbeb5;
  77. color: #2d2d2d;
  78. padding-left: 8rem;
  79. padding-right: 8rem;
  80. padding-top: 1rem;
  81. padding-bottom: 1rem;
  82. /* min-height: 50%; */
  83. /* min-height: 30em; */ }
  84. @media (max-width: 52em) {
  85. .article-list article {
  86. padding-left: 2rem;
  87. padding-right: 2rem; } }
  88. header {
  89. margin-top: 1.5rem;
  90. margin-bottom: 1rem; }
  91. @media (max-width: 52em) {
  92. header {
  93. margin-top: 0;
  94. padding-left: 2rem;
  95. padding-right: 2rem; } }
  96. footer {
  97. margin-top: 2rem;
  98. margin-bottom: 1rem;
  99. text-align: center;
  100. font-size: 0.9em;
  101. color: #747369; }
  102. footer .container {
  103. background-color: #393939;
  104. max-width: 62em;
  105. margin-left: auto;
  106. margin-right: auto;
  107. padding-top: 0.1rem;
  108. padding-bottom: 0.1rem; }
  109. @media (max-width: 52em) {
  110. footer {
  111. margin-top: 0;
  112. margin-bottom: 0; } }
  113. @media (max-width: 800px) {
  114. footer {
  115. font-size: 0.8em; } }
  116. /* Typography */
  117. h1 {
  118. font-weight: bold;
  119. line-height: 1.25;
  120. margin-top: 1em;
  121. margin-bottom: .5em; }
  122. h2 {
  123. font-weight: bold;
  124. line-height: 1.25;
  125. margin-top: 1em;
  126. margin-bottom: .5em; }
  127. h3 {
  128. font-weight: bold;
  129. line-height: 1.25;
  130. margin-top: 1em;
  131. margin-bottom: .5em; }
  132. h4 {
  133. font-weight: bold;
  134. line-height: 1.25;
  135. margin-top: 1em;
  136. margin-bottom: .5em; }
  137. h5 {
  138. font-weight: bold;
  139. line-height: 1.25;
  140. margin-top: 1em;
  141. margin-bottom: .5em; }
  142. p {
  143. margin-top: 0;
  144. margin-bottom: 1rem; }
  145. h1 {
  146. font-size: 2rem; }
  147. h2 {
  148. font-size: 1.5rem; }
  149. h3 {
  150. font-size: 1.25rem; }
  151. h4 {
  152. font-size: 1rem; }
  153. h5 {
  154. font-size: .875rem; }
  155. h6 {
  156. font-size: .75rem; }
  157. pre, code {
  158. font-family: inherit;
  159. font-size: inherit; }
  160. header a .path .path:visited {
  161. color: #6699cc; }
  162. header span caret {
  163. color: #f2f0ec; }
  164. footer a {
  165. color: #747369; }
  166. footer a:visited {
  167. color: #747369; }
  168. footer a:active {
  169. color: #747369; }
  170. .page-not-found h1 {
  171. text-align: center;
  172. font-size: 5em; }
  173. .page-not-found h2 {
  174. text-align: center;
  175. font-size: 3em;
  176. color: #a09f93;
  177. margin-bottom: 4rem; }
  178. @media (max-width: 52em) {
  179. .page-not-found h1 {
  180. font-size: 3em; }
  181. .page-not-found h2 {
  182. font-size: 2em; } }
  183. #homepage #about {
  184. font-size: 1.25rem; }
  185. #homepage #about h1 {
  186. margin-top: 1.25rem;
  187. font-size: 2rem;
  188. color: #ffcc66;
  189. text-align: center; }
  190. #homepage #about .me-equation {
  191. margin-top: 3em;
  192. text-align: center;
  193. display: flex;
  194. justify-content: center;
  195. /* align horizontal */
  196. align-items: center;
  197. /* align vertical */ }
  198. #homepage #about .me-equation .equation-part {
  199. display: flex;
  200. flex: 1;
  201. justify-content: center;
  202. /* align horizontal */
  203. align-items: center;
  204. /* align vertical */ }
  205. #homepage #about .me-equation .equation-part a {
  206. text-decoration: none; }
  207. #homepage #about .me-equation .equation-part img {
  208. width: 70%;
  209. border-radius: 1.1em;
  210. display: inline; }
  211. #homepage #about .me-equation .equation-part img#gnu {
  212. background-color: #a09f93; }
  213. #homepage #about .me-equation .equation-part p {
  214. font-size: 3vw;
  215. display: inline-block;
  216. padding-left: 0.2rem;
  217. padding-right: 0.2rem; }
  218. @media (max-width: 800px) {
  219. #homepage #about .me-equation {
  220. flex-wrap: wrap;
  221. margin-top: 2em;
  222. justify-content: space-around;
  223. /* align horizontal */ }
  224. #homepage #about .me-equation .equation-part {
  225. min-width: 33%; }
  226. #homepage #about .me-equation .equation-part img {
  227. flex: 1.5; }
  228. #homepage #about .me-equation .equation-part img#hexatar {
  229. max-width: 28%;
  230. margin-top: 1.75rem; }
  231. #homepage #about .me-equation .equation-part p {
  232. font-size: 6vw;
  233. flex: 1; }
  234. #homepage #about .me-equation .equation-part#uoft-part {
  235. justify-content: flex-end; } }
  236. @media (max-width: 800px) {
  237. #homepage #about {
  238. font-size: .9em; }
  239. #homepage #about h1 {
  240. font-size: 1.4rem; } }
  241. @media (max-width: 52em) {
  242. #homepage {
  243. margin-bottom: 2rem; } }
  244. /* .homepage section.categories,
  245. .homepage section.tags {
  246. padding-left: 2rem;
  247. padding-right: 2rem;
  248. }
  249. .homepage .category,
  250. .homepage .category a,
  251. .homepage .tag,
  252. .homepage .tag a {
  253. color: #cc99cc;
  254. }
  255. .homepage .tag {
  256. margin-right: 2em;
  257. } */
  258. h1.site-title {
  259. text-align: center;
  260. /* font-size: 3.5em; */
  261. font-size: 4.8em;
  262. color: #d3d0c8;
  263. margin-top: 0.5em;
  264. margin-bottom: 0; }
  265. @media (max-width: 52em) {
  266. h1.site-title {
  267. font-size: 3em; } }
  268. @media (max-width: 800px) {
  269. h1.site-title {
  270. font-size: 2em; } }
  271. .hero-logo img {
  272. width: 100%; }
  273. .nav-bar {
  274. margin-left: .5em;
  275. padding-top: 1rem;
  276. padding-bottom: 1rem; }
  277. @media (max-width: 800px) {
  278. .nav-bar {
  279. font-size: .8em; } }
  280. .hero-tagline {
  281. margin-top: .3em;
  282. font-size: .8rem;
  283. text-align: center; }
  284. .hero-tagline .icon {
  285. width: 1.25rem; }
  286. .article-list h1.list-title {
  287. font-size: 3em;
  288. color: #ffcc66; }
  289. .article-list article {
  290. padding-top: 4rem;
  291. padding-bottom: 4rem;
  292. margin-bottom: 4rem; }
  293. .article-list article h2.headline,
  294. .article-list article h2.headline a {
  295. margin-top: 0;
  296. color: #6699cc; }
  297. .article-list article .meta {
  298. margin-bottom: 1rem; }
  299. .article-list article .meta .key {
  300. color: #747369; }
  301. .article-list article .meta .val,
  302. .article-list article .meta .val a {
  303. color: #cc99cc; }
  304. .article-list article section.summary a {
  305. color: #d27b53; }
  306. article.single .meta {
  307. font-size: 0.9em;
  308. text-align: right; }
  309. article.single .meta .key {
  310. color: #747369; }
  311. article.single .meta .val, article.single .meta .val a {
  312. color: #cc99cc; }
  313. @media (max-width: 52em) {
  314. article.single .meta {
  315. padding-left: 2rem;
  316. padding-right: 2rem; } }
  317. article.single h1.headline {
  318. margin-top: 0;
  319. font-size: 3em;
  320. color: #ffcc66; }
  321. @media (max-width: 52em) {
  322. article.single h1.headline {
  323. padding-left: 2rem;
  324. padding-right: 2rem; } }
  325. article.single section.body {
  326. padding-top: 4rem;
  327. padding-bottom: 3rem; }
  328. @media (max-width: 52em) {
  329. article.single section.body {
  330. padding-top: 2rem;
  331. padding-bottom: 1rem; } }
  332. /* Highlight Colors */
  333. article.single section.body h1 {
  334. color: #6699cc; }
  335. article.single section.body h2 {
  336. color: #99cc99; }
  337. article.single section.body h3 {
  338. color: #f99157; }
  339. article.single section.body h4 {
  340. color: #f2777a; }
  341. article.single section.body h5 {
  342. color: #515151; }
  343. article.single section.body h6 {
  344. color: #747369; }
  345. article.single section.body a, a:visited {
  346. color: #a06700; }
  347. /* Article Elements */
  348. article.single * {
  349. max-width: 100%; }
  350. article.single pre {
  351. margin-top: 0;
  352. margin-bottom: 1rem;
  353. overflow-x: scroll;
  354. border-radius: 3px;
  355. padding: 2rem; }
  356. article.single p code {
  357. padding: 0.2em 0.5em;
  358. border-radius: 3px;
  359. background: #747369;
  360. color: #f2f0ec; }
  361. article.single figure, article.single div.highlight {
  362. box-sizing: border-box;
  363. max-width: 52rem;
  364. width: 52rem;
  365. margin-left: -8rem;
  366. margin-right: -8rem;
  367. margin-bottom: 1rem;
  368. padding: 1em;
  369. background-color: #393939; }
  370. @media (max-width: 52em) {
  371. article.single figure, article.single div.highlight {
  372. width: 100%;
  373. margin-left: 0;
  374. margin-right: 0;
  375. border-radius: 3px; } }
  376. article.single figure img {
  377. max-width: 100%;
  378. width: 100%;
  379. border-radius: 3px; }
  380. article.single figure figcaption {
  381. margin-top: 1rem; }
  382. article.single figure figcaption h4 {
  383. margin-top: 0;
  384. text-align: center;
  385. font-style: italic;
  386. font-weight: normal;
  387. color: #f2f0ec; }
  388. article.single table {
  389. border-collapse: separate;
  390. border-spacing: 0;
  391. max-width: 100%;
  392. width: 100%; }
  393. article.single th,
  394. article.single td {
  395. padding: .25rem 1rem;
  396. line-height: inherit;
  397. border-bottom-width: 1px;
  398. border-bottom-style: solid;
  399. border-bottom-color: #a09f93; }
  400. article.single tr:last-child td {
  401. border-bottom: 0; }
  402. article.single th {
  403. text-align: left;
  404. font-weight: bold;
  405. vertical-align: bottom; }
  406. article.single td {
  407. vertical-align: top; }
  408. article.single blockquote {
  409. margin-left: 2rem;
  410. margin-right: 3rem;
  411. padding-left: 1rem;
  412. border-left: 5px solid #66cccc; }
  413. article.single hr {
  414. border: 0;
  415. border-bottom-style: solid;
  416. border-bottom-width: 1px;
  417. border-bottom-color: #a09f93; }
  418. pre {
  419. background: #2d2d2d;
  420. color: #f2f0ec; }
  421. .highlight .hll {
  422. background-color: #515151; }
  423. .highlight .c {
  424. color: #747369; }
  425. /* Comment */
  426. .highlight .err {
  427. color: #f2777a; }
  428. /* Error */
  429. .highlight .k {
  430. color: #cc99cc; }
  431. /* Keyword */
  432. .highlight .l {
  433. color: #f99157; }
  434. /* Literal */
  435. .highlight .n {
  436. color: #f2f0ec; }
  437. /* Name */
  438. .highlight .o {
  439. color: #66cccc; }
  440. /* Operator */
  441. .highlight .p {
  442. color: #f2f0ec; }
  443. /* Punctuation */
  444. .highlight .cm {
  445. color: #747369; }
  446. /* Comment.Multiline */
  447. .highlight .cp {
  448. color: #747369; }
  449. /* Comment.Preproc */
  450. .highlight .c1 {
  451. color: #747369; }
  452. /* Comment.Single */
  453. .highlight .cs {
  454. color: #747369; }
  455. /* Comment.Special */
  456. .highlight .gd {
  457. color: #f2777a; }
  458. /* Generic.Deleted */
  459. .highlight .ge {
  460. font-style: italic; }
  461. /* Generic.Emph */
  462. .highlight .gh {
  463. color: #f2f0ec;
  464. font-weight: bold; }
  465. /* Generic.Heading */
  466. .highlight .gi {
  467. color: #99cc99; }
  468. /* Generic.Inserted */
  469. .highlight .gp {
  470. color: #747369;
  471. font-weight: bold; }
  472. /* Generic.Prompt */
  473. .highlight .gs {
  474. font-weight: bold; }
  475. /* Generic.Strong */
  476. .highlight .gu {
  477. color: #66cccc;
  478. font-weight: bold; }
  479. /* Generic.Subheading */
  480. .highlight .kc {
  481. color: #cc99cc; }
  482. /* Keyword.Constant */
  483. .highlight .kd {
  484. color: #cc99cc; }
  485. /* Keyword.Declaration */
  486. .highlight .kn {
  487. color: #66cccc; }
  488. /* Keyword.Namespace */
  489. .highlight .kp {
  490. color: #cc99cc; }
  491. /* Keyword.Pseudo */
  492. .highlight .kr {
  493. color: #cc99cc; }
  494. /* Keyword.Reserved */
  495. .highlight .kt {
  496. color: #ffcc66; }
  497. /* Keyword.Type */
  498. .highlight .ld {
  499. color: #99cc99; }
  500. /* Literal.Date */
  501. .highlight .m {
  502. color: #f99157; }
  503. /* Literal.Number */
  504. .highlight .s {
  505. color: #99cc99; }
  506. /* Literal.String */
  507. .highlight .na {
  508. color: #6699cc; }
  509. /* Name.Attribute */
  510. .highlight .nb {
  511. color: #f2f0ec; }
  512. /* Name.Builtin */
  513. .highlight .nc {
  514. color: #ffcc66; }
  515. /* Name.Class */
  516. .highlight .no {
  517. color: #f2777a; }
  518. /* Name.Constant */
  519. .highlight .nd {
  520. color: #66cccc; }
  521. /* Name.Decorator */
  522. .highlight .ni {
  523. color: #f2f0ec; }
  524. /* Name.Entity */
  525. .highlight .ne {
  526. color: #f2777a; }
  527. /* Name.Exception */
  528. .highlight .nf {
  529. color: #6699cc; }
  530. /* Name.Function */
  531. .highlight .nl {
  532. color: #f2f0ec; }
  533. /* Name.Label */
  534. .highlight .nn {
  535. color: #ffcc66; }
  536. /* Name.Namespace */
  537. .highlight .nx {
  538. color: #6699cc; }
  539. /* Name.Other */
  540. .highlight .py {
  541. color: #f2f0ec; }
  542. /* Name.Property */
  543. .highlight .nt {
  544. color: #66cccc; }
  545. /* Name.Tag */
  546. .highlight .nv {
  547. color: #f2777a; }
  548. /* Name.Variable */
  549. .highlight .ow {
  550. color: #66cccc; }
  551. /* Operator.Word */
  552. .highlight .w {
  553. color: #f2f0ec; }
  554. /* Text.Whitespace */
  555. .highlight .mf {
  556. color: #f99157; }
  557. /* Literal.Number.Float */
  558. .highlight .mh {
  559. color: #f99157; }
  560. /* Literal.Number.Hex */
  561. .highlight .mi {
  562. color: #f99157; }
  563. /* Literal.Number.Integer */
  564. .highlight .mo {
  565. color: #f99157; }
  566. /* Literal.Number.Oct */
  567. .highlight .sb {
  568. color: #99cc99; }
  569. /* Literal.String.Backtick */
  570. .highlight .sc {
  571. color: #f2f0ec; }
  572. /* Literal.String.Char */
  573. .highlight .sd {
  574. color: #747369; }
  575. /* Literal.String.Doc */
  576. .highlight .s2 {
  577. color: #99cc99; }
  578. /* Literal.String.Double */
  579. .highlight .se {
  580. color: #f99157; }
  581. /* Literal.String.Escape */
  582. .highlight .sh {
  583. color: #99cc99; }
  584. /* Literal.String.Heredoc */
  585. .highlight .si {
  586. color: #f99157; }
  587. /* Literal.String.Interpol */
  588. .highlight .sx {
  589. color: #99cc99; }
  590. /* Literal.String.Other */
  591. .highlight .sr {
  592. color: #99cc99; }
  593. /* Literal.String.Regex */
  594. .highlight .s1 {
  595. color: #99cc99; }
  596. /* Literal.String.Single */
  597. .highlight .ss {
  598. color: #99cc99; }
  599. /* Literal.String.Symbol */
  600. .highlight .bp {
  601. color: #f2f0ec; }
  602. /* Name.Builtin.Pseudo */
  603. .highlight .vc {
  604. color: #f2777a; }
  605. /* Name.Variable.Class */
  606. .highlight .vg {
  607. color: #f2777a; }
  608. /* Name.Variable.Global */
  609. .highlight .vi {
  610. color: #f2777a; }
  611. /* Name.Variable.Instance */
  612. .highlight .il {
  613. color: #f99157; }
  614. /* Literal.Number.Integer.Long */
  615. /*# sourceMappingURL=style.css.map */