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.

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