X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=less%2Fbase%2Fprettify.less;fp=less%2Fbase%2Fprettify.less;h=b25145d4fe7a2c850c1b66296c34af3fdcaad6f3;hp=0000000000000000000000000000000000000000;hb=3c6c6c0735bcccedf34fe5411d86777c3511f31a;hpb=7967465800f4235b769e7151d5986ca92fc2a0ff diff --git a/less/base/prettify.less b/less/base/prettify.less new file mode 100644 index 00000000..b25145d4 --- /dev/null +++ b/less/base/prettify.less @@ -0,0 +1,39 @@ +/* Pretty printing styles. Used with prettify.js. */ +/* Vim sunburst theme by David Leibovic */ + +pre .str, code .str { color: #65B042; } /* string - green */ +pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */ +pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */ +pre .typ, code .typ { color: #89bdff; } /* type - light blue */ +pre .lit, code .lit { color: #3387CC; } /* literal - blue */ +pre .pun, code .pun { color: #fff; } /* punctuation - white */ +pre .pln, code .pln { color: #fff; } /* plaintext - white */ +pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */ +pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */ +pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */ +pre .dec, code .dec { color: #3387CC; } /* decimal - blue */ + +pre.prettyprint, code.prettyprint { + background-color: #000; + overflow-x: scroll; +} + +pre.prettyprint { + width: 95%; + margin: 1em auto; + padding: 1em; + white-space: pre; +} + + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; + color: #AEAEAE; +} /* IE indents via margin-left */ + +li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 +{ + list-style-type: decimal; +}