Debian Codegraph @

doc/html/style.css

raw
1 body {
2 font: 11pt Arial, Verdana, Helvetica, sans-serif;
3 text-align: center;
4 }
5
6 @media screen and (min-width: 960px) and (min-height: 720px) and (max-resolution: 150dpi),
7 screen and (min-width: 1280px) and (min-height: 720px) {
8 body {
9 padding: 1em 3em 1em 26em;
10 }
11 }
12
13 @media screen {
14 div.document, div.footer {
15 max-width: 45em;
16 background-color: white;
17 }
18 }
19
20 @media print {
21 div.document, div.footer {
22 width: auto;
23 padding-left: 0;
24 }
25
26 div.sidemenu {
27 display: none;
28 }
29 }
30
31 div.document, div.footer {
32 margin: 1em auto 1em auto;
33 color: #222;
34 }
35
36 div.document {
37 text-align: left;
38 }
39
40 div.footer {
41 text-align: center;
42 font-size: 70%;
43 }
44
45 .center {
46 text-align: center;
47 }
48
49 /*** TOC ***/
50
51 div.contents.topic ul {
52 margin-top: 0;
53 }
54
55 div.contents.topic ul > li {
56 text-decoration: none;
57 line-height: 1.2em;
58 }
59
60 div.contents.topic > p > a {
61 text-decoration: none;
62 }
63
64 /*** side menu ***/
65
66 @media (min-width: 1280px) and (min-height: 720px),
67 (min-width: 960px) and (min-height: 720px) and (max-resolution: 150dpi) {
68 div.sidemenu .menutrigger {
69 display: none;
70 }
71
72 div.sidemenu {
73 position: absolute;
74 top: 0;
75 left: 0;
76 width: 26em;
77 font-size: 8pt;
78 text-align: left;
79 border-right: groove gray;
80 border-bottom: groove gray;
81 padding-right: 1ex;
82 background: #FFFAFA /* url(python-xml.png) no-repeat top right */ ;
83 }
84
85 html > body div.sidemenu {
86 /* ignored by IE -> everyone else knows 'fixed', right? */
87 position: fixed;
88 }
89 }
90
91 @media (max-width: 959px), (max-height: 719px), (max-width: 1279px) and (min-resolution: 151dpi) {
92 div.sidemenu > div.menutrigger {
93 display: block;
94 border: solid darkgreen 2px;
95 padding: 2px;
96 text-align: center;
97 width: 6ex;
98 }
99
100 div.sidemenu > div.menu {
101 display: none;
102 position: absolute;
103 z-index: 999;
104 font-size: 9pt;
105 text-align: left;
106 border: groove gray;
107 padding-right: 1ex;
108 background: #FFFAFA /* url(python-xml.png) no-repeat top right */ ;
109 }
110
111 div.sidemenu:hover > div.menu,
112 div.sidemenu.visible > div.menu {
113 display: block;
114 }
115 }
116
117 div.sidemenu > div.menu span.section.title {
118 line-height: 1.2em;
119 font-size: 130%;
120 }
121
122 div.sidemenu > div.menu ul.menu.current li {
123 color: #CC0000;
124 font-size: 105%;
125 }
126
127 div.sidemenu > div.menu ul.menu.current > li > a {
128 color: #CC0000;
129 }
130
131 div.sidemenu > div.menu ul.menu.current ul.submenu {
132 display: block;
133 }
134
135 div.sidemenu > div.menu ul.menu.foreign ul.submenu li {
136 padding-top: 2px;
137 padding-bottom: 2px;
138 }
139
140 div.sidemenu > div.menu ul.menu.foreign li.menu:hover ul.submenu {
141 display: block;
142 position: absolute;
143 border: groove #990000;
144 padding: 1ex 1ex 1ex 3ex;
145 margin-top: 0;
146 margin-left: 4em;
147 margin-right: -20em;
148 color: #990000;
149 background-color: white;
150 }
151
152 div.sidemenu > div.menu ul.submenu {
153 display: none;
154 }
155
156 div.sidemenu > div.menu ul {
157 line-height: 1em;
158 margin: 1ex;
159 padding-left: 1em;
160 }
161
162 div.banner {
163 font-size: 133%;
164 border: 2px solid darkred;
165 color: darkgreen;
166 line-height: 1em;
167 margin: 3ex 1ex 1ex;
168 padding: 3pt;
169 }
170
171 div.banner_link > a {
172 color: darkgreen;
173 }
174
175 div.banner_image img {
176 max-height: 3em;
177 max-width: 60pt;
178 float: right;
179 }
180
181 div.document > div.banner {
182 text-align: center;
183 }
184
185 @media (min-width: 480pt) {
186 div.document > div.banner br.first {
187 display: none;
188 }
189 div.document > div.banner img {
190 max-height: 2em;
191 }
192 }
193
194 /*** headings ***/
195
196 h1.title {
197 background: url(python-xml-title.png) no-repeat;
198 padding: 20px 0 0 160px;
199 min-height: 60px;
200 font-size: 200%;
201 }
202
203 h1.title, h1 a, h2 a, h3 a {
204 color: #666;
205 font-weight: bold;
206 font-family: Helvetica, sans-serif;
207 }
208
209 @media screen {
210 div.section > h1:before {
211 margin-left: -2ex;
212 color: #CC0000;
213 content: "\00BB" " ";
214 }
215 }
216
217 h1 {
218 font-size: 150%;
219 }
220
221 h2 {
222 font-size: 130%;
223 }
224
225 h3 {
226 font-size: 110%;
227 }
228
229 /*** content ***/
230
231 a, a:visited {
232 background-color: transparent;
233 font-weight: bold;
234 color: Black;
235 text-decoration: none;
236 }
237
238 p a:active, ul a:active {
239 color: Red;
240 }
241
242 p a:hover, ul a:hover {
243 text-decoration: underline;
244 }
245
246 p {
247 /*margin: 0.5em 0em 1em 0em;*/
248 text-align: justify;
249 line-height: 1.5em;
250 margin: 0.5em 0 0 0;
251 }
252
253 th.docinfo-name {
254 padding-left: 3ex;
255 text-align: right;
256 font-weight: bold;
257 }
258
259 hr {
260 clear: both;
261 height: 1px;
262 color: #8CACBB;
263 background-color: transparent;
264 }
265
266 dt {
267 line-height: 1.5em;
268 margin-left: 1em;
269 }
270
271 dt:before {
272 content: "\00BB" " ";
273 }
274
275 div.section ul {
276 line-height: 1.5em;
277 padding-left: 1ex;
278 margin-left: 1.5em;
279 }
280
281 div.section li {
282 padding-left: 0;
283 }
284
285 ol {
286 line-height: 1.5em;
287 margin-left: 0;
288 }
289
290 blockquote {
291 font-family: Times, "Times New Roman", serif;
292 font-style: italic;
293 }
294
295 div.eyecatcher, p.eyecatcher {
296 font-family: Times, "Times New Roman", serif;
297 text-align: center;
298 font-size: 140%;
299 line-height: 1.2em;
300 margin-left: 12%;
301 margin-right: 12%;
302 }
303
304 div.pagequote {
305 position: absolute;
306 top: 0;
307 right: 0;
308 padding: 10px 10px 0 0;
309 margin-left: 6em;
310 text-align: right;
311 font-size: 80%;
312 color: #990000;
313 }
314
315 div.pagequote .reference {
316 font-size: 140%;
317 }
318
319 html > .pagequote {
320 /* ignored by IE -> everyone else knows 'fixed', right? */
321 position: fixed;
322 }
323
324 div.admonition {
325 border: solid 1px;
326 border-radius: 1ex;
327 margin: 0.5ex;
328 padding: 0.5ex 1.5ex 0.5ex 1.5ex;
329 background: lightyellow;
330 }
331
332 div.admonition > .admonition-title {
333 background: yellow;
334 }
335
336 code {
337 color: Black;
338 background-color: #f0f0f0;
339 font-family: "Courier New", Courier, monospace;
340 }
341
342 pre {
343 padding: 0.5em;
344 border: 1px solid #8cacbb;
345 color: Black;
346 background-color: #f0f0f0;
347 font-family: "Courier New", Courier, monospace;
348 }
349
350 /* Syntax highlighting */
351
352 .syntax { background: #f0f0f0; }
353 .syntax .c { color: #60a0b0; font-style: italic } /* Comment */
354 .syntax .err { border: 1px solid #FF0000 } /* Error */
355 .syntax .k { color: #007020; font-weight: bold } /* Keyword */
356 .syntax .o { color: #666666 } /* Operator */
357 .syntax .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
358 .syntax .cp { color: #007020 } /* Comment.Preproc */
359 .syntax .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
360 .syntax .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
361 .syntax .gd { color: #A00000 } /* Generic.Deleted */
362 .syntax .ge { font-style: italic } /* Generic.Emph */
363 .syntax .gr { color: #FF0000 } /* Generic.Error */
364 .syntax .gh { color: #000080; font-weight: bold } /* Generic.Heading */
365 .syntax .gi { color: #00A000 } /* Generic.Inserted */
366 .syntax .go { color: #404040 } /* Generic.Output */
367 .syntax .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
368 .syntax .gs { font-weight: bold } /* Generic.Strong */
369 .syntax .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
370 .syntax .gt { color: #0040D0 } /* Generic.Traceback */
371 .syntax .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
372 .syntax .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
373 .syntax .kp { color: #007020 } /* Keyword.Pseudo */
374 .syntax .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
375 .syntax .kt { color: #902000 } /* Keyword.Type */
376 .syntax .m { color: #40a070 } /* Literal.Number */
377 .syntax .s { color: #4070a0 } /* Literal.String */
378 .syntax .na { color: #4070a0 } /* Name.Attribute */
379 .syntax .nb { color: #007020 } /* Name.Builtin */
380 .syntax .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
381 .syntax .no { color: #60add5 } /* Name.Constant */
382 .syntax .nd { color: #555555; font-weight: bold } /* Name.Decorator */
383 .syntax .ni { color: #d55537; font-weight: bold } /* Name.Entity */
384 .syntax .ne { color: #007020 } /* Name.Exception */
385 .syntax .nf { color: #06287e } /* Name.Function */
386 .syntax .nl { color: #002070; font-weight: bold } /* Name.Label */
387 .syntax .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
388 .syntax .nt { color: #062873; font-weight: bold } /* Name.Tag */
389 .syntax .nv { color: #bb60d5 } /* Name.Variable */
390 .syntax .ow { color: #007020; font-weight: bold } /* Operator.Word */
391 .syntax .w { color: #bbbbbb } /* Text.Whitespace */
392 .syntax .mf { color: #40a070 } /* Literal.Number.Float */
393 .syntax .mh { color: #40a070 } /* Literal.Number.Hex */
394 .syntax .mi { color: #40a070 } /* Literal.Number.Integer */
395 .syntax .mo { color: #40a070 } /* Literal.Number.Oct */
396 .syntax .sb { color: #4070a0 } /* Literal.String.Backtick */
397 .syntax .sc { color: #4070a0 } /* Literal.String.Char */
398 .syntax .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
399 .syntax .s2 { color: #4070a0 } /* Literal.String.Double */
400 .syntax .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
401 .syntax .sh { color: #4070a0 } /* Literal.String.Heredoc */
402 .syntax .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
403 .syntax .sx { color: #c65d09 } /* Literal.String.Other */
404 .syntax .sr { color: #235388 } /* Literal.String.Regex */
405 .syntax .s1 { color: #4070a0 } /* Literal.String.Single */
406 .syntax .ss { color: #517918 } /* Literal.String.Symbol */
407 .syntax .bp { color: #007020 } /* Name.Builtin.Pseudo */
408 .syntax .vc { color: #bb60d5 } /* Name.Variable.Class */
409 .syntax .vg { color: #bb60d5 } /* Name.Variable.Global */
410 .syntax .vi { color: #bb60d5 } /* Name.Variable.Instance */
411 .syntax .il { color: #40a070 } /* Literal.Number.Integer.Long */