Documentation update
[pylit.git] / rstdocs / features / pygments-default.css
blob9a931b031d54846cf9110f129b63f3a83271dcbc
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 /* --------------------------------------- */
14 /* :: */
16 @import url("/stylesheets/html4css1.css");
18 /* Indent the code block */
19 /* --------------------- */
21 /* Content copied from the `html4css1.css` rule for literal blocks. */
22 /* Selector adapted to the output of Pygments_. */
24 div.highlight {
25 margin-left: 2em ;
26 margin-right: 2em ;
27 background-color: #eeeeee
31 /* Colour code blocks */
32 /* ------------------ */
34 /* Pygments_ has an option to generate stylesheets for html and latex. */
35 /* The following code is generated with the command */
36 /* `pygmentize -S default -f html > pygments-default.css`:: */
38 .c { color: #008800; font-style: italic } /* Comment */
39 .err { border: 1px solid #FF0000 } /* Error */
40 .k { color: #AA22FF; font-weight: bold } /* Keyword */
41 .o { color: #666666 } /* Operator */
42 .cm { color: #008800; font-style: italic } /* Comment.Multiline */
43 .cp { color: #008800 } /* Comment.Preproc */
44 .c1 { color: #008800; font-style: italic } /* Comment.Single */
45 .gd { color: #A00000 } /* Generic.Deleted */
46 .ge { font-style: italic } /* Generic.Emph */
47 .gr { color: #FF0000 } /* Generic.Error */
48 .gh { color: #000080; font-weight: bold } /* Generic.Heading */
49 .gi { color: #00A000 } /* Generic.Inserted */
50 .go { color: #808080 } /* Generic.Output */
51 .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
52 .gs { font-weight: bold } /* Generic.Strong */
53 .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
54 .gt { color: #0040D0 } /* Generic.Traceback */
55 .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
56 .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
57 .kp { color: #AA22FF } /* Keyword.Pseudo */
58 .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
59 .kt { color: #AA22FF; font-weight: bold } /* Keyword.Type */
60 .m { color: #666666 } /* Literal.Number */
61 .s { color: #BB4444 } /* Literal.String */
62 .na { color: #BB4444 } /* Name.Attribute */
63 .nb { color: #AA22FF } /* Name.Builtin */
64 .nc { color: #0000FF } /* Name.Class */
65 .no { color: #880000 } /* Name.Constant */
66 .nd { color: #AA22FF } /* Name.Decorator */
67 .ni { color: #999999; font-weight: bold } /* Name.Entity */
68 .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
69 .nf { color: #00A000 } /* Name.Function */
70 .nl { color: #A0A000 } /* Name.Label */
71 .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
72 .nt { color: #008000; font-weight: bold } /* Name.Tag */
73 .nv { color: #B8860B } /* Name.Variable */
74 .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
75 .mf { color: #666666 } /* Literal.Number.Float */
76 .mh { color: #666666 } /* Literal.Number.Hex */
77 .mi { color: #666666 } /* Literal.Number.Integer */
78 .mo { color: #666666 } /* Literal.Number.Oct */
79 .sb { color: #BB4444 } /* Literal.String.Backtick */
80 .sc { color: #BB4444 } /* Literal.String.Char */
81 .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
82 .s2 { color: #BB4444 } /* Literal.String.Double */
83 .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
84 .sh { color: #BB4444 } /* Literal.String.Heredoc */
85 .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
86 .sx { color: #008000 } /* Literal.String.Other */
87 .sr { color: #BB6688 } /* Literal.String.Regex */
88 .s1 { color: #BB4444 } /* Literal.String.Single */
89 .ss { color: #B8860B } /* Literal.String.Symbol */
90 .bp { color: #AA22FF } /* Name.Builtin.Pseudo */
91 .vc { color: #B8860B } /* Name.Variable.Class */
92 .vg { color: #B8860B } /* Name.Variable.Global */
93 .vi { color: #B8860B } /* Name.Variable.Instance */
94 .il { color: #666666 } /* Literal.Number.Integer.Long */
96 /* .. _pygments: http://pygments.org/ */