diff --git a/_layouts/post.html b/_layouts/post.html index 59542b1..d79eb34 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -9,8 +9,8 @@ } pre, code { - background: #212121; - border: 1px solid #404040; + background: #263238; + border: 1px solid #2C393F; border-radius: 3px; } @@ -28,258 +28,98 @@ padding-left: 0; padding-right: 0; } - -/* minima dark theme */ -.highlight .c { - color: #545454; - font-style: italic; +/* + base16-rouge (https://github.com/skipkayhil/base16-rouge) + by Hartley McGuire (https://github.com/skipkayhil) + based on CSS generated by Rouge (https://github.com/rouge-ruby/rouge) + Materia by Defman21 +*/ +.highlight table td { padding: 5px; } +.highlight table pre { margin: 0; } +.highlight, .highlight .w { + color: #CDD3DE; + background-color: #263238; } - .highlight .err { - color: #f07178; - background-color: #e3d2d2; + color: #263238; + background-color: #EC5F67; } - -.highlight .k { - color: #89DDFF; - font-weight: bold; +.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs { + color: #707880; } - -.highlight .o { - font-weight: bold; +.highlight .o, .highlight .ow { + color: #CDD3DE; } - -.highlight .cm { - color: #545454; - font-style: italic; -} - -.highlight .cp { - color: #545454; - font-weight: bold; -} - -.highlight .c1 { - color: #545454; - font-style: italic; +.highlight .p, .highlight .pi { + color: #CDD3DE; } - -.highlight .cs { - color: #545454; - font-weight: bold; - font-style: italic; -} - .highlight .gd { - color: #000; - background-color: #fdd; -} - -.highlight .gd .x { - color: #000; - background-color: #faa; -} - -.highlight .ge { - font-style: italic; -} - -.highlight .gr { - color: #f07178; + color: #EC5F67; } - -.highlight .gh { - color: #999; +.highlight .n, .highlight .nb, .highlight .bp, .highlight .nd, .highlight .ni, .highlight .ne, .highlight .py, .highlight .nl, .highlight .nx, .highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi, .highlight .vm { + color: #EC5F67; } - -.highlight .gi { - color: #000; - background-color: #dfd; -} - -.highlight .gi .x { - color: #000; - background-color: #afa; -} - -.highlight .go { - color: #888; -} - -.highlight .gp { - color: #555; -} - -.highlight .gs { - font-weight: bold; -} - -.highlight .gu { - color: #aaa; -} - -.highlight .gt { - color: #f07178; -} - .highlight .kc { - font-weight: bold; + color: #EA9560; } - .highlight .kd { - font-weight: bold; -} - -.highlight .kp { - font-weight: bold; -} - -.highlight .kr { - font-weight: bold; + color: #EA9560; } - .highlight .kt { - color: #FFCB6B; - font-weight: bold; -} - -.highlight .m { - color: #F78C6C; + color: #EA9560; } - -.highlight .s { - color: #C3E88D; -} - -.highlight .na { - color: #008080; +.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx { + color: #EA9560; } - -.highlight .nb { - color: #EEFFFF; +.highlight .cp { + color: #FFCC00; } - .highlight .nc { - color: #FFCB6B; - font-weight: bold; + color: #FFCC00; } - .highlight .no { - color: #008080; + color: #FFCC00; } - -.highlight .ni { - color: #800080; -} - -.highlight .ne { - color: #900; - font-weight: bold; -} - -.highlight .nf { - color: #82AAFF; - font-weight: bold; -} - .highlight .nn { - color: #555; + color: #FFCC00; } - .highlight .nt { - color: #FFCB6B; + color: #FFCC00; } - -.highlight .nv { - color: #EEFFFF; -} - -.highlight .ow { - font-weight: bold; -} - -.highlight .w { - color: #EEFFFF; +.highlight .gi { + color: #8BD649; } - -.highlight .mf { - color: #F78C6C; +.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 { + color: #8BD649; } - -.highlight .mh { - color: #F78C6C; +.highlight .ss { + color: #8BD649; } - -.highlight .mi { - color: #F78C6C; +.highlight .sr { + color: #80CBC4; } - -.highlight .mo { - color: #F78C6C; +.highlight .na { + color: #89DDFF; } - -.highlight .sb { - color: #C3E88D; +.highlight .nf, .highlight .fm { + color: #89DDFF; } - -.highlight .sc { - color: #C3E88D; +.highlight .gh { + color: #89DDFF; + background-color: #263238; + font-weight: bold; } - -.highlight .sd { - color: #C3E88D; +.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv { + color: #82AAFF; } - -.highlight .s2 { - color: #C3E88D; +.highlight .sa { + color: #82AAFF; } - .highlight .se { - color: #EEFFFF; -} - -.highlight .sh { - color: #C3E88D; + color: #EC5F67; } - .highlight .si { - color: #C3E88D; -} - -.highlight .sx { - color: #C3E88D; -} - -.highlight .sr { - color: #C3E88D; -} - -.highlight .s1 { - color: #C3E88D; -} - -.highlight .ss { - color: #C3E88D; -} - -.highlight .bp { - color: #999; -} - -.highlight .vc { - color: #FFCB6B; -} - -.highlight .vg { - color: #EEFFFF; -} - -.highlight .vi { - color: #EEFFFF; -} - -.highlight .il { - color: #F78C6C; + color: #EC5F67; }