docs: update perl->python
[gtk-doc.git] / style / style.css
blob367542097b0e0b34f1a6cb7ee25d8de3ad0bb8d5
1 body
3 font-family: cantarell, sans-serif;
5 .synopsis, .classsynopsis
7 /* tango:aluminium 1/2 */
8 background: #eeeeec;
9 background: rgba(238, 238, 236, 0.5);
10 border: solid 1px rgb(238, 238, 236);
11 padding: 0.5em;
13 .programlisting
15 /* tango:sky blue 0/1 */
16 /* fallback for no rgba support */
17 background: #e6f3ff;
18 border: solid 1px #729fcf;
19 background: rgba(114, 159, 207, 0.1);
20 border: solid 1px rgba(114, 159, 207, 0.2);
21 padding: 0.5em;
23 .variablelist
25 padding: 4px;
26 margin-left: 3em;
28 .variablelist td:first-child
30 vertical-align: top;
33 div.gallery-float
35 float: left;
36 padding: 10px;
38 div.gallery-float img
40 border-style: none;
42 div.gallery-spacer
44 clear: both;
47 a, a:visited
49 text-decoration: none;
50 /* tango:sky blue 2 */
51 color: #3465a4;
53 a:hover
55 text-decoration: underline;
56 /* tango:sky blue 1 */
57 color: #729fcf;
60 div.informaltable table
62 border-collapse: separate;
63 border-spacing: 1em 0.3em;
64 border: none;
67 div.informaltable table td, div.informaltable table th
69 vertical-align: top;
72 .function_type,
73 .variable_type,
74 .property_type,
75 .signal_type,
76 .parameter_name,
77 .struct_member_name,
78 .union_member_name,
79 .define_keyword,
80 .datatype_keyword,
81 .typedef_keyword
83 text-align: right;
86 /* dim non-primary columns */
87 .c_punctuation,
88 .function_type,
89 .variable_type,
90 .property_type,
91 .signal_type,
92 .define_keyword,
93 .datatype_keyword,
94 .typedef_keyword,
95 .property_flags,
96 .signal_flags,
97 .parameter_annotations,
98 .enum_member_annotations,
99 .struct_member_annotations,
100 .union_member_annotations
102 color: #888a85;
105 .function_type a,
106 .function_type a:visited,
107 .function_type a:hover,
108 .property_type a,
109 .property_type a:visited,
110 .property_type a:hover,
111 .signal_type a,
112 .signal_type a:visited,
113 .signal_type a:hover,
114 .signal_flags a,
115 .signal_flags a:visited,
116 .signal_flags a:hover
118 color: #729fcf;
121 td p
123 margin: 0.25em;
126 div.table table
128 border-collapse: collapse;
129 border-spacing: 0px;
130 /* tango:aluminium 3 */
131 border: solid 1px #babdb6;
134 div.table table td, div.table table th
136 /* tango:aluminium 3 */
137 border: solid 1px #babdb6;
138 padding: 3px;
139 vertical-align: top;
142 div.table table th
144 /* tango:aluminium 2 */
145 background-color: #d3d7cf;
150 color: #555753;
151 margin-top: 1em;
152 margin-bottom: 1em;
157 /* tango:aluminium 1 */
158 color: #d3d7cf;
159 background: #d3d7cf;
160 border: none 0px;
161 height: 1px;
162 clear: both;
163 margin: 2.0em 0em 2.0em 0em;
166 dl.toc dt
168 padding-bottom: 0.25em;
171 dl.toc > dt
173 padding-top: 0.25em;
174 padding-bottom: 0.25em;
175 font-weight: bold;
178 dl.toc > dl
180 padding-bottom: 0.5em;
183 .parameter
185 font-style: normal;
188 .footer
190 padding-top: 3.5em;
191 /* tango:aluminium 3 */
192 color: #babdb6;
193 text-align: center;
194 font-size: 80%;
197 .informalfigure,
198 .figure
200 margin: 1em;
203 .informalexample,
204 .example
206 margin-top: 1em;
207 margin-bottom: 1em;
210 .warning
212 /* tango:orange 0/1 */
213 background: #ffeed9;
214 background: rgba(252, 175, 62, 0.1);
215 border-color: #ffb04f;
216 border-color: rgba(252, 175, 62, 0.2);
218 .note
220 /* tango:chameleon 0/0.5 */
221 background: #d8ffb2;
222 background: rgba(138, 226, 52, 0.1);
223 border-color: #abf562;
224 border-color: rgba(138, 226, 52, 0.2);
226 div.blockquote
228 border-color: #eeeeec;
230 .note, .warning, div.blockquote
232 padding: 0.5em;
233 border-width: 1px;
234 border-style: solid;
235 margin: 2em;
237 .note p, .warning p
239 margin: 0;
242 div.warning h3.title,
243 div.note h3.title
245 display: none;
248 p + div.section
250 margin-top: 1em;
253 div.refnamediv,
254 div.refsynopsisdiv,
255 div.refsect1,
256 div.refsect2,
257 div.toc,
258 div.section
260 margin-bottom: 1em;
263 /* blob links */
264 h2 .extralinks, h3 .extralinks
266 float: right;
267 /* tango:aluminium 3 */
268 color: #babdb6;
269 font-size: 80%;
270 font-weight: normal;
273 .lineart
275 color: #d3d7cf;
276 font-weight: normal;
279 .annotation
281 /* tango:aluminium 5 */
282 color: #555753;
283 font-weight: normal;
286 .structfield
288 font-style: normal;
289 font-weight: normal;
292 acronym,abbr
294 border-bottom: 1px dotted gray;
297 /* code listings */
299 .listing_code .programlisting .normal,
300 .listing_code .programlisting .normal a,
301 .listing_code .programlisting .number,
302 .listing_code .programlisting .cbracket,
303 .listing_code .programlisting .symbol { color: #555753; }
304 .listing_code .programlisting .comment,
305 .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
306 .listing_code .programlisting .function,
307 .listing_code .programlisting .function a,
308 .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
309 .listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */
310 .listing_code .programlisting .keyword,
311 .listing_code .programlisting .usertype,
312 .listing_code .programlisting .type,
313 .listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */
315 .listing_frame {
316 /* tango:sky blue 1 */
317 border: solid 1px #729fcf;
318 border: solid 1px rgba(114, 159, 207, 0.2);
319 padding: 0px;
322 .listing_lines, .listing_code {
323 margin-top: 0px;
324 margin-bottom: 0px;
325 padding: 0.5em;
327 .listing_lines {
328 /* tango:sky blue 0.5 */
329 background: #a6c5e3;
330 background: rgba(114, 159, 207, 0.2);
331 /* tango:aluminium 6 */
332 color: #2e3436;
334 .listing_code {
335 /* tango:sky blue 0 */
336 background: #e6f3ff;
337 background: rgba(114, 159, 207, 0.1);
339 .listing_code .programlisting {
340 /* override from previous */
341 border: none 0px;
342 padding: 0px;
343 background: none;
345 .listing_lines pre, .listing_code pre {
346 margin: 0px;
349 @media screen {
350 /* these have a <sup> as a first child, but since there are no parent selectors
351 * we can't use that. */
352 a.footnote
354 position: relative;
355 top: 0em ! important;
357 /* this is needed so that the local anchors are displayed below the naviagtion */
358 div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
360 display: inline-block;
361 position: relative;
362 top:-5em;
364 /* this seems to be a bug in the xsl style sheets when generating indexes */
365 div.index div.index
367 top: 0em;
369 /* make space for the fixed navigation bar and add space at the bottom so that
370 * link targets appear somewhat close to top
372 body
374 padding-top: 2.5em;
375 padding-bottom: 500px;
376 max-width: 60em;
380 max-width: 60em;
382 /* style and size the navigation bar */
383 table.navigation#top
385 position: fixed;
386 background: #e2e2e2;
387 border-bottom: solid 1px #babdb6;
388 border-spacing: 5px;
389 margin-top: 0;
390 margin-bottom: 0;
391 top: 0;
392 left: 0;
393 z-index: 10;
395 table.navigation#top td
397 padding-left: 6px;
398 padding-right: 6px;
400 .navigation a, .navigation a:visited
402 /* tango:sky blue 3 */
403 color: #204a87;
405 .navigation a:hover
407 /* tango:sky blue 2 */
408 color: #3465a4;
410 td.shortcuts
412 /* tango:sky blue 2 */
413 color: #3465a4;
414 font-size: 80%;
415 white-space: nowrap;
417 td.shortcuts .dim
419 color: #babdb6;
421 .navigation .title
423 font-size: 80%;
424 max-width: none;
425 margin: 0px;
426 font-weight: normal;
429 @media screen and (min-width: 60em) {
430 /* screen larger than 60em */
431 body { margin: auto; }
433 @media screen and (max-width: 60em) {
434 /* screen less than 60em */
435 #nav_hierarchy { display: none; }
436 #nav_interfaces { display: none; }
437 #nav_prerequisites { display: none; }
438 #nav_derived_interfaces { display: none; }
439 #nav_implementations { display: none; }
440 #nav_child_properties { display: none; }
441 #nav_style_properties { display: none; }
442 #nav_index { display: none; }
443 #nav_glossary { display: none; }
444 .gallery_image { display: none; }
445 .property_flags { display: none; }
446 .signal_flags { display: none; }
447 .parameter_annotations { display: none; }
448 .enum_member_annotations { display: none; }
449 .struct_member_annotations { display: none; }
450 .union_member_annotations { display: none; }
451 /* now that a column is hidden, optimize space */
452 col.parameters_name { width: auto; }
453 col.parameters_description { width: auto; }
454 col.struct_members_name { width: auto; }
455 col.struct_members_description { width: auto; }
456 col.enum_members_name { width: auto; }
457 col.enum_members_description { width: auto; }
458 col.union_members_name { width: auto; }
459 col.union_members_description { width: auto; }
460 .listing_lines { display: none; }
462 @media print {
463 table.navigation {
464 visibility: collapse;
465 display: none;
467 div.titlepage table.navigation {
468 visibility: visible;
469 display: table;
470 background: #e2e2e2;
471 border: solid 1px #babdb6;
472 margin-top: 0;
473 margin-bottom: 0;
474 top: 0;
475 left: 0;
476 height: 3em;