From d0397cbe1b741719a05a8794f02852955df5b906 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 30 Nov 2014 17:40:04 -0500 Subject: [PATCH] :hk-tango CSS for source highlighting https://github.com/jgm/highlighting-kate/blob/master/css/hk-tango.css --- style.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/style.css b/style.css index 402e0a1..d983e92 100644 --- a/style.css +++ b/style.css @@ -360,3 +360,27 @@ body.article h3 { height: 25px; } } + + +/*** https://github.com/jgm/highlighting-kate/blob/master/css/hk-tango.css * ***/ +/* Loosely based on pygment's tango colors */ +table.sourceCode, tr.sourceCode, td.sourceCode, table.sourceCode pre +{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; background-color: #f8f8f8 } +td.nums { text-align: right; padding-right: 5px; padding-left: 5px; background-color: #f0f0f0; } +td.sourceCode { padding-left: 5px; } +code.sourceCode { background-color: #f8f8f8; } +pre.sourceCode { background-color: #f8f8f8; line-height: 125% } +td.nums pre { background-color: #f0f0f0; line-height: 125% } +code.sourceCode span.kw { color: #204a87; font-weight: bold } /* Keyword */ +code.sourceCode span.dt { color: #204a87 } /* Keyword.Type */ +code.sourceCode span.dv { color: #0000cf } /* Literal.Number.Integer */ +code.sourceCode span.bn { color: #0000cf } /* Literal.Number.Hex */ +code.sourceCode span.fl { color: #0000cf } /* Literal.Number.Float */ +code.sourceCode span.ch { color: #4e9a06 } /* Literal.String.Char */ +code.sourceCode span.st { color: #4e9a06 } /* Literal.String */ +code.sourceCode span.co { color: #8f5902; font-style: italic } /* Comment */ +code.sourceCode span.ot { color: #8f5902 } /* Comment.Preproc */ +code.sourceCode span.al { color: #ef2929 } /* Generic.Error */ +code.sourceCode span.fu { color: #000000 } /* Name.Function */ +code.sourceCode span.re { } +code.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */