]> granicus.if.org Git - apache/blob - docs/manual/style/css/manual-print.css
- new XML and XSLT for our start page
[apache] / docs / manual / style / css / manual-print.css
1 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2  * manual.css for printers
3  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
4
5 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6  * mainframe ;-)
7  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
8 html {
9     font-size: 11pt;
10 }
11
12 body {
13     background-color: #fff;
14     color: #000;
15     padding: 0 0 0 0;
16     margin: 0;
17     font-family: "Times New Roman", serif;
18     font-weight: normal;
19 }
20
21 pre, code {
22     font-family: "Courier New", Courier, monospace;
23 }
24
25 strong {
26     font-weight: bold;
27 }
28
29 q, em, var {
30     font-style: italic;
31 }
32
33 span.transnote {
34     background-color: inherit;
35     color: #888;
36 }
37
38 /* fixup IE & Opera
39  * otherwise they forget to inherit
40  * the computed font-size value
41  */
42 table, code {
43     font-size: 1em;
44 }
45
46 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47  * Links
48  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
49
50 /* normal links           */
51 /* ====================== */
52 a:link,
53 a:visited,
54 a:hover,
55 a:active {
56     color: #000;
57     background-color: inherit;
58     text-decoration: none;
59 }
60
61 /* sidebar */
62 div#quickview a:hover,
63 div#quickview a:active {
64     background-color: #fff;
65     color: #000;
66 }
67
68 /* EXPERIMENTAL! I'm waiting for complaints... */
69 #page-content p > a[href]:after {
70   content: " (\002197\0000A0" attr(href) ") ";
71   color: #036;
72 }
73
74 /* code.module [links]    */
75 /* ====================== */
76 code.module,
77 code.module a:link,
78 code.module a:visited,
79 code.module a:hover,
80 code.module a:active {
81     color: #8b4513;
82     background-color: inherit;
83     text-decoration: none;
84 }
85
86 /* code.directive [links] */
87 /* ====================== */
88 code.directive,
89 code.directive a:link,
90 code.directive a:visited,
91 code.directive a:hover,
92 code.directive a:active {
93     color: #287f00;
94     background-color: inherit;
95     text-decoration: none;
96 }
97
98 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99  * Headings
100  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
101
102 /* h1                     */
103 /* ====================== */
104 h1 {
105     padding: 0 0 0.2em 0;
106     margin: 1em 0 0.5em 0;
107     border-style: none none solid none;
108     border-bottom-width: 1px;
109     border-bottom-color: #405871;
110     background-color: inherit;
111     color: #000;
112     text-decoration: none;
113     font-size: 17pt;
114     font-weight: bold;
115     text-align: center;
116 }
117
118 /* h2                     */
119 /* ====================== */
120 h2 {
121     padding: 0.2em 0 0.2em 0.2em;
122     margin: 0 0 0.5em 0;
123     width: 80%;
124     text-decoration: none;
125     font-size: 15pt;
126     font-weight: bold;
127     border-bottom: 1px solid #000;
128     text-align: left;
129 }
130
131 .section h2,
132 .directive-section h2,
133 .category h2 {
134     background-color: #fff;
135     color: #000;
136 }
137
138 /* take care of <a name>s inside */
139 h2 a,
140 h2 a:hover,
141 h2 a:active {
142     color: inherit;
143     background-color: inherit;
144     text-decoration: none;
145 }
146
147 /* h3, h4                 */
148 /* ====================== */
149 h3 {
150     background-color: inherit;
151     color: #000;
152     text-decoration: none;
153     font-weight: bold;
154     font-size: 13pt;
155     margin: 1.3em 0 0.4em 0;
156     padding: 0 0 0 0.2em;
157 }
158
159 h4 {
160     background-color: inherit;
161     color: #000;
162     text-decoration: none;
163     font-weight: bold;
164     font-size: 11pt;
165     margin: 1.3em 0 0.2em 0;
166     padding: 0 0 0 0.2em;
167 }
168
169 /* margin adjustment */
170 h3 + *, h4 + * {
171     margin-top: 0;
172 }
173
174 /* IE confuses the + * :-( 
175  * so reset some things
176  */
177 ul, .section table, .directive-section table {
178     margin-bottom: 1em;
179 }
180
181 /* titles for 
182  * examples, notes and warnings
183  */
184 div.example h3,
185 div.note h3,
186 div.warning h3 {
187     margin: 0 0 0.5em 0;
188     text-align: left;
189     font-size: 11pt;
190 }
191
192 /* sidebar */
193 div#quickview h3 {
194     margin: 1em 0 0.3em 0;
195     font-size: 13pt;
196 }
197
198 div#quickview h3.directives {
199     margin-top: 0;
200 }
201
202 /* take care of <a name>s inside */
203 h3 a,
204 h3 a:hover,
205 h3 a:active,
206 h4 a,
207 h4 a:hover,
208 h4 a:active {
209     color: inherit;
210     background-color: inherit;
211     text-decoration: none;
212 }
213
214 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215  * Up & Top helper images
216  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
217
218 div.up,
219 div.top {
220     display: none;
221 }
222
223 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224  * Tables
225  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
226
227 /* general                */
228 /* ====================== */
229 table {
230     border: 1px solid #000;
231     border-collapse: collapse;
232     padding: 2px;
233     margin-top: 0.5em;
234     margin-bottom: 0;
235     margin-left: 1px; /* border-width == 1px */
236 }
237
238 td, th {
239     empty-cells: show; /* show border around empty cells */
240     padding: 0.1em 0.2em;
241     vertical-align: top;
242     text-align: left;
243     line-height: 1.1em;
244 }
245
246 th {
247     font-weight: bold;
248 }
249
250 td.centered {
251     text-align: center;
252 }
253
254 tr.header, tr.header th {
255     border-top: 1px solid #000;
256     border-bottom: 1px solid #000;
257 }
258
259 /* bordered table cells   */
260 /* ====================== */
261
262 /* turn off borders in tables nested in 
263  * bordered tables per default
264  */
265 table.bordered table td,
266 table.bordered table th {
267     border-style: none;
268 }
269
270 table.bordered td,
271 table.bordered th,
272 table table.bordered td,
273 table table.bordered th {
274     border: 1px solid #000;
275 }
276
277 /* mod/dir. overview table and quick reference  */
278 /* ============================================ */
279 table.module th,
280 table.directive th {
281     white-space: nowrap;
282 }
283
284 table.qref {
285     border-collapse: collapse;
286     width: auto;
287 }
288
289 table.qref td {
290     border-style: none solid;
291     border-color: #000;
292     border-width: 1px;
293 }
294
295 table.qref td.descr {
296     padding-left: 1em;
297     font-size: 11pt;
298 }
299
300 table#legend {
301     width: 100%;
302     border-style: none;
303     border-width: 0;
304     vertical-align: bottom;
305     padding: 0;
306     margin: 0;
307 }
308
309 table#legend td {
310     vertical-align: bottom;
311     margin: 0;
312     padding: 0;
313 }
314
315 table#legend table {
316     vertical-align: bottom;
317     margin: 0 0 0 0.4em;
318     padding: 0;
319     height: 7.5em;
320 }
321
322 table#legend td.letters span {
323     display: none;
324 }
325
326 table#legend table td,
327 table#legend table th {
328     vertical-align: middle;
329     padding: 0.1ex 0.2em;
330     line-height: 1em;
331 }
332
333 /* related modules & dir. */
334 /* ====================== */
335
336 /* assuming, all links are enclosed by
337  * <code class="directive"> or
338  * <code class="module">
339  */
340
341 table.related {
342     border-collapse: collapse;
343 }
344
345 table.related th,
346 table.related td {
347     background-color: #fff;
348     color: #000;
349     padding: 0.2ex 0.4em;
350     border: 1px solid #000;
351 }
352
353 table.related th {
354     vertical-align: middle;
355 }
356
357 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358  * Lists
359  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
360
361 /* list default values    */
362 /* ====================== */
363 ul {
364     list-style-type: disc;
365 }
366
367 ul ul {
368     list-style-type: square;
369 }
370
371 ul ul ul {
372     list-style-type: circle;
373 }
374
375 li, dt, dd {
376     line-height: 1.1em;
377 }
378
379 dt {
380     margin-top: 0.5em;
381     font-weight: bold;
382 }
383
384 ol li {
385     margin-top: 0.5em;
386 }
387
388 ol.up-A {
389     list-style-type: upper-alpha;
390 }
391
392 /* table of contents      */
393 /* ====================== */
394 #toc,
395 #topics {
396     margin: 0;
397     padding: 0;
398 }
399
400 #toc li,
401 #topics li {
402     list-style-type: square;
403     margin: 0 0 1em 0;
404     padding: 0;
405 }
406
407 #toc li img,
408 #topics li img {
409     margin-right: 19px;
410 }
411
412 /* see also               */
413 /* ====================== */
414 .seealso {
415     margin: 0;
416     padding: 0;
417 }
418
419 .seealso li {
420     list-style-type: square;
421     margin: 0 0 1em 0;
422     padding: 0 0 0 34px;
423 }
424
425 /* related modules & dir. */
426 /* ====================== */
427 table.related td ul,
428 table.related td li {
429     list-style-type: none;
430     margin: 0;
431     padding: 0;
432 }
433
434 /* list of all directives */
435 /* ====================== */
436 div#directive-list ul {
437     margin: 0;
438     padding: 0;
439 }
440
441 /* quickview              */
442 /* ====================== */
443 div#quickview li {
444     font-size: 11pt;
445 }
446
447 div#quickview ul {
448     margin: 0;
449     padding: 0;
450 }
451
452 div#quickview ul#toc {
453     margin: 0;
454     padding: 0;
455 }
456
457 div#quickview ul#toc li {
458     margin: 0 0 0 1em;
459     padding: 0;
460     list-style-type: square;
461     list-style-position: outside;
462 }
463
464 div#quickview li img {
465     display: none;
466 }
467
468 #module-index div#quickview ul#toc,
469 #manual-page div#quickview ul#toc,
470 div#quickview #topics,
471 div#quickview .seealso {
472     padding-left: 0;
473 }
474
475 #module-index div#quickview ul#toc li,
476 #manual-page div#quickview ul#toc li,
477 div#quickview #topics li,
478 div#quickview .seealso li {
479     margin: 0 0 2px 1em;
480     padding: 0;
481     list-style-type: square;
482     list-style-position: outside;
483 }
484
485 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
486  * main page sections
487  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
488
489 /* page header            */
490 /* ====================== */
491 div#page-header {
492     margin-left: 0;
493 }
494
495 div#page-header img {
496     display: none;
497 }
498
499 div#page-header p.apache {
500     background-color: #fff;
501     color: #000;
502     padding: 0;
503     margin: 0;
504     text-align: center;
505     vertical-align: middle;
506     font-size: 20pt;
507     font-weight: bold;
508     line-height: 20pt;
509 }
510
511 div#page-header p.menu {
512     display: none;
513 }
514
515 /* breadcrumb navigation */
516 div#path {
517     display: none;
518 }
519
520 /* content sections       */
521 /* ====================== */
522 div#preamble {
523     padding-bottom: 1em;
524     margin-left: 0;
525 }
526
527 div.section,
528 div.directive-section {
529     margin: 0;
530     padding: 0;
531 }
532
533 .section p,
534 .directive-section p {
535     margin: 0 0 1em 0;
536     padding: 0;
537 }
538
539 /* look for this on directive
540  * list pages
541  */
542 div#directive-list {
543     margin-left: 0;
544     padding: 0 0 1em 1em;
545 }
546
547 div#directive-ref {
548     margin: -1em 0 0 1px;
549     padding: 0 0 1em 0;
550     width: auto;
551 }
552
553 /* no sidebar */
554 div#quickview {
555     position: static;
556     margin: 0 0 1em 0;
557     padding: 0;
558     width: auto;
559     background-color: #fff;
560     color: inherit;
561 }
562
563 /* -> keep content wide */
564 div#page-content {
565     padding-top: 0;
566     margin-right: 0;
567     padding-right: 0;
568 }
569
570 /* in general */
571 p {
572     line-height: 1.1em;
573 }
574
575 /* page footer            */
576 /* ====================== */
577 div#footer {
578     margin-left: 0;
579     font-size: 11pt;
580     border-top: 1px solid #000;
581     padding-top: 0.2em;
582 }
583
584 div#footer p.apache {
585     float: none;
586     text-align: center;
587     padding: 0 0 1em 0;
588     margin-top: 0;
589     font-weight: bold;
590 }
591
592 div#footer p.menu {
593     display: none;
594 }
595
596 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
597  * subsections (examples, notes, warnings)
598  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
599
600 /* examples               */
601 /* ====================== */
602 div.example,
603 div.note div.example {
604     background-color: #fff;
605     color: #000;
606     padding: 0.5em;
607     margin: 1em;
608     border: 1px dotted #000;
609 }
610
611 /* the following [block] elements
612  * may appear inside example...
613  */
614 div.example p,
615 div.example pre,
616 div.example table {
617     padding: 0;
618     margin: 0;
619 }
620
621 div.example p {
622     line-height: 1em;
623 }
624
625 div.example pre,
626 div.example p > code {
627     font-size: 10pt;
628 }
629
630 /* notes & warnings       */
631 /* ====================== */
632 div.note,
633 div.warning {
634     background-color: #fff;
635     color: #000;
636     border: 1px solid #000;
637     padding: 0.5em;
638     margin: 1em;
639 }
640
641 div.note p,
642 div.warning p {
643     margin: 0;
644     padding: 0;
645 }
646
647 div.note pre,
648 div.warning pre {
649     font-size: 10pt;
650 }
651
652 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
653  * quotations, indented paragraphs and figures
654  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
655 p.letters {
656     display: none;
657 }
658
659 blockquote p {
660     font-style: italic;
661     margin: 0;
662 }
663
664 blockquote p.cite {
665     font-style: normal;
666     margin-top: 0;
667     margin-left: 2em;
668 }
669
670 blockquote p.cite cite {
671     font-style: normal;
672 }
673
674 p.indent {
675     margin-left: 2em;
676     margin-top: 1em;
677 }
678
679 #index-page form {
680     display: none;
681 }
682
683 p.figure {
684     margin-left: 2em;
685     font-style: italic;
686 }
687
688 p.figure img {
689     border: 1px solid #000;
690 }
691
692 p.figure dfn {
693     font-weight: bold;
694 }
695
696 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
697  * -> The End <-
698  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */