1 /* example stylesheet for Docutils */
3 /* :Author: Günter Milde */
4 /* :Copyright: © 2012 G. Milde */
5 /* :License: This stylesheet is placed in the public domain. */
7 /* Syntax highlight rules for HTML documents generated with Docutils */
8 /* using the ``--syntax-highlight=long`` option (new in v. 0.9). */
10 /* This stylesheet implements Pygment's "default" style with less rules than */
11 /* pygments-default using class hierarchies. */
12 /* Use it as example for "handcrafted" styles with only few rules. */
14 .code { background: #f8f8f8; }
15 .code .comment { color: #008800; font-style: italic
}
16 .code .error { border: 1px solid
#FF0000 }
17 .code .generic.deleted { color: #A00000 }
18 .code .generic.emph { font-style: italic
}
19 .code .generic.error { color: #FF0000 }
20 .code .generic.heading { color: #000080; font-weight: bold
}
21 .code .generic.inserted { color: #00A000 }
22 .code .generic.output { color: #808080 }
23 .code .generic.prompt { color: #000080; font-weight: bold
}
24 .code .generic.strong { font-weight: bold
}
25 .code .generic.subheading { color: #800080; font-weight: bold
}
26 .code .generic.traceback { color: #0040D0 }
27 .code .keyword { color: #AA22FF; font-weight: bold
}
28 .code .keyword.pseudo { font-weight: normal
}
29 .code .literal.number { color: #666666 }
30 .code .literal.string { color: #BB4444 }
31 .code .literal.string.doc { color: #BB4444; font-style: italic
}
32 .code .literal.string.escape { color: #BB6622; font-weight: bold
}
33 .code .literal.string.interpol { color: #BB6688; font-weight: bold
}
34 .code .literal.string.other { color: #008000 }
35 .code .literal.string.regex { color: #BB6688 }
36 .code .literal.string.symbol { color: #B8860B }
37 .code .name.attribute { color: #BB4444 }
38 .code .name.builtin { color: #AA22FF }
39 .code .name.class { color: #0000FF }
40 .code .name.constant { color: #880000 }
41 .code .name.decorator { color: #AA22FF }
42 .code .name.entity { color: #999999; font-weight: bold
}
43 .code .name.exception { color: #D2413A; font-weight: bold
}
44 .code .name.function { color: #00A000 }
45 .code .name.label { color: #A0A000 }
46 .code .name.namespace { color: #0000FF; font-weight: bold
}
47 .code .name.tag { color: #008000; font-weight: bold
}
48 .code .name.variable { color: #B8860B }
49 .code .operator { color: #666666 }
50 .code .operator.word { color: #AA22FF; font-weight: bold
}