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.

799 lines
15 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 h2 {
  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. width: 70%; }
  208. #homepage #about .me-equation .equation-part img {
  209. width: 70%;
  210. height: 100%;
  211. border-radius: 1.1em;
  212. display: inline; }
  213. #homepage #about .me-equation .equation-part img#gnu {
  214. background-color: #a09f93; }
  215. #homepage #about .me-equation .equation-part p {
  216. font-size: 3vw;
  217. display: inline-block;
  218. padding-left: 0.2rem;
  219. padding-right: 0.2rem; }
  220. @media (max-width: 800px) {
  221. #homepage #about .me-equation {
  222. flex-wrap: wrap;
  223. margin-top: 2em;
  224. justify-content: space-around;
  225. /* align horizontal */ }
  226. #homepage #about .me-equation .equation-part {
  227. min-width: 33%; }
  228. #homepage #about .me-equation .equation-part img {
  229. flex: 1.5; }
  230. #homepage #about .me-equation .equation-part img#hexatar {
  231. max-width: 20%;
  232. margin-top: 1.75rem; }
  233. #homepage #about .me-equation .equation-part p {
  234. font-size: 6vw;
  235. flex: 1; }
  236. #homepage #about .me-equation .equation-part#uoft-part {
  237. justify-content: flex-end; } }
  238. @media (max-width: 800px) {
  239. #homepage #about {
  240. font-size: .9em; }
  241. #homepage #about h1 {
  242. font-size: 1.4rem; } }
  243. @media (max-width: 52em) {
  244. #homepage {
  245. margin-bottom: 2rem; } }
  246. /* .homepage section.categories,
  247. .homepage section.tags {
  248. padding-left: 2rem;
  249. padding-right: 2rem;
  250. }
  251. .homepage .category,
  252. .homepage .category a,
  253. .homepage .tag,
  254. .homepage .tag a {
  255. color: #cc99cc;
  256. }
  257. .homepage .tag {
  258. margin-right: 2em;
  259. } */
  260. #resume a {
  261. text-decoration: none; }
  262. #resume a:hover {
  263. text-decoration: underline; }
  264. #resume h1 {
  265. color: #f99157; }
  266. #resume h2 {
  267. color: #66cccc;
  268. display: inline; }
  269. #resume .btn {
  270. display: inline;
  271. background-color: transparent;
  272. margin-bottom: 5px; }
  273. #resume .btn:focus, #resume .btn:active {
  274. outline: none !important;
  275. box-shadow: none; }
  276. #resume .date {
  277. float: right;
  278. color: #747369; }
  279. h1.site-title {
  280. text-align: center;
  281. /* font-size: 3.5em; */
  282. font-size: 4.8em;
  283. color: #d3d0c8;
  284. margin-top: 1rem;
  285. margin-bottom: 0.5rem; }
  286. h1.site-title a {
  287. color: #66cccc; }
  288. h1.site-title a:visited {
  289. color: #66cccc; }
  290. h1.site-title a:active {
  291. color: #66cccc; }
  292. h1.site-title a {
  293. text-decoration: none; }
  294. @media (max-width: 52em) {
  295. h1.site-title {
  296. font-size: 3em; } }
  297. @media (max-width: 800px) {
  298. h1.site-title {
  299. font-size: 2em; } }
  300. .hero-logo img {
  301. margin-top: 0.5rem;
  302. width: 100%; }
  303. .nav-bar {
  304. margin-left: .5em;
  305. padding-top: 0.5rem;
  306. padding-bottom: 0.5rem; }
  307. .nav-bar .caret {
  308. color: #f2f0ec;
  309. margin-right: .75rem; }
  310. .nav-bar .nav-bar-links {
  311. display: inline; }
  312. .nav-bar .nav-bar-links .nav-bar-link {
  313. padding-right: .5em; }
  314. @media (max-width: 800px) {
  315. .nav-bar {
  316. font-size: .8em; } }
  317. .hero-tagline {
  318. margin-top: .3em;
  319. font-size: .8rem;
  320. text-align: center; }
  321. .hero-tagline .icon {
  322. width: 1.25rem; }
  323. .article-list h1.list-title {
  324. font-size: 3em;
  325. color: #ffcc66; }
  326. .article-list article {
  327. padding-top: 4rem;
  328. padding-bottom: 4rem;
  329. margin-bottom: 4rem; }
  330. .article-list article h2.headline,
  331. .article-list article h2.headline a {
  332. margin-top: 0;
  333. color: #6699cc; }
  334. .article-list article .meta {
  335. margin-bottom: 1rem; }
  336. .article-list article .meta .key {
  337. color: #747369; }
  338. .article-list article .meta .val,
  339. .article-list article .meta .val a {
  340. color: #cc99cc; }
  341. .article-list article section.summary a {
  342. color: #d27b53; }
  343. article.single .meta {
  344. font-size: 0.9em;
  345. text-align: right;
  346. margin-top: .5rem;
  347. margin-bottom: .5rem; }
  348. article.single .meta .key {
  349. color: #747369; }
  350. article.single .meta .val {
  351. color: #cc99cc; }
  352. article.single .meta .val a {
  353. color: #cc99cc; }
  354. article.single .body {
  355. padding-top: 1rem;
  356. padding-bottom: 3rem; }
  357. @media (max-width: 52em) {
  358. article.single .meta {
  359. padding-left: 2rem;
  360. padding-right: 2rem; }
  361. article.single .body {
  362. padding-top: .5rem;
  363. padding-bottom: 1rem; } }
  364. article.single h1.headline {
  365. margin-top: 0;
  366. font-size: 3em;
  367. color: #ffcc66; }
  368. @media (max-width: 52em) {
  369. article.single h1.headline {
  370. padding-left: 2rem;
  371. padding-right: 2rem; } }
  372. /* Highlight Colors */
  373. article.single section.body h1 {
  374. color: #6699cc; }
  375. article.single section.body h2 {
  376. color: #99cc99; }
  377. article.single section.body h3 {
  378. color: #f99157; }
  379. article.single section.body h4 {
  380. color: #f2777a; }
  381. article.single section.body h5 {
  382. color: #515151; }
  383. article.single section.body h6 {
  384. color: #747369; }
  385. article.single section.body a, a:visited {
  386. color: #a06700; }
  387. /* Article Elements */
  388. article.single * {
  389. max-width: 100%; }
  390. article.single pre {
  391. margin-top: 0;
  392. margin-bottom: 1rem;
  393. border-radius: 3px;
  394. padding: 2rem; }
  395. article.single p code {
  396. padding: 0.2em 0.5em;
  397. border-radius: 3px;
  398. background: #747369;
  399. color: #f2f0ec; }
  400. article.single figure, article.single div.highlight {
  401. box-sizing: border-box;
  402. max-width: 52rem;
  403. width: 52rem;
  404. margin-bottom: 1rem;
  405. padding: 1em;
  406. background-color: #393939; }
  407. @media (max-width: 52em) {
  408. article.single figure, article.single div.highlight {
  409. width: 100%;
  410. margin-left: 0;
  411. margin-right: 0;
  412. border-radius: 3px; } }
  413. article.single figure img {
  414. max-width: 100%;
  415. width: 100%;
  416. border-radius: 3px; }
  417. article.single figure figcaption {
  418. margin-top: 1rem; }
  419. article.single figure figcaption h4 {
  420. margin-top: 0;
  421. text-align: center;
  422. font-style: italic;
  423. font-weight: normal;
  424. color: #f2f0ec; }
  425. article.single table {
  426. border-collapse: separate;
  427. border-spacing: 0;
  428. max-width: 100%;
  429. width: 100%; }
  430. article.single th,
  431. article.single td {
  432. padding: .25rem 1rem;
  433. line-height: inherit;
  434. border-bottom-width: 1px;
  435. border-bottom-style: solid;
  436. border-bottom-color: #a09f93; }
  437. article.single tr:last-child td {
  438. border-bottom: 0; }
  439. article.single th {
  440. text-align: left;
  441. font-weight: bold;
  442. vertical-align: bottom; }
  443. article.single td {
  444. vertical-align: top; }
  445. article.single blockquote {
  446. margin-left: 2rem;
  447. margin-right: 3rem;
  448. padding-left: 1rem;
  449. border-left: 5px solid #66cccc; }
  450. article.single hr {
  451. border: 0;
  452. border-bottom-style: solid;
  453. border-bottom-width: 1px;
  454. border-bottom-color: #a09f93; }
  455. pre {
  456. background: #2d2d2d;
  457. color: #f2f0ec; }
  458. .highlight .hll {
  459. background-color: #515151; }
  460. .highlight .c {
  461. color: #747369; }
  462. /* Comment */
  463. .highlight .err {
  464. color: #f2777a; }
  465. /* Error */
  466. .highlight .k {
  467. color: #cc99cc; }
  468. /* Keyword */
  469. .highlight .l {
  470. color: #f99157; }
  471. /* Literal */
  472. .highlight .n {
  473. color: #f2f0ec; }
  474. /* Name */
  475. .highlight .o {
  476. color: #66cccc; }
  477. /* Operator */
  478. .highlight .p {
  479. color: #f2f0ec; }
  480. /* Punctuation */
  481. .highlight .cm {
  482. color: #747369; }
  483. /* Comment.Multiline */
  484. .highlight .cp {
  485. color: #747369; }
  486. /* Comment.Preproc */
  487. .highlight .c1 {
  488. color: #747369; }
  489. /* Comment.Single */
  490. .highlight .cs {
  491. color: #747369; }
  492. /* Comment.Special */
  493. .highlight .gd {
  494. color: #f2777a; }
  495. /* Generic.Deleted */
  496. .highlight .ge {
  497. font-style: italic; }
  498. /* Generic.Emph */
  499. .highlight .gh {
  500. color: #f2f0ec;
  501. font-weight: bold; }
  502. /* Generic.Heading */
  503. .highlight .gi {
  504. color: #99cc99; }
  505. /* Generic.Inserted */
  506. .highlight .gp {
  507. color: #747369;
  508. font-weight: bold; }
  509. /* Generic.Prompt */
  510. .highlight .gs {
  511. font-weight: bold; }
  512. /* Generic.Strong */
  513. .highlight .gu {
  514. color: #66cccc;
  515. font-weight: bold; }
  516. /* Generic.Subheading */
  517. .highlight .kc {
  518. color: #cc99cc; }
  519. /* Keyword.Constant */
  520. .highlight .kd {
  521. color: #cc99cc; }
  522. /* Keyword.Declaration */
  523. .highlight .kn {
  524. color: #66cccc; }
  525. /* Keyword.Namespace */
  526. .highlight .kp {
  527. color: #cc99cc; }
  528. /* Keyword.Pseudo */
  529. .highlight .kr {
  530. color: #cc99cc; }
  531. /* Keyword.Reserved */
  532. .highlight .kt {
  533. color: #ffcc66; }
  534. /* Keyword.Type */
  535. .highlight .ld {
  536. color: #99cc99; }
  537. /* Literal.Date */
  538. .highlight .m {
  539. color: #f99157; }
  540. /* Literal.Number */
  541. .highlight .s {
  542. color: #99cc99; }
  543. /* Literal.String */
  544. .highlight .na {
  545. color: #6699cc; }
  546. /* Name.Attribute */
  547. .highlight .nb {
  548. color: #f2f0ec; }
  549. /* Name.Builtin */
  550. .highlight .nc {
  551. color: #ffcc66; }
  552. /* Name.Class */
  553. .highlight .no {
  554. color: #f2777a; }
  555. /* Name.Constant */
  556. .highlight .nd {
  557. color: #66cccc; }
  558. /* Name.Decorator */
  559. .highlight .ni {
  560. color: #f2f0ec; }
  561. /* Name.Entity */
  562. .highlight .ne {
  563. color: #f2777a; }
  564. /* Name.Exception */
  565. .highlight .nf {
  566. color: #6699cc; }
  567. /* Name.Function */
  568. .highlight .nl {
  569. color: #f2f0ec; }
  570. /* Name.Label */
  571. .highlight .nn {
  572. color: #ffcc66; }
  573. /* Name.Namespace */
  574. .highlight .nx {
  575. color: #6699cc; }
  576. /* Name.Other */
  577. .highlight .py {
  578. color: #f2f0ec; }
  579. /* Name.Property */
  580. .highlight .nt {
  581. color: #66cccc; }
  582. /* Name.Tag */
  583. .highlight .nv {
  584. color: #f2777a; }
  585. /* Name.Variable */
  586. .highlight .ow {
  587. color: #66cccc; }
  588. /* Operator.Word */
  589. .highlight .w {
  590. color: #f2f0ec; }
  591. /* Text.Whitespace */
  592. .highlight .mf {
  593. color: #f99157; }
  594. /* Literal.Number.Float */
  595. .highlight .mh {
  596. color: #f99157; }
  597. /* Literal.Number.Hex */
  598. .highlight .mi {
  599. color: #f99157; }
  600. /* Literal.Number.Integer */
  601. .highlight .mo {
  602. color: #f99157; }
  603. /* Literal.Number.Oct */
  604. .highlight .sb {
  605. color: #99cc99; }
  606. /* Literal.String.Backtick */
  607. .highlight .sc {
  608. color: #f2f0ec; }
  609. /* Literal.String.Char */
  610. .highlight .sd {
  611. color: #747369; }
  612. /* Literal.String.Doc */
  613. .highlight .s2 {
  614. color: #99cc99; }
  615. /* Literal.String.Double */
  616. .highlight .se {
  617. color: #f99157; }
  618. /* Literal.String.Escape */
  619. .highlight .sh {
  620. color: #99cc99; }
  621. /* Literal.String.Heredoc */
  622. .highlight .si {
  623. color: #f99157; }
  624. /* Literal.String.Interpol */
  625. .highlight .sx {
  626. color: #99cc99; }
  627. /* Literal.String.Other */
  628. .highlight .sr {
  629. color: #99cc99; }
  630. /* Literal.String.Regex */
  631. .highlight .s1 {
  632. color: #99cc99; }
  633. /* Literal.String.Single */
  634. .highlight .ss {
  635. color: #99cc99; }
  636. /* Literal.String.Symbol */
  637. .highlight .bp {
  638. color: #f2f0ec; }
  639. /* Name.Builtin.Pseudo */
  640. .highlight .vc {
  641. color: #f2777a; }
  642. /* Name.Variable.Class */
  643. .highlight .vg {
  644. color: #f2777a; }
  645. /* Name.Variable.Global */
  646. .highlight .vi {
  647. color: #f2777a; }
  648. /* Name.Variable.Instance */
  649. .highlight .il {
  650. color: #f99157; }
  651. /* Literal.Number.Integer.Long */
  652. /*# sourceMappingURL=style.css.map */