diff options
author | Valentin Popov <info@valentineus.link> | 2018-04-18 00:46:26 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-04-18 00:46:26 +0300 |
commit | 61d229f89247fa27fd2cec213dedbcdc1fb688ea (patch) | |
tree | 2ef06c6c5026cb725071d3237b354e658989b617 | |
parent | aa161cfe69f92d2d05baa7f14095f6520ebe9755 (diff) | |
download | popov.link-61d229f89247fa27fd2cec213dedbcdc1fb688ea.tar.xz popov.link-61d229f89247fa27fd2cec213dedbcdc1fb688ea.zip |
Added syntax highlighting
-rw-r--r-- | _scss/base/_highlight.scss | 345 | ||||
-rw-r--r-- | assets/css/highlight.scss | 6 |
2 files changed, 351 insertions, 0 deletions
diff --git a/_scss/base/_highlight.scss b/_scss/base/_highlight.scss new file mode 100644 index 0000000..c5ed595 --- /dev/null +++ b/_scss/base/_highlight.scss @@ -0,0 +1,345 @@ +/*! pygments-css | github.com/richleland/pygments-css */ + +.highlight { + background: #f8f8f8; + + .hll { + background-color: #ffffcc; + } + + .c { + color: #8f5902; + font-style: italic; + } + + .err { + border: 1px solid #ef2929; + color: #a40000; + } + + .g { + color: #000000; + } + + .k { + color: #204a87; + font-weight: bold; + } + + .l { + color: #000000; + } + + .n { + color: #000000; + } + + .o { + color: #ce5c00; + font-weight: bold; + } + + .x { + color: #000000; + } + + .p { + color: #000000; + font-weight: bold; + } + + .ch { + color: #8f5902; + font-style: italic; + } + + .cm { + color: #8f5902; + font-style: italic; + } + + .cp { + color: #8f5902; + font-style: italic; + } + + .cpf { + color: #8f5902; + font-style: italic; + } + + .c1 { + color: #8f5902; + font-style: italic; + } + + .cs { + color: #8f5902; + font-style: italic; + } + + .gd { + color: #a40000; + } + + .ge { + color: #000000; + font-style: italic; + } + + .gr { + color: #ef2929; + } + + .gh { + color: #000080; + font-weight: bold; + } + + .gi { + color: #00A000; + } + + .go { + color: #000000; + font-style: italic; + } + + .gp { + color: #8f5902; + } + + .gs { + color: #000000; + font-weight: bold; + } + + .gu { + color: #800080; + font-weight: bold; + } + + .gt { + color: #a40000; + font-weight: bold; + } + + .kc { + color: #204a87; + font-weight: bold; + } + + .kd { + color: #204a87; + font-weight: bold; + } + + .kn { + color: #204a87; + font-weight: bold; + } + + .kp { + color: #204a87; + font-weight: bold; + } + + .kr { + color: #204a87; + font-weight: bold; + } + + .kt { + color: #204a87; + font-weight: bold; + } + + .ld { + color: #000000; + } + + .m { + color: #0000cf; + font-weight: bold; + } + + .s { + color: #4e9a06; + } + + .na { + color: #c4a000; + } + + .nb { + color: #204a87; + } + + .nc { + color: #000000; + } + + .no { + color: #000000; + } + + .nd { + color: #5c35cc; + font-weight: bold; + } + + .ni { + color: #ce5c00; + } + + .ne { + color: #cc0000; + font-weight: bold; + } + + .nf { + color: #000000; + } + + .nl { + color: #f57900; + } + + .nn { + color: #000000; + } + + .nx { + color: #000000; + } + + .py { + color: #000000; + } + + .nt { + color: #204a87; + font-weight: bold; + } + + .nv { + color: #000000; + } + + .ow { + color: #204a87; + font-weight: bold; + } + + .w { + color: #f8f8f8; + text-decoration: underline; + } + + .mb { + color: #0000cf; + font-weight: bold; + } + + .mf { + color: #0000cf; + font-weight: bold; + } + + .mh { + color: #0000cf; + font-weight: bold; + } + + .mi { + color: #0000cf; + font-weight: bold; + } + + .mo { + color: #0000cf; + font-weight: bold; + } + + .sa { + color: #4e9a06; + } + + .sb { + color: #4e9a06; + } + + .sc { + color: #4e9a06; + } + + .dl { + color: #4e9a06; + } + + .sd { + color: #8f5902; + font-style: italic; + } + + .s2 { + color: #4e9a06; + } + + .se { + color: #4e9a06; + } + + .sh { + color: #4e9a06; + } + + .si { + color: #4e9a06; + } + + .sx { + color: #4e9a06; + } + + .sr { + color: #4e9a06; + } + + .s1 { + color: #4e9a06; + } + + .ss { + color: #4e9a06; + } + + .bp { + color: #3465a4; + } + + .fm { + color: #000000; + } + + .vc { + color: #000000; + } + + .vg { + color: #000000; + } + + .vi { + color: #000000; + } + + .vm { + color: #000000; + } + + .il { + color: #0000cf; + font-weight: bold; + } +} diff --git a/assets/css/highlight.scss b/assets/css/highlight.scss new file mode 100644 index 0000000..caa7d65 --- /dev/null +++ b/assets/css/highlight.scss @@ -0,0 +1,6 @@ +--- +# Pygments, a Python-based code highlighting tool, comes with a set of builtin +# styles (not css files) for code highlighting. +--- + +@import 'base/highlight'; |