@@ -113,6 +113,15 @@ table { | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'TriplicateT4c'; | |||
src: url('/static/david/css/fonts/Triplicate-T4-Code-Regular-webfont.woff2') format('woff2'), | |||
url('/static/david/css/fonts/Triplicate-T4-Code-Regular-webfont.woff') format('woff'); | |||
font-weight: 300; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* http://practice.typekit.com/lesson/caring-about-opentype-features/ */ | |||
body { | |||
@@ -365,6 +374,81 @@ figure.unsquared { | |||
} | |||
/* https://github.com/richleland/pygments-css */ | |||
.codehilite{ | |||
background-color: #fdf6e3; | |||
margin: 1rem auto; | |||
padding: 1rem; | |||
overflow-x:auto; | |||
box-shadow:inset 0 0 2px rgba(0,0,0,0.2) | |||
} | |||
.codehilite .t{color:#586e75} | |||
.codehilite .w{color:#073642} | |||
.codehilite .err{color:#cb4b16} | |||
.codehilite .k{color:#859900} | |||
.codehilite .kc{color:#2aa198} | |||
.codehilite .kd{color:#268bd2} | |||
.codehilite .kn{color:#b58900} | |||
.codehilite .kp{color:#859900} | |||
.codehilite .kr{color:#073642} | |||
.codehilite .kt{color:#b58900} | |||
.codehilite .n{color:#586e75} | |||
.codehilite .na{color:#2aa198} | |||
.codehilite .nb{color:#268bd2} | |||
.codehilite .nc{color:#268bd2} | |||
.codehilite .ne{color:#cb4b16} | |||
.codehilite .no{color:#2aa198} | |||
.codehilite .nd{color:#2aa198} | |||
.codehilite .ni{color:#2aa198;font-weight:bold} | |||
.codehilite .nf{color:#268bd2} | |||
.codehilite .nn{color:#586e75} | |||
.codehilite .nt{color:#2aa198;font-weight:bold} | |||
.codehilite .nv{color:#cb4b16} | |||
.codehilite .b{color:#859900} | |||
.codehilite .bp{color:#586e75} | |||
.codehilite .v{color:#586e75} | |||
.codehilite .vc{color:#586e75} | |||
.codehilite .vg{color:#268bd2} | |||
.codehilite .vi{color:#268bd2} | |||
.codehilite .m{color:#268bd2} | |||
.codehilite .mf{color:#268bd2} | |||
.codehilite .mh{color:#268bd2} | |||
.codehilite .mi{color:#268bd2} | |||
.codehilite .mo{color:#268bd2} | |||
.codehilite .s{color:#2aa198} | |||
.codehilite .sb{color:#2aa198} | |||
.codehilite .sc{color:#2aa198} | |||
.codehilite .sd{color:#2aa198} | |||
.codehilite .s2{color:#2aa198} | |||
.codehilite .se{color:#cb4b16} | |||
.codehilite .sh{color:#2aa198} | |||
.codehilite .si{color:#cb4b16} | |||
.codehilite .sx{color:#2aa198} | |||
.codehilite .sr{color:#cb4b16} | |||
.codehilite .s1{color:#2aa198} | |||
.codehilite .ss{color:#cb4b16} | |||
.codehilite .il{color:#268bd2} | |||
.codehilite .o{color:#586e75} | |||
.codehilite .ow{color:#859900} | |||
.codehilite .p{color:#586e75} | |||
.codehilite .c{color:#93a1a1;font-style:italic} | |||
.codehilite .cm{color:#93a1a1} | |||
.codehilite .cp{color:#93a1a1} | |||
.codehilite .c1{color:#93a1a1} | |||
.codehilite .cs{color:#93a1a1} | |||
.codehilite .hll{background-color:#dc322f} | |||
.codehilite .g{color:#586e75} | |||
.codehilite .gd{color:#586e75} | |||
.codehilite .ge{font-style:italic} | |||
.codehilite .gr{color:#586e75} | |||
.codehilite .gh{color:#586e75;font-weight:bold} | |||
.codehilite .gi{color:#586e75} | |||
.codehilite .go{color:#586e75} | |||
.codehilite .gp{color:#586e75} | |||
.codehilite .gs{font-weight:bold} | |||
.codehilite .gu{color:#586e75;font-weight:bold} | |||
.codehilite .gt{color:#586e75} | |||
@media print { | |||
body { font-size: 100%; } |
@@ -113,6 +113,15 @@ table { | |||
font-display: swap; | |||
} | |||
@font-face { | |||
font-family: 'TriplicateT4c'; | |||
src: url('/static/david/css/fonts/Triplicate-T4-Code-Regular-webfont.woff2') format('woff2'), | |||
url('/static/david/css/fonts/Triplicate-T4-Code-Regular-webfont.woff') format('woff'); | |||
font-weight: 300; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* http://practice.typekit.com/lesson/caring-about-opentype-features/ */ | |||
body { | |||
@@ -365,6 +374,81 @@ figure.unsquared { | |||
} | |||
/* https://github.com/richleland/pygments-css */ | |||
.codehilite{ | |||
background-color: #fdf6e3; | |||
margin: 1rem auto; | |||
padding: 1rem; | |||
overflow-x:auto; | |||
box-shadow:inset 0 0 2px rgba(0,0,0,0.2) | |||
} | |||
.codehilite .t{color:#586e75} | |||
.codehilite .w{color:#073642} | |||
.codehilite .err{color:#cb4b16} | |||
.codehilite .k{color:#859900} | |||
.codehilite .kc{color:#2aa198} | |||
.codehilite .kd{color:#268bd2} | |||
.codehilite .kn{color:#b58900} | |||
.codehilite .kp{color:#859900} | |||
.codehilite .kr{color:#073642} | |||
.codehilite .kt{color:#b58900} | |||
.codehilite .n{color:#586e75} | |||
.codehilite .na{color:#2aa198} | |||
.codehilite .nb{color:#268bd2} | |||
.codehilite .nc{color:#268bd2} | |||
.codehilite .ne{color:#cb4b16} | |||
.codehilite .no{color:#2aa198} | |||
.codehilite .nd{color:#2aa198} | |||
.codehilite .ni{color:#2aa198;font-weight:bold} | |||
.codehilite .nf{color:#268bd2} | |||
.codehilite .nn{color:#586e75} | |||
.codehilite .nt{color:#2aa198;font-weight:bold} | |||
.codehilite .nv{color:#cb4b16} | |||
.codehilite .b{color:#859900} | |||
.codehilite .bp{color:#586e75} | |||
.codehilite .v{color:#586e75} | |||
.codehilite .vc{color:#586e75} | |||
.codehilite .vg{color:#268bd2} | |||
.codehilite .vi{color:#268bd2} | |||
.codehilite .m{color:#268bd2} | |||
.codehilite .mf{color:#268bd2} | |||
.codehilite .mh{color:#268bd2} | |||
.codehilite .mi{color:#268bd2} | |||
.codehilite .mo{color:#268bd2} | |||
.codehilite .s{color:#2aa198} | |||
.codehilite .sb{color:#2aa198} | |||
.codehilite .sc{color:#2aa198} | |||
.codehilite .sd{color:#2aa198} | |||
.codehilite .s2{color:#2aa198} | |||
.codehilite .se{color:#cb4b16} | |||
.codehilite .sh{color:#2aa198} | |||
.codehilite .si{color:#cb4b16} | |||
.codehilite .sx{color:#2aa198} | |||
.codehilite .sr{color:#cb4b16} | |||
.codehilite .s1{color:#2aa198} | |||
.codehilite .ss{color:#cb4b16} | |||
.codehilite .il{color:#268bd2} | |||
.codehilite .o{color:#586e75} | |||
.codehilite .ow{color:#859900} | |||
.codehilite .p{color:#586e75} | |||
.codehilite .c{color:#93a1a1;font-style:italic} | |||
.codehilite .cm{color:#93a1a1} | |||
.codehilite .cp{color:#93a1a1} | |||
.codehilite .c1{color:#93a1a1} | |||
.codehilite .cs{color:#93a1a1} | |||
.codehilite .hll{background-color:#dc322f} | |||
.codehilite .g{color:#586e75} | |||
.codehilite .gd{color:#586e75} | |||
.codehilite .ge{font-style:italic} | |||
.codehilite .gr{color:#586e75} | |||
.codehilite .gh{color:#586e75;font-weight:bold} | |||
.codehilite .gi{color:#586e75} | |||
.codehilite .go{color:#586e75} | |||
.codehilite .gp{color:#586e75} | |||
.codehilite .gs{font-weight:bold} | |||
.codehilite .gu{color:#586e75;font-weight:bold} | |||
.codehilite .gt{color:#586e75} | |||
@media print { | |||
body { font-size: 100%; } |