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.

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