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.

1156 lines
22 KiB

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