This commit was manufactured by cvs2svn to create branch
[plcapi.git] / psycopg2 / doc / api-screen.css
1 /* Based on the Epydoc "default.css"\r
2 ** with some missing reST-related classes\r
3 ** and Python syntax support (from SilverCity)\r
4 */\r
5 \r
6 /* Body color */ \r
7 body               { background: #ffffff; color: #000000; } \r
8  \r
9 /* Tables */ \r
10 table.summary, table.details, table.index\r
11                    { background: #e8f0f8; color: #000000; } \r
12 tr.summary, tr.details, tr.index\r
13                    { background: #70b0f0; color: #000000;  \r
14                      text-align: left; font-size: 120%; } \r
15 tr.group           { background: #c0e0f8; color: #000000;\r
16                      text-align: left; font-size: 120%;\r
17                      font-style: italic; } \r
18 \r
19 /* Documentation page titles */\r
20 h2.module          { margin-top: 0.2em; }\r
21 h2.class           { margin-top: 0.2em; }\r
22  \r
23 /* Headings */\r
24 h1.heading         { font-size: +140%; font-style: italic;\r
25                      font-weight: bold; }\r
26 h2.heading         { font-size: +125%; font-style: italic;\r
27                      font-weight: bold; }\r
28 h3.heading         { font-size: +110%; font-style: italic;\r
29                      font-weight: normal; }\r
30                     \r
31 /* Base tree */\r
32 pre.base-tree      { font-size: 80%; margin: 0; }\r
33 \r
34 /* TOC */\r
35 p.toc { margin: 0; }\r
36 \r
37 /* Details Sections */\r
38 table.func-details { background: #e8f0f8; color: #000000;\r
39                      border: 2px groove #c0d0d0;\r
40                      padding: 0 1em 0 1em; margin: 0.4em 0 0 0; }\r
41 h3.func-detail     { background: transparent; color: #000000;\r
42                      margin: 0 0 1em 0; }\r
43 \r
44 table.var-details  { background: #e8f0f8; color: #000000;\r
45                      border: 2px groove #c0d0d0;\r
46                      padding: 0 1em 0 1em; margin: 0.4em 0 0 0; }\r
47 h3.var-details     { background: transparent; color: #000000;\r
48                      margin: 0 0 1em 0; }\r
49 \r
50 /* Function signatures */\r
51 .sig               { background: transparent; color: #000000;\r
52                      font-weight: bold; }  \r
53 .sig-name          { background: transparent; color: #006080; }  \r
54 .sig-arg, .sig-kwarg, .sig-vararg\r
55                    { background: transparent; color: #008060; }  \r
56 .sig-default       { background: transparent; color: #602000; }  \r
57 .summary-sig       { background: transparent; color: #000000; }  \r
58 .summary-sig-name  { background: transparent; color: #204080; }\r
59 .summary-sig-arg, .summary-sig-kwarg, .summary-sig-vararg\r
60                    { background: transparent; color: #008060; }  \r
61 \r
62 /* Doctest blocks */\r
63 .py-src            { background: transparent; color: #000000; }\r
64 .py-prompt         { background: transparent; color: #005050;\r
65                      font-weight: bold;}\r
66 .py-string         { background: transparent; color: #006030; }\r
67 .py-comment        { background: transparent; color: #003060; }\r
68 .py-keyword        { background: transparent; color: #600000; }\r
69 .py-output         { background: transparent; color: #404040; }\r
70 div.code-block,\r
71 pre.literal-block,\r
72 pre.doctestblock   { background: #f4faff; color: #000000; \r
73                      padding: .5em; margin: 1em;\r
74                      border: 1px solid #708890; }\r
75 table pre.doctestblock\r
76                    { background: #dce4ec; color: #000000; \r
77                      padding: .5em; margin: 1em;\r
78                      border: 1px solid #708890; }\r
79 div.code-block     { font-family: monospace; }\r
80 \r
81 /* Variable values */\r
82 pre.variable       { background: #dce4ec; color: #000000;\r
83                      padding: .5em; margin: 0;\r
84                      border: 1px solid #708890; }\r
85 .variable-linewrap { background: transparent; color: #604000; }\r
86 .variable-ellipsis { background: transparent; color: #604000; }\r
87 .variable-quote    { background: transparent; color: #604000; }\r
88 .re                { background: transparent; color: #000000; }\r
89 .re-char           { background: transparent; color: #006030; }\r
90 .re-op             { background: transparent; color: #600000; }\r
91 .re-group          { background: transparent; color: #003060; }\r
92 .re-ref            { background: transparent; color: #404040; }\r
93 \r
94 /* Navigation bar */ \r
95 table.navbar       { background: #a0c0ff; color: #0000ff;\r
96                      border: 2px groove #c0d0d0; }\r
97 th.navbar          { background: #a0c0ff; color: #0000ff; } \r
98 th.navselect       { background: #70b0ff; color: #000000; } \r
99 .nomargin          { margin: 0; }\r
100 \r
101 /* Links */ \r
102 a:link             { background: transparent; color: #0000ff; }  \r
103 a:visited          { background: transparent; color: #204080; }  \r
104 a.navbar:link      { background: transparent; color: #0000ff; \r
105                      text-decoration: none; }  \r
106 a.navbar:visited   { background: transparent; color: #204080; \r
107                      text-decoration: none; }  \r
108 \r
109 /* Admonitions */\r
110 div.warning,\r
111 div.note                { background-color: #c0e0f8;\r
112                           border: thin solid black;\r
113                           padding: 1em;\r
114                           margin-left: 1em;\r
115                           margin-right: 1em; }\r
116 div.warning .first,\r
117 div.note .first      { font-family: sans-serif;\r
118                           font-size: 110%;\r
119                           margin-right: 0.5em; }\r
120 \r
121 /* Lists */\r
122 ul { margin-top: 0; }\r
123 \r
124 /* Python syntax */\r
125 .p_character { color: olive; }\r
126 .p_classname { color: blue; font-weight: bold; }\r
127 .p_commentblock {color: gray; font-style: italic; }\r
128 .p_commentline { color: green; font-style: italic; }\r
129 .p_default {}\r
130 .p_defname { color: #009999; font-weight: bold; }\r
131 .p_identifier { color: black; }\r
132 .p_number { color: #009999; }\r
133 .p_operator { color: black; }\r
134 .p_string { color: #7F007F; }\r
135 .p_stringeol { color: #7F007F; }\r
136 .p_triple { color: #7F0000; }\r
137 .p_tripledouble { color: #7F0000; }\r
138 .p_word { color: navy; font-weight: bold; }\r