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.

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