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.

1160 lines
22 KiB

2 years ago
2 years ago
2 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
4 months ago
4 months ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. /* Base16 Eighties Colorscheme by Chris Kempson (http://chriskempson.com) */
  2. // base colors {{{ //
  3. $base02: #515151;
  4. $base03: #747369;
  5. $base04: #a09f93;
  6. $base05: #d3d0c8;
  7. $base-red: #f2777a;
  8. $base-orange: #f99157;
  9. $base-yellow: #ffcc66;
  10. $base-green: #99cc99;
  11. $base-sky-blue: #66cccc;
  12. $base-blue: #6699cc;
  13. $base-violet: #cc99cc;
  14. $base-dark-orange: #d27b53;
  15. /* .base00 { color: #2d2d2d; }
  16. .base01 { color: #393939; }
  17. .base02 { color: #515151; }
  18. .base03 { color: #747369; }
  19. .base04 { color: #a09f93; }
  20. .base06 { color: #e8e6df; }
  21. .base07 { color: #f2f0ec; } */
  22. .base08 { color: $base-red; }
  23. .base09 { color: $base-orange; }
  24. .base0a { color: $base-yellow; }
  25. .base0b { color: $base-green; }
  26. .base0c { color: $base-sky-blue; }
  27. .base0d { color: $base-blue; }
  28. .base0e { color: $base-violet; }
  29. .base0f { color: $base-dark-orange; }
  30. // }}} base colors //
  31. // mixins {{{ //
  32. // $max-page-width: 52em;
  33. $max-page-width: 45em;
  34. $phone-width: 800px;
  35. @mixin side-padding-rem($n) {// {{{
  36. padding-left: $n * 1rem;
  37. padding-right: $n * 1rem;
  38. }// }}}
  39. @mixin side-margin-em($n) {// {{{
  40. margin-left: $n * 1em;
  41. margin-right: $n * 1em;
  42. }// }}}
  43. @mixin vert-padding-rem($n) {// {{{
  44. padding-top: $n * 1rem;
  45. padding-bottom: $n * 1rem;
  46. }// }}}
  47. @mixin vert-margin-rem($n) {// {{{
  48. margin-top: $n * 1rem;
  49. margin-bottom: $n * 1rem;
  50. }// }}}
  51. @mixin auto-center() {// {{{
  52. margin-left: auto;
  53. margin-right: auto;
  54. }// }}}
  55. @mixin article-body() {// {{{
  56. /* background-color: #e6e6fa; */
  57. background-color: #cbbeb5;
  58. color: #2d2d2d;
  59. @include side-padding-rem(8);
  60. @include vert-padding-rem(1);
  61. /* min-height: 50%; */
  62. /* min-height: 30em; */
  63. @media (max-width: $max-page-width) {
  64. @include side-padding-rem(2);
  65. }
  66. }// }}}
  67. @mixin a-color($color) {// {{{
  68. a {
  69. color: $color;
  70. &:visited {
  71. color: $color;
  72. }
  73. &:active {
  74. color: $color;
  75. }
  76. }
  77. }// }}}
  78. // }}} mixins //
  79. // general elements {{{ //
  80. // $background-color: #2d2d2d;
  81. // $color: #f2f0ec;
  82. $background-color: white;
  83. $color: black;
  84. body {
  85. margin: 0;
  86. background-color: $background-color;
  87. color: $color;
  88. // line-height: 1.5;
  89. line-height: 1.57;
  90. // font-size: 100%;
  91. font-size: 15px;
  92. // font-size: 20px;
  93. // font-size: 22px;
  94. /* font-family: 'Source Code Pro', monospace; */
  95. // font-family: 'Hack', monospace;
  96. // body {
  97. // font-family: 'Times New Roman', serif;
  98. font-family: "Computer Modern Serif";
  99. // }
  100. display: flex;
  101. flex-direction: column;
  102. min-height: 100vh;
  103. @include a-color($base-sky-blue);
  104. }
  105. .container {
  106. max-width: $max-page-width;
  107. margin-left: auto;
  108. margin-right: auto;
  109. flex: 1;
  110. @media (max-width: $max-page-width) {
  111. width: 100%;
  112. }
  113. }
  114. div {
  115. .right {
  116. float:right;
  117. }
  118. .clearfix {
  119. overflow: auto;
  120. }
  121. }
  122. article {
  123. .single {
  124. section {
  125. @include article-body();
  126. }
  127. }
  128. }
  129. .article-list {
  130. article {
  131. @include article-body();
  132. }
  133. }
  134. header {
  135. margin-top: 1.5rem;
  136. margin-bottom: 1rem;
  137. @media (max-width: $max-page-width) {
  138. margin-top: 0;
  139. @include side-padding-rem(2);
  140. }
  141. }
  142. footer {
  143. // base {{{ //
  144. @include a-color(#747369);
  145. // background-color: #393939;
  146. // max-width: $max-page-width;
  147. margin-top: 2rem;
  148. $vertical-margin: .2em;
  149. text-align: center;
  150. // font-size: 0.8em;
  151. font-size: .85em;
  152. color: #747369;
  153. // bottom: 0;
  154. // position: absolute;
  155. // width: 100%;
  156. // }}} base //
  157. .container {// {{{
  158. // max-width: $max-page-width;
  159. // min-width: $max-page-width;
  160. @include auto-center();
  161. // @include vert-padding-rem(.1);
  162. @include side-padding-rem(0);
  163. #footer-row {
  164. // background-color: #393939;
  165. }
  166. #footer-content {
  167. $side-padding: 2.5em;
  168. @include vert-padding-rem(.35);
  169. border-style: solid;
  170. border-width: 1px 0 0 0;
  171. border-color: rgba(81, 81, 81, .75);
  172. #copyright {
  173. // padding-left: .85em;
  174. padding-left: $side-padding;
  175. position: relative;
  176. top: 2px;
  177. @include a-color(#747369);
  178. }
  179. #social-icons {
  180. position: relative;
  181. padding-right: $side-padding;
  182. // padding-right: .9em;
  183. img {
  184. // height: 1.5em;
  185. height: 3em;
  186. @include vert-margin-rem(.2);
  187. padding-left: .5em;
  188. opacity: .6;
  189. &:hover {
  190. opacity: 1;
  191. }
  192. }
  193. }
  194. }
  195. }// }}}
  196. @media (max-width: $max-page-width) {
  197. margin-top: 0;
  198. margin-bottom: 0;
  199. }
  200. @media (max-width: $phone-width) {
  201. font-size: 0.8em;
  202. }
  203. }
  204. /* Typography */
  205. @for $i from 1 to 6 {
  206. h#{$i} {
  207. font-weight: bold;
  208. line-height: 1.25;
  209. margin-top: 1em;
  210. margin-bottom: .5em;
  211. }
  212. }
  213. p {
  214. margin-top: 0;
  215. margin-bottom: 1rem;
  216. }
  217. // h1 {
  218. // font-size: 2rem;
  219. // @media (max-width: $phone-width) {
  220. // font-size: 1.75rem;
  221. // }
  222. // }
  223. // h2 {
  224. // font-size: 1.5rem;
  225. // @media (max-width: $phone-width) {
  226. // font-size: 1.4rem;
  227. // }
  228. // }
  229. h3 { font-size: 1.25rem }
  230. // h4 { font-size: 1rem }
  231. h5 { font-size: .875rem }
  232. h6 { font-size: .75rem }
  233. pre, code {
  234. font-family: inherit;
  235. font-size: inherit;
  236. }
  237. // }}} general elements //
  238. header {// {{{
  239. a {
  240. .path .path:visited {
  241. color: #6699cc;
  242. }
  243. }
  244. span {
  245. caret {
  246. color: #f2f0ec;
  247. }
  248. }
  249. }// }}}
  250. .page-not-found {// {{{
  251. h1 {
  252. text-align: center;
  253. font-size: 5em;
  254. }
  255. h2 {
  256. text-align: center;
  257. font-size: 3em;
  258. color: $base04;
  259. margin-bottom: 4rem;
  260. }
  261. @media (max-width: $max-page-width) {
  262. h1 {
  263. font-size: 3em;
  264. }
  265. h2 {
  266. font-size: 2em;
  267. }
  268. }
  269. }// }}}
  270. #homepage {// {{{
  271. #about {
  272. font-size: 1.1rem;
  273. h2 {
  274. margin-top: 1.25rem;
  275. // font-size: 2rem;
  276. font-size: 1.9rem;
  277. color: $base-yellow;
  278. text-align: center;
  279. // @media (max-width: $max-page-width) {
  280. // @include side-padding-rem(2);
  281. // }
  282. }
  283. .me-equation {
  284. margin-top: 3em;
  285. text-align: center;
  286. display: flex;
  287. // display: grid;
  288. // grid-template-columns: repeat(3, 2fr 1fr) 2fr;
  289. justify-content: center; /* align horizontal */
  290. align-items: center; /* align vertical */
  291. .equation-part {
  292. // width: 33%;
  293. display: flex;
  294. flex: 1;
  295. justify-content: center; /* align horizontal */
  296. align-items: center; /* align vertical */
  297. a {
  298. text-decoration: none;
  299. width: 70%;
  300. }
  301. img {
  302. // width: 7em;
  303. width: 70%;
  304. // width: 15vw;
  305. // min-width: 25%;
  306. // height: 25%;
  307. height: 100%;
  308. // height: auto;
  309. // height: 20vw;
  310. // object-fit: contain;
  311. // flex-basis: 20%;
  312. // flex: 2 2 0;
  313. // border-radius: 1.5em;
  314. border-radius: 1.1em;
  315. display: inline;
  316. &#gnu {
  317. // background-color: $base04;
  318. // background-color: $base05;
  319. }
  320. }
  321. p {
  322. // font-size: 3rem;
  323. font-size: 3vw;
  324. // width: 20%;
  325. // flex: 1;
  326. // display: inline;
  327. display: inline-block;
  328. @include side-padding-rem(0.2);
  329. }
  330. }
  331. // @media (max-width: 800px) {// {{{
  332. @media (max-width: $phone-width) {
  333. // flex-direction: column;
  334. flex-wrap: wrap;
  335. margin-top: 2em;
  336. justify-content: space-around; /* align horizontal */
  337. // height: 100vh;
  338. // height: 50vh;
  339. .equation-part {
  340. // min-width: 50vw;
  341. // display: inline-block;
  342. // min-width: 50%;
  343. min-width: 33%;
  344. // max-height: 25vh;
  345. // flex-direction: column;
  346. img {
  347. // display: block;
  348. // width: 50%;
  349. flex: 1.5;
  350. // flex: 1;
  351. // height: 50%;
  352. // max-height: 30%;
  353. // max-height: 25vh;
  354. &#hexatar {
  355. // max-width: 70%;
  356. max-width: 20%;
  357. // max-height: 15vh;
  358. // margin-top: 2rem;
  359. margin-top: 1.75rem;
  360. }
  361. }
  362. p {
  363. // font-size: 3rem;
  364. font-size: 6vw;
  365. // width: 20%;
  366. flex: 1;
  367. // @include side-padding-rem(0.2);
  368. }
  369. &#uoft-part {
  370. justify-content: flex-end;
  371. }
  372. }
  373. }
  374. // @media (max-width: $phone-width) {
  375. // margin-top: 2em;
  376. // display: block;
  377. // p {
  378. // display: block;
  379. // @include vert-padding-rem(0.1);
  380. // margin-bottom: 0rem;
  381. // }
  382. // }
  383. }
  384. @media (max-width: $phone-width) {
  385. // font-size: 1.1em;
  386. font-size: .9em;
  387. h1 {
  388. // font-size: 1.75rem;
  389. font-size: 1.4rem;
  390. }
  391. }// }}}
  392. }
  393. @media (max-width: $max-page-width) {
  394. margin-bottom: 2rem;
  395. }
  396. }
  397. /* .homepage section.categories,
  398. .homepage section.tags {
  399. padding-left: 2rem;
  400. padding-right: 2rem;
  401. }
  402. .homepage .category,
  403. .homepage .category a,
  404. .homepage .tag,
  405. .homepage .tag a {
  406. color: #cc99cc;
  407. }
  408. .homepage .tag {
  409. margin-right: 2em;
  410. } */// }}}
  411. #print-icon {// {{{
  412. float: right;
  413. display: none;
  414. img {
  415. height: 1.75em;
  416. position: relative;
  417. top: 1em;
  418. }
  419. }// }}}
  420. #contact-info {// {{{
  421. @include side-margin-em(0);
  422. // @include vert-padding-rem(0.5);
  423. @include a-color($base-sky-blue);
  424. // min-width: $max-page-width;
  425. @media (min-width: 1200px) {
  426. .container{
  427. min-width: $max-page-width;
  428. }
  429. }
  430. a {// {{{
  431. text-decoration: none;
  432. &:hover {
  433. text-decoration: none;
  434. }
  435. }// }}}
  436. // font-size: .9em;
  437. font-size: .8em;
  438. .row {
  439. // flex-grow: 1;
  440. color: $base05;
  441. img {
  442. height: 1em;
  443. // @media (max-width: $phone-width) {
  444. // height: 1.5em;
  445. // }
  446. }
  447. div[class^="col"] {
  448. @include side-padding-rem(0);
  449. // text-align: center;
  450. }
  451. }
  452. .url-info {
  453. font-size: 1em;
  454. margin-left: 5px;
  455. // position: relative;
  456. // left: -8px;
  457. // @media (max-width: $phone-width) {
  458. // // display: none;
  459. // // font-size: 10px;
  460. // font-size: .8em;
  461. // }
  462. }
  463. }// }}}
  464. #resume {// {{{
  465. a {// {{{
  466. // text-decoration: none;
  467. // color: $base-blue;
  468. color: #4287cd;
  469. // color: blue;
  470. text-decoration: underline;
  471. &:hover {
  472. text-decoration: underline;
  473. }
  474. }// }}}
  475. h1 {// {{{
  476. color: $base-orange;
  477. // margin-top: 1.3rem;
  478. margin-top: 1rem;
  479. // font-size: 1.2em;
  480. font-size: 1.3em;
  481. // @media (max-width: $phone-width) {
  482. // margin-top: .75rem;
  483. // }
  484. }// }}}
  485. h2 {// {{{
  486. color: $base-orange;
  487. margin-top: .5rem;
  488. font-size: 1em;
  489. // @media (max-width: $phone-width) {
  490. // font-size: 1.2em;
  491. // margin-top: .75rem;
  492. // }
  493. }// }}}
  494. h4 {// {{{
  495. color: $base-yellow;
  496. margin-top: .5rem;
  497. font-size: 1.2em;
  498. // @media (max-width: $phone-width) {
  499. // font-size: 1.2em;
  500. // margin-top: .75rem;
  501. // }
  502. }// }}}
  503. .date {// {{{
  504. float: right;
  505. color: $base03;
  506. // @media (max-width: $phone-width) {
  507. // padding-top: 0em;
  508. // }
  509. }// }}}
  510. .section-header {
  511. margin-top: 1em;
  512. margin-bottom: 0.4em;
  513. }
  514. ul {
  515. margin-bottom: 5px;
  516. }
  517. .work-experience {
  518. margin-bottom: 5px;
  519. }
  520. #projects {// {{{
  521. // // h1 {
  522. // // margin-bottom: 3px;
  523. // // }
  524. .project {// {{{
  525. @include vert-padding-rem(.2);
  526. h2 {
  527. color: $base-sky-blue;
  528. display: inline;
  529. font-size: 1.1em;
  530. }
  531. img {
  532. height: 1.2em;
  533. }
  534. .project-header {
  535. // margin-bottom: .6em;
  536. // margin-bottom: .1em;
  537. margin-bottom: 5px;
  538. }
  539. .project-title {
  540. color: $base-blue;
  541. }
  542. .project-link {
  543. &:link {
  544. text-decoration: none;
  545. }
  546. &:hover {
  547. text-decoration: none;
  548. }
  549. }
  550. .down-triangle {
  551. // fill: blue;
  552. height: 1.2em;
  553. position: relative;
  554. top: -3px;
  555. left: -3px;
  556. }
  557. .btn {// {{{
  558. display: inline;
  559. background-color: transparent;
  560. margin-bottom: 5px;
  561. padding-left: 7px;
  562. &:focus, &:active {
  563. outline: none !important;
  564. box-shadow: none;
  565. }
  566. }// }}}
  567. // }}}
  568. // [id^="details-"] {
  569. // margin-top: .5em;
  570. // }
  571. }
  572. }// }}}
  573. .company {
  574. color: #fe4646;
  575. font-weight: bold;
  576. font-size: 1.2em;
  577. margin-bottom: 5px;
  578. }
  579. .position {
  580. // color: black;
  581. // color: $base-sky-blue;
  582. color: $base-blue;
  583. font-weight: bold;
  584. // font-style: italic;
  585. font-size: 1.1em;
  586. // margin-bottom: 5px;
  587. margin-bottom: 15px;
  588. }
  589. .institution {
  590. // color: $base-yellow;
  591. // color: $base-dark-orange;
  592. color: $base-blue;
  593. font-weight: bold;
  594. font-size: 1.1em;
  595. margin-bottom: 5px;
  596. }
  597. .title {
  598. font-style: italic;
  599. }
  600. #education {// {{{
  601. .date {
  602. padding-top: 0;
  603. }
  604. }// }}}
  605. // @media (max-width: $phone-width) {
  606. // font-size: 14px;
  607. // // font-size: 1em;
  608. // }
  609. &.letter {
  610. margin-top: 2em;
  611. line-height: 1.5em;
  612. img {
  613. height: 4.5em;
  614. }
  615. h2 {
  616. color: $base-red;
  617. margin-top: 0em;
  618. margin-bottom: .4em;
  619. }
  620. p {
  621. margin-bottom: 1em;
  622. }
  623. .no-line-spacing {
  624. line-height: .5em;
  625. margin-bottom: 1.75em;
  626. p {
  627. margin-bottom: 1em;
  628. }
  629. }
  630. }
  631. }// }}}
  632. #server {// {{{
  633. .body {
  634. @include vert-padding-rem(.5);
  635. }
  636. h1 {
  637. margin-bottom: .25em;
  638. }
  639. // table {
  640. // margin-top: 1.75em;
  641. // }
  642. th, td {
  643. @include vert-padding-rem(.4);
  644. @include side-padding-rem(.5);
  645. border: 1px solid rgba(160, 159, 147, .5);
  646. }
  647. th {
  648. color: $base-orange;
  649. text-align: center;
  650. font-size: 1.3em;
  651. }
  652. td {
  653. font-size: .9em;
  654. }
  655. .description {
  656. font-size: .85em;
  657. }
  658. .status {
  659. text-align: center;
  660. img {
  661. height: 2em;
  662. }
  663. }
  664. #time-info {
  665. padding-top: 1em;
  666. font-size: .75em;
  667. font-style: italic;
  668. color: $base03;
  669. }
  670. }// }}}
  671. // TODO: converted up to here
  672. // hero {{{ //
  673. h1.site-title {// {{{
  674. text-align: center;
  675. // font-size: 4.2em;
  676. font-size: 3.2em;
  677. // color: #66cccc;
  678. color: $base05;
  679. // margin-top: 1rem;
  680. // margin-bottom: 0.75rem;
  681. @include vert-margin-rem(.75);
  682. @include a-color($base-sky-blue);
  683. a {
  684. text-decoration: none;
  685. }
  686. // @media (max-width: $phone-width) {
  687. // font-size: 3em;
  688. // }
  689. // @media (max-width: $phone-width) {
  690. // font-size: 3.5em;
  691. // @include vert-margin-rem(.3);
  692. // // font-size: 2.5em;
  693. // // font-size: 2em;
  694. // .surrounding {
  695. // display: none;
  696. // }
  697. // }
  698. }// }}}
  699. .hero-logo img {
  700. margin-top: 0.5rem;
  701. width: 100%;
  702. // display: none;
  703. // width: $max-page-width;
  704. }
  705. .nav-bar {// {{{
  706. margin-left: .5em;
  707. // margin-bottom: 1em;
  708. // margin-top: .75em;
  709. @include vert-padding-rem(.5);
  710. .caret {
  711. color: #f2f0ec;
  712. margin-right: .75rem;
  713. }
  714. .nav-bar-links {
  715. display: inline;
  716. .nav-bar-link {
  717. padding-right: .5em;
  718. }
  719. }
  720. @media (max-width: $phone-width) {
  721. // font-size: .9em;
  722. font-size: .8em;
  723. }
  724. }// }}}
  725. .hero-tagline{// {{{
  726. margin-top: .3em;
  727. font-size: .8rem;
  728. // font-style: italic;
  729. text-align: center;
  730. .icon {
  731. width: 1.25rem;
  732. }
  733. }// }}}
  734. // }}} hero //
  735. // article-list {{{ //
  736. .article-list h1.list-title {
  737. font-size: 3em;
  738. color: #ffcc66;
  739. }
  740. .article-list article {
  741. padding-top: 4rem;
  742. padding-bottom: 4rem;
  743. margin-bottom: 4rem;
  744. }
  745. .article-list article h2.headline,
  746. .article-list article h2.headline a {
  747. margin-top: 0;
  748. color: #6699cc;
  749. }
  750. .article-list article .meta {
  751. margin-bottom: 1rem;
  752. }
  753. .article-list article .meta .key {
  754. color: #747369;
  755. }
  756. .article-list article .meta .val,
  757. .article-list article .meta .val a {
  758. color: #cc99cc;
  759. }
  760. .article-list article section.summary a { color: #d27b53; }
  761. // }}} article-list //
  762. // article.single {{{ //
  763. article.single {
  764. .meta {
  765. font-size: 0.9em;
  766. text-align: right;
  767. margin-top: .5rem;
  768. margin-bottom: .5rem;
  769. .key {
  770. color: #747369;
  771. }
  772. .val {
  773. color: #cc99cc;
  774. a {
  775. color: #cc99cc;
  776. }
  777. }
  778. }
  779. .body {
  780. padding-top: 1rem;
  781. padding-bottom: 3rem;
  782. }
  783. @media (max-width: $max-page-width) {
  784. .meta {
  785. padding-left: 2rem;
  786. padding-right: 2rem;
  787. }
  788. .body {
  789. padding-top: .5rem;
  790. padding-bottom: 1rem;
  791. }
  792. }
  793. }
  794. article.single h1.headline {
  795. margin-top: 0;
  796. font-size: 3em;
  797. color: #ffcc66;
  798. }
  799. @media (max-width: $max-page-width) {
  800. article.single h1.headline {
  801. font-size: 2em;
  802. padding-left: 2rem;
  803. padding-right: 2rem;
  804. }
  805. }
  806. /* Highlight Colors */
  807. article.single section.body h1 { color: #6699cc; }
  808. article.single section.body h2 { color: #99cc99; }
  809. article.single section.body h3 { color: #f99157; }
  810. article.single section.body h4 { color: #f2777a; }
  811. article.single section.body h5 { color: #515151; }
  812. article.single section.body h6 { color: #747369; }
  813. // article.single section.body a,a:visited { color: #a06700; }
  814. article.single section.body a,a:visited { color: $base-sky-blue; }
  815. /* Article Elements */
  816. article.single * {
  817. max-width: 100%;
  818. }
  819. article.single pre {
  820. margin-top: 0;
  821. margin-bottom: 1rem;
  822. // overflow-x: auto;
  823. border-radius: 3px;
  824. padding: 2rem;
  825. }
  826. article.single p code {
  827. padding: 0.2em 0.5em;
  828. border-radius: 3px;
  829. background: #747369;
  830. color: #f2f0ec;
  831. }
  832. article.single figure, article.single div.highlight {
  833. box-sizing: border-box;
  834. max-width: 52rem;
  835. width: 52rem;
  836. margin-bottom: 1rem;
  837. padding: 1em;
  838. background-color: #393939;
  839. }
  840. @media (max-width: $max-page-width) {
  841. article.single figure, article.single div.highlight {
  842. width: 100%;
  843. margin-left: 0;
  844. margin-right: 0;
  845. border-radius: 3px;
  846. }
  847. }
  848. article.single figure img {
  849. max-width: 100%;
  850. width: 100%;
  851. border-radius: 3px;
  852. }
  853. article.single figure figcaption {
  854. margin-top: 1rem;
  855. }
  856. article.single figure figcaption h4 {
  857. margin-top: 0;
  858. text-align: center;
  859. font-style: italic;
  860. font-weight: normal;
  861. color: #f2f0ec;
  862. }
  863. article.single table {
  864. border-collapse: separate;
  865. border-spacing: 0;
  866. max-width: 100%;
  867. width: 100%;
  868. }
  869. article.single th,
  870. article.single td {
  871. padding: .25rem 1rem;
  872. line-height: inherit;
  873. border-bottom-width: 1px;
  874. border-bottom-style: solid;
  875. border-bottom-color: $base04;
  876. }
  877. article.single tr:last-child td {
  878. border-bottom: 0;
  879. }
  880. article.single th {
  881. text-align: left;
  882. font-weight: bold;
  883. vertical-align: bottom;
  884. }
  885. article.single td { vertical-align: top }
  886. article.single blockquote {
  887. margin-left: 2rem;
  888. margin-right: 3rem;
  889. padding-left: 1rem;
  890. border-left: 5px solid #66cccc;
  891. }
  892. article.single hr {
  893. border: 0;
  894. border-bottom-style: solid;
  895. border-bottom-width: 1px;
  896. border-bottom-color: $base04;
  897. }
  898. // }}} article.single //
  899. // Pygments {{{ //
  900. pre { background: #2d2d2d; color: #f2f0ec }
  901. .highlight .hll { background-color: #515151 }
  902. .highlight .c { color: #747369 } /* Comment */
  903. .highlight .err { color: #f2777a } /* Error */
  904. .highlight .k { color: #cc99cc } /* Keyword */
  905. .highlight .l { color: #f99157 } /* Literal */
  906. .highlight .n { color: #f2f0ec } /* Name */
  907. .highlight .o { color: #66cccc } /* Operator */
  908. .highlight .p { color: #f2f0ec } /* Punctuation */
  909. .highlight .cm { color: #747369 } /* Comment.Multiline */
  910. .highlight .cp { color: #747369 } /* Comment.Preproc */
  911. .highlight .c1 { color: #747369 } /* Comment.Single */
  912. .highlight .cs { color: #747369 } /* Comment.Special */
  913. .highlight .gd { color: #f2777a } /* Generic.Deleted */
  914. .highlight .ge { font-style: italic } /* Generic.Emph */
  915. .highlight .gh { color: #f2f0ec; font-weight: bold } /* Generic.Heading */
  916. .highlight .gi { color: #99cc99 } /* Generic.Inserted */
  917. .highlight .gp { color: #747369; font-weight: bold } /* Generic.Prompt */
  918. .highlight .gs { font-weight: bold } /* Generic.Strong */
  919. .highlight .gu { color: #66cccc; font-weight: bold } /* Generic.Subheading */
  920. .highlight .kc { color: #cc99cc } /* Keyword.Constant */
  921. .highlight .kd { color: #cc99cc } /* Keyword.Declaration */
  922. .highlight .kn { color: #66cccc } /* Keyword.Namespace */
  923. .highlight .kp { color: #cc99cc } /* Keyword.Pseudo */
  924. .highlight .kr { color: #cc99cc } /* Keyword.Reserved */
  925. .highlight .kt { color: #ffcc66 } /* Keyword.Type */
  926. .highlight .ld { color: #99cc99 } /* Literal.Date */
  927. .highlight .m { color: #f99157 } /* Literal.Number */
  928. .highlight .s { color: #99cc99 } /* Literal.String */
  929. .highlight .na { color: #6699cc } /* Name.Attribute */
  930. .highlight .nb { color: #f2f0ec } /* Name.Builtin */
  931. .highlight .nc { color: #ffcc66 } /* Name.Class */
  932. .highlight .no { color: #f2777a } /* Name.Constant */
  933. .highlight .nd { color: #66cccc } /* Name.Decorator */
  934. .highlight .ni { color: #f2f0ec } /* Name.Entity */
  935. .highlight .ne { color: #f2777a } /* Name.Exception */
  936. .highlight .nf { color: #6699cc } /* Name.Function */
  937. .highlight .nl { color: #f2f0ec } /* Name.Label */
  938. .highlight .nn { color: #ffcc66 } /* Name.Namespace */
  939. .highlight .nx { color: #6699cc } /* Name.Other */
  940. .highlight .py { color: #f2f0ec } /* Name.Property */
  941. .highlight .nt { color: #66cccc } /* Name.Tag */
  942. .highlight .nv { color: #f2777a } /* Name.Variable */
  943. .highlight .ow { color: #66cccc } /* Operator.Word */
  944. .highlight .w { color: #f2f0ec } /* Text.Whitespace */
  945. .highlight .mf { color: #f99157 } /* Literal.Number.Float */
  946. .highlight .mh { color: #f99157 } /* Literal.Number.Hex */
  947. .highlight .mi { color: #f99157 } /* Literal.Number.Integer */
  948. .highlight .mo { color: #f99157 } /* Literal.Number.Oct */
  949. .highlight .sb { color: #99cc99 } /* Literal.String.Backtick */
  950. .highlight .sc { color: #f2f0ec } /* Literal.String.Char */
  951. .highlight .sd { color: #747369 } /* Literal.String.Doc */
  952. .highlight .s2 { color: #99cc99 } /* Literal.String.Double */
  953. .highlight .se { color: #f99157 } /* Literal.String.Escape */
  954. .highlight .sh { color: #99cc99 } /* Literal.String.Heredoc */
  955. .highlight .si { color: #f99157 } /* Literal.String.Interpol */
  956. .highlight .sx { color: #99cc99 } /* Literal.String.Other */
  957. .highlight .sr { color: #99cc99 } /* Literal.String.Regex */
  958. .highlight .s1 { color: #99cc99 } /* Literal.String.Single */
  959. .highlight .ss { color: #99cc99 } /* Literal.String.Symbol */
  960. .highlight .bp { color: #f2f0ec } /* Name.Builtin.Pseudo */
  961. .highlight .vc { color: #f2777a } /* Name.Variable.Class */
  962. .highlight .vg { color: #f2777a } /* Name.Variable.Global */
  963. .highlight .vi { color: #f2777a } /* Name.Variable.Instance */
  964. .highlight .il { color: #f99157 } /* Literal.Number.Integer.Long */
  965. /*# sourceMappingURL=style.css.map */
  966. // }}} Pygments //