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.

775 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. 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-bottom: 1rem;
  383. padding: 1em;
  384. background-color: #393939; }
  385. @media (max-width: 52em) {
  386. article.single figure, article.single div.highlight {
  387. width: 100%;
  388. margin-left: 0;
  389. margin-right: 0;
  390. border-radius: 3px; } }
  391. article.single figure img {
  392. max-width: 100%;
  393. width: 100%;
  394. border-radius: 3px; }
  395. article.single figure figcaption {
  396. margin-top: 1rem; }
  397. article.single figure figcaption h4 {
  398. margin-top: 0;
  399. text-align: center;
  400. font-style: italic;
  401. font-weight: normal;
  402. color: #f2f0ec; }
  403. article.single table {
  404. border-collapse: separate;
  405. border-spacing: 0;
  406. max-width: 100%;
  407. width: 100%; }
  408. article.single th,
  409. article.single td {
  410. padding: .25rem 1rem;
  411. line-height: inherit;
  412. border-bottom-width: 1px;
  413. border-bottom-style: solid;
  414. border-bottom-color: #a09f93; }
  415. article.single tr:last-child td {
  416. border-bottom: 0; }
  417. article.single th {
  418. text-align: left;
  419. font-weight: bold;
  420. vertical-align: bottom; }
  421. article.single td {
  422. vertical-align: top; }
  423. article.single blockquote {
  424. margin-left: 2rem;
  425. margin-right: 3rem;
  426. padding-left: 1rem;
  427. border-left: 5px solid #66cccc; }
  428. article.single hr {
  429. border: 0;
  430. border-bottom-style: solid;
  431. border-bottom-width: 1px;
  432. border-bottom-color: #a09f93; }
  433. pre {
  434. background: #2d2d2d;
  435. color: #f2f0ec; }
  436. .highlight .hll {
  437. background-color: #515151; }
  438. .highlight .c {
  439. color: #747369; }
  440. /* Comment */
  441. .highlight .err {
  442. color: #f2777a; }
  443. /* Error */
  444. .highlight .k {
  445. color: #cc99cc; }
  446. /* Keyword */
  447. .highlight .l {
  448. color: #f99157; }
  449. /* Literal */
  450. .highlight .n {
  451. color: #f2f0ec; }
  452. /* Name */
  453. .highlight .o {
  454. color: #66cccc; }
  455. /* Operator */
  456. .highlight .p {
  457. color: #f2f0ec; }
  458. /* Punctuation */
  459. .highlight .cm {
  460. color: #747369; }
  461. /* Comment.Multiline */
  462. .highlight .cp {
  463. color: #747369; }
  464. /* Comment.Preproc */
  465. .highlight .c1 {
  466. color: #747369; }
  467. /* Comment.Single */
  468. .highlight .cs {
  469. color: #747369; }
  470. /* Comment.Special */
  471. .highlight .gd {
  472. color: #f2777a; }
  473. /* Generic.Deleted */
  474. .highlight .ge {
  475. font-style: italic; }
  476. /* Generic.Emph */
  477. .highlight .gh {
  478. color: #f2f0ec;
  479. font-weight: bold; }
  480. /* Generic.Heading */
  481. .highlight .gi {
  482. color: #99cc99; }
  483. /* Generic.Inserted */
  484. .highlight .gp {
  485. color: #747369;
  486. font-weight: bold; }
  487. /* Generic.Prompt */
  488. .highlight .gs {
  489. font-weight: bold; }
  490. /* Generic.Strong */
  491. .highlight .gu {
  492. color: #66cccc;
  493. font-weight: bold; }
  494. /* Generic.Subheading */
  495. .highlight .kc {
  496. color: #cc99cc; }
  497. /* Keyword.Constant */
  498. .highlight .kd {
  499. color: #cc99cc; }
  500. /* Keyword.Declaration */
  501. .highlight .kn {
  502. color: #66cccc; }
  503. /* Keyword.Namespace */
  504. .highlight .kp {
  505. color: #cc99cc; }
  506. /* Keyword.Pseudo */
  507. .highlight .kr {
  508. color: #cc99cc; }
  509. /* Keyword.Reserved */
  510. .highlight .kt {
  511. color: #ffcc66; }
  512. /* Keyword.Type */
  513. .highlight .ld {
  514. color: #99cc99; }
  515. /* Literal.Date */
  516. .highlight .m {
  517. color: #f99157; }
  518. /* Literal.Number */
  519. .highlight .s {
  520. color: #99cc99; }
  521. /* Literal.String */
  522. .highlight .na {
  523. color: #6699cc; }
  524. /* Name.Attribute */
  525. .highlight .nb {
  526. color: #f2f0ec; }
  527. /* Name.Builtin */
  528. .highlight .nc {
  529. color: #ffcc66; }
  530. /* Name.Class */
  531. .highlight .no {
  532. color: #f2777a; }
  533. /* Name.Constant */
  534. .highlight .nd {
  535. color: #66cccc; }
  536. /* Name.Decorator */
  537. .highlight .ni {
  538. color: #f2f0ec; }
  539. /* Name.Entity */
  540. .highlight .ne {
  541. color: #f2777a; }
  542. /* Name.Exception */
  543. .highlight .nf {
  544. color: #6699cc; }
  545. /* Name.Function */
  546. .highlight .nl {
  547. color: #f2f0ec; }
  548. /* Name.Label */
  549. .highlight .nn {
  550. color: #ffcc66; }
  551. /* Name.Namespace */
  552. .highlight .nx {
  553. color: #6699cc; }
  554. /* Name.Other */
  555. .highlight .py {
  556. color: #f2f0ec; }
  557. /* Name.Property */
  558. .highlight .nt {
  559. color: #66cccc; }
  560. /* Name.Tag */
  561. .highlight .nv {
  562. color: #f2777a; }
  563. /* Name.Variable */
  564. .highlight .ow {
  565. color: #66cccc; }
  566. /* Operator.Word */
  567. .highlight .w {
  568. color: #f2f0ec; }
  569. /* Text.Whitespace */
  570. .highlight .mf {
  571. color: #f99157; }
  572. /* Literal.Number.Float */
  573. .highlight .mh {
  574. color: #f99157; }
  575. /* Literal.Number.Hex */
  576. .highlight .mi {
  577. color: #f99157; }
  578. /* Literal.Number.Integer */
  579. .highlight .mo {
  580. color: #f99157; }
  581. /* Literal.Number.Oct */
  582. .highlight .sb {
  583. color: #99cc99; }
  584. /* Literal.String.Backtick */
  585. .highlight .sc {
  586. color: #f2f0ec; }
  587. /* Literal.String.Char */
  588. .highlight .sd {
  589. color: #747369; }
  590. /* Literal.String.Doc */
  591. .highlight .s2 {
  592. color: #99cc99; }
  593. /* Literal.String.Double */
  594. .highlight .se {
  595. color: #f99157; }
  596. /* Literal.String.Escape */
  597. .highlight .sh {
  598. color: #99cc99; }
  599. /* Literal.String.Heredoc */
  600. .highlight .si {
  601. color: #f99157; }
  602. /* Literal.String.Interpol */
  603. .highlight .sx {
  604. color: #99cc99; }
  605. /* Literal.String.Other */
  606. .highlight .sr {
  607. color: #99cc99; }
  608. /* Literal.String.Regex */
  609. .highlight .s1 {
  610. color: #99cc99; }
  611. /* Literal.String.Single */
  612. .highlight .ss {
  613. color: #99cc99; }
  614. /* Literal.String.Symbol */
  615. .highlight .bp {
  616. color: #f2f0ec; }
  617. /* Name.Builtin.Pseudo */
  618. .highlight .vc {
  619. color: #f2777a; }
  620. /* Name.Variable.Class */
  621. .highlight .vg {
  622. color: #f2777a; }
  623. /* Name.Variable.Global */
  624. .highlight .vi {
  625. color: #f2777a; }
  626. /* Name.Variable.Instance */
  627. .highlight .il {
  628. color: #f99157; }
  629. /* Literal.Number.Integer.Long */
  630. /*# sourceMappingURL=style.css.map */