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.

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