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.

1186 lines
23 KiB

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