Example stylesheets for syntax highlight of code snippets.
[docutils/kirr.git] / sandbox / code-block-directive / data / pygments-long.css
blobf05d26d30942582d3ee698c3b8a7b619710408a7
1 /* Stylesheet for pygments enhanced reStructured Text */
2 /* ================================================== */
4 /* :Author: Guenter Milde */
5 /* :Copyright: 2007 G. Milde */
6 /* This stylesheet is released under the GPL v. 2 or later */
8 /* This stylesheet provides syntax highlight for documents generated with a */
9 /* pygments_ enhanced reStructured Text -> html converter. */
11 /* Import the default docutils style sheet */
12 /* --------------------------------------- */
13 /* :: */
15 @import url("/stylesheets/html4css1.css");
17 /* Indent the code block */
18 /* --------------------- */
20 /* Content copied from the `html4css1.css` rule for literal blocks. */
21 /* Selector adapted to the output of Pygments_. :: */
23 div.highlight {
24 margin-left: 2em ;
25 margin-right: 2em ;
26 background-color: #eeeeee
30 /* Layout for code block tokens */
31 /* ---------------------------- */
33 .comment { color: #008800; font-style: italic }
34 .error { border: 1px solid #FF0000 }
35 .keyword { color: #AA22FF; font-weight: bold }
36 .operator { color: #666666 }
37 .comment.multiline { color: #008800; font-style: italic }
38 .comment.preproc { color: #008800 }
39 .comment.single { color: #008800; font-style: italic }
40 .generic.deleted { color: #A00000 }
41 .generic.emph { font-style: italic }
42 .generic.error { color: #FF0000 }
43 .generic.heading { color: #000080; font-weight: bold }
44 .generic.inserted { color: #00A000 }
45 .generic.output { color: #808080 }
46 .generic.prompt { color: #000080; font-weight: bold }
47 .generic.strong { font-weight: bold }
48 .generic.subheading { color: #800080; font-weight: bold }
49 .generic.traceback { color: #0040D0 }
50 .keyword.constant { color: #AA22FF; font-weight: bold }
51 .keyword.declaration { color: #AA22FF; font-weight: bold }
52 .keyword.pseudo { color: #AA22FF }
53 .keyword.reserved { color: #AA22FF; font-weight: bold }
54 .keyword.type { color: #AA22FF; font-weight: bold }
55 .literal.number { color: #666666 }
56 .literal.string { color: #BB4444 }
57 .name.attribute { color: #BB4444 }
58 .name.builtin { color: #AA22FF }
59 .name.class { color: #0000FF }
60 .name.constant { color: #880000 }
61 .name.decorator { color: #AA22FF }
62 .name.entity { color: #999999; font-weight: bold }
63 .name.exception { color: #D2413A; font-weight: bold }
64 .name.function { color: #00A000 }
65 .name.label { color: #A0A000 }
66 .name.namespace { color: #0000FF; font-weight: bold }
67 .name.tag { color: #008000; font-weight: bold }
68 .name.variable { color: #B8860B }
69 .operator.word { color: #AA22FF; font-weight: bold }
70 .literal.number.float { color: #666666 }
71 .literal.number.hex { color: #666666 }
72 .literal.number.integer { color: #666666 }
73 .literal.number.oct { color: #666666 }
74 .literal.string.backtick { color: #BB4444 }
75 .literal.string.char { color: #BB4444 }
76 .literal.string.doc { color: #BB4444; font-style: italic }
77 .literal.string.double { color: #BB4444 }
78 .literal.string.escape { color: #BB6622; font-weight: bold }
79 .literal.string.heredoc { color: #BB4444 }
80 .literal.string.interpol { color: #BB6688; font-weight: bold }
81 .literal.string.other { color: #008000 }
82 .literal.string.regex { color: #BB6688 }
83 .literal.string.single { color: #BB4444 }
84 .literal.string.symbol { color: #B8860B }
85 .name.builtin.pseudo { color: #AA22FF }
86 .name.variable.class { color: #B8860B }
87 .name.variable.global { color: #B8860B }
88 .name.variable.instance { color: #B8860B }
89 .literal.number.integer.long { color: #666666 }
91 /* .. _pygments: http://pygments.org/ */