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.

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