]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/cups.css
Greatly simplify the man page handling.
[thirdparty/cups.git] / doc / cups.css
CommitLineData
dfc45c1b
MS
1/* Layout CSS */
2.header {
ebc0869c 3 background: rgba(46,46,46,.9);
13e6b947 4 box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
dfc45c1b 5 color: white;
dfc45c1b
MS
6 left: 0;
7 margin-bottom: 20px;
8 padding: 0px;
13e6b947 9 position: fixed;
dfc45c1b 10 right: 0;
13e6b947 11 top: 0;
dfc45c1b
MS
12 width: 100%;
13}
14.header ul {
15 list-style: none;
8a4b51bb 16 margin: 0px;
dfc45c1b
MS
17 -webkit-margin-before: 0;
18 -webkit-margin-after: 0;
19 -webkit-margin-start: 0;
20 -webkit-margin-end: 5px;
21 -webkit-padding-start: 0;
22}
23.header ul li {
24 float: left;
25}
26.header a {
27 display: block;
28 padding: 5px 10px !important;
29}
30.header a:link, .header a:visited {
31 color: white !important;
32 text-decoration: none !important;
33}
34.header a:hover {
35 background: #cccccc !important;
36 color: #333333 !important;
37 text-decoration: none !important;
38}
39.header a.active {
40 background: white !important;
2eefda5e 41 box-shadow: rgba(0,0,0,0.1) 0px 0px 10px 0px inset;
dfc45c1b
MS
42 color: black !important;
43 text-decoration: none !important;
44}
45
46.body {
13e6b947 47 padding: 40px 20px;
dfc45c1b 48}
fd21ed5d
MS
49.row .body {
50 padding: 0px;
51}
dfc45c1b
MS
52
53.footer {
2eefda5e 54 background: rgba(46,46,46,.9);
dfc45c1b 55 bottom: 0;
13e6b947 56 box-shadow: 0px -2px 5px rgba(0,0,0,0.25);
dfc45c1b
MS
57 color: #cccccc;
58 font-size: 10px;
59 height: 20px;
60 left: 0;
61 padding: 10px 10px 3px;
62 position: fixed;
63 width: 100%;
64}
65.footer a:link, footer a:hover, .footer a:visited {
66 color: white !important;
67 text-decoration: none !important;
68}
69
70.row {
71 width: 100%;
72 *zoom: 1;
73}
74.row:after {
75 clear: both;
76}
77
78.row .thirds {
79 float: left;
80 margin-left: 0.5%;
81 margin-right: 0;
82 width: 33%;
83}
84.row .thirds:first-child {
85 margin-left: 0;
86}
87
88.row .halves {
89 float: left;
90 margin-left: 0.5%;
91 margin-right: 0;
92 width: 49.75%;
93}
94.row .halves:first-child {
95 margin-left: 0;
96}
97.mobile {
98 display: none;
99}
100.no-mobile {
101 display: inherit;
102}
103
104/* Appearance CSS */
ef416fc2 105BODY {
7a14d768
MS
106 background: white;
107 color: black;
5a738aea 108 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
dfc45c1b 109 margin: 0;
ef416fc2 110}
111
112H1, H2, H3, H4, H5, H6, P, TD, TH {
5a738aea 113 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
ef416fc2 114}
115
2cb772b8
MS
116H1 { font-size: 2em; }
117H2 { font-size: 1.75em; }
118H3 { font-size: 1.5em; }
119H4 { font-size: 1.25em; }
120
ef416fc2 121KBD {
122 color: #006600;
5a738aea 123 font-family: monaco, courier, monospace;
ef416fc2 124 font-weight: bold;
125}
126
127PRE {
5a738aea 128 font-family: monaco, courier, monospace;
ef416fc2 129}
130
fce9ddcb
MS
131BLOCKQUOTE {
132 border-left: solid 2px #777;
3f76968f 133 margin: 1em 0;
fce9ddcb
MS
134 padding: 10px;
135}
136
3f76968f
MS
137BLOCKQUOTE OL LI {
138 margin-left: -1em;
139}
140
fce9ddcb
MS
141PRE.command, PRE.example {
142 background: #eee;
143 margin: 0 36pt;
10d09e33 144 padding: 10px;
ef416fc2 145}
146
28b9d139
MS
147P.example {
148 font-style: italic;
149 margin-left: 36pt;
150}
ef55b745 151
2909c66c
MS
152DL.man DD {
153 margin-left: 5em;
154}
155
156DL.man DT {
157 margin-left: 0;
158}
159
160PRE.man {
161 margin: 0;
162}
163
5a738aea 164PRE.command EM, PRE.example EM {
ef416fc2 165 color: #3f0000;
5a738aea 166 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
ef416fc2 167}
168
169P.command {
170 color: #7f0000;
5a738aea 171 font-family: monaco, courier, monospace;
bd7854cb 172 margin-left: 36pt;
ef416fc2 173}
174
4744bd90 175P.formula {
176 font-style: italic;
177 margin-left: 36pt;
178}
179
2e4ff8af
MS
180A IMG {
181 border: none;
182}
183
184A:link:hover IMG {
7a14d768 185 background: #f0f0f0;
2e4ff8af
MS
186 border-radius: 10px;
187 -moz-border-radius: 10px;
ef416fc2 188}
189
190A:link, A:visited {
b19ccc9e 191 font-weight: inherit;
ef416fc2 192 text-decoration: none;
2e4ff8af 193 color: #000099;
ef416fc2 194}
195
196A:link:hover, A:visited:hover, A:active {
197 text-decoration: underline;
2e4ff8af
MS
198 color: #990099;
199}
200
201TABLE.page {
202 border: none;
203 border-collapse: collapse;
204 height: 100%;
205 margin: 0;
206 padding: 0;
207 width: 100%;
208}
209
210TD.body {
211 height: 100%;
212 vertical-align: top;
213}
214
215TD.sel, TD.unsel {
c9fc04c6 216 border-left: thin solid #cccccc;
2e4ff8af
MS
217 padding: 0px 5px;
218 text-align: center;
219 vertical-align: middle;
220 width: 14%;
221}
222
223TD.sel {
224 background: url(images/sel.gif);
ef416fc2 225}
226
2e4ff8af
MS
227TD.unsel {
228 background: url(images/unsel.gif);
ef416fc2 229}
230
c9fc04c6
MS
231TD.sel A, TD.sel A:hover, TD.unsel A:link:hover, TD.unsel A:visited:hover,
232TD.unsel A:active, TD.unsel A, TD.unsel A:visited {
233 color: #666666;
0268488e 234 display: block;
2e4ff8af 235 font-weight: normal;
0268488e 236 padding: 8px;
2e4ff8af
MS
237 text-decoration: none;
238}
239
240TD.trailer {
7a14d768
MS
241 background: #f0f0f0;
242 border: solid thin #e0e0e0;
2e4ff8af
MS
243 color: #666666;
244 font-size: 80%;
245 padding: 5px;
246}
247
248TD.trailer A {
249 color: #666699;
250}
251
252FORM {
253 display: inline;
ef416fc2 254}
255
256INPUT[TYPE="TEXT"], TEXTAREA {
5a738aea 257 font-family: monaco, courier, monospace;
ef416fc2 258}
259
260INPUT[TYPE="IMAGE"] {
261 border: none;
bd7854cb 262 padding: 2pt;
ef416fc2 263 vertical-align: bottom;
264}
265
266SUB, SUP {
267 font-size: 50%;
268}
269
ef416fc2 270TR.data, TD.data, TR.data TD {
b19ccc9e
MS
271 margin-top: 10pt;
272 padding: 5pt;
2e4ff8af 273 border-bottom: solid 1pt #999999;
ef416fc2 274}
275
276TR.data TH {
2e4ff8af 277 border-bottom: solid 1pt #999999;
bd7854cb 278 padding-top: 10pt;
279 padding-left: 5pt;
ef416fc2 280 text-align: left;
281}
282
283DIV.table TABLE {
2e4ff8af 284 border: solid thin #999999;
5a738aea 285 border-collapse: collapse;
bd7854cb 286 border-spacing: 0;
ef416fc2 287 margin-left: auto;
288 margin-right: auto;
289}
290
291DIV.table CAPTION {
292 caption-side: top;
293 font-size: 120%;
294 font-style: italic;
295 font-weight: bold;
296 margin-left: auto;
297 margin-right: auto;
298}
299
300DIV.table TABLE TD {
5a738aea 301 background: white;
2e4ff8af 302 border: solid thin #bbbbbb;
fce9ddcb 303 padding: 5pt 10pt 0;
ef416fc2 304}
305
306DIV.table TABLE TH {
7a14d768 307 background: #f0f0f0;
ef416fc2 308 border: none;
2e4ff8af 309 border-bottom: solid thin #999999;
ef416fc2 310}
311
e1d6a774 312DIV.figure TABLE {
313 margin-left: auto;
314 margin-right: auto;
315}
316
317DIV.figure CAPTION {
318 caption-side: bottom;
319 font-size: 120%;
320 font-style: italic;
321 font-weight: bold;
322 margin-left: auto;
323 margin-right: auto;
324}
325
ef416fc2 326TH.label {
ef416fc2 327 text-align: right;
328 vertical-align: top;
329}
330
749b1e90 331TH.sublabel {
749b1e90
MS
332 text-align: right;
333 font-weight: normal;
334}
335
ef416fc2 336HR {
337 border: solid thin;
338}
339
340SPAN.info {
7a14d768
MS
341 background: black;
342 border: thin solid black;
343 color: white;
ef416fc2 344 font-size: 80%;
345 font-style: italic;
346 font-weight: bold;
347 white-space: nowrap;
348}
349
db1f069b 350H2 SPAN.info, H3 SPAN.info, H4 SPAN.info {
ef416fc2 351 float: right;
352 font-size: 100%;
353}
354
355.conflict {
b19ccc9e
MS
356 background: red;
357 color: white;
ef416fc2 358}
359
ef55b745
MS
360TH.conflict {
361 text-align: right;
362}
363
178cb736
MS
364H1.title {
365 display: none;
366}
367
fd21ed5d 368H2.title, H3.title, .row .body H2, .row .body H3 {
3d90ace3 369 border-bottom: solid 2pt black;
ef416fc2 370}
371
dfc45c1b 372TABLE.indent {
b19ccc9e
MS
373 margin-top: 2em;
374 margin-left: auto;
375 margin-right: auto;
376 width: 90%;
377}
378
379TABLE.indent {
380 border-collapse: collapse;
381}
382
383TABLE.indent TD, TABLE.indent TH {
384 padding: 0;
385}
386
387TABLE.list {
388 border-collapse: collapse;
389 margin-left: auto;
390 margin-right: auto;
391 width: 90%;
392}
393
394TABLE.list TH {
58dc1933
MS
395 background: white;
396 border-bottom: solid thin #cccccc;
397 color: #444444;
b19ccc9e
MS
398 padding-top: 10pt;
399 padding-left: 5pt;
400 text-align: left;
58dc1933 401 vertical-align: bottom;
b19ccc9e
MS
402 white-space: nowrap;
403}
404
58dc1933
MS
405TABLE.list TH A {
406 color: #4444cc;
407}
408
b19ccc9e
MS
409TABLE.list TD {
410 border-bottom: solid thin #eeeeee;
411 padding-top: 5pt;
412 padding-left: 5pt;
413}
414
58dc1933
MS
415TABLE.list TR:nth-child(even) {
416 background: #f8f8f8;
417}
418
419TABLE.list TR:nth-child(odd) {
420 background: #f4f4f4;
421}
422
ef416fc2 423DIV.sidebar {
ef416fc2 424 float: right;
db1f069b 425 min-width: 25%;
2e4ff8af 426 margin-left: 10px;
db1f069b 427 max-width: 33%;
ef416fc2 428}
429
430DIV.sidebar P.l0 {
431 margin-bottom: 0;
432 margin-left: 0;
433 margin-right: 0;
bd7854cb 434 margin-top: 12pt;
ef416fc2 435}
436
437DIV.sidebar P.l1 {
438 margin-bottom: 0;
bd7854cb 439 margin-left: 36pt;
ef416fc2 440 margin-right: 0;
441 margin-top: 0;
bd7854cb 442 text-indent: -18pt;
ef416fc2 443}
444
445DIV.sidebar P.l2 {
446 font-style: italic;
447 margin-bottom: 0;
bd7854cb 448 margin-left: 54pt;
ef416fc2 449 margin-right: 0;
450 margin-top: 0;
bd7854cb 451 text-indent: -18pt;
ef416fc2 452}
fa73b229 453
2e4ff8af 454TABLE.inset {
7a14d768 455 background: #f0f0f0;
c9fc04c6 456 border: thin solid #e0e0e0;
b19ccc9e 457 margin-top: 1em;
2e4ff8af 458 padding: 0;
28b9d139 459 width: 100%;
f7deaa1a 460 /* These are not implemented by all browsers, but that's OK */
2e4ff8af
MS
461 border-radius: 5px;
462 -moz-border-radius: 5px;
463}
464
465TABLE.inset CAPTION {
466 caption-side: top;
467 color: #666666;
468 font-size: 80%;
469 margin-left: 10px;
470 margin-bottom: 2px;
471 text-align: left;
472}
473
474TABLE.inset TD {
b19ccc9e 475 padding: 2px;
fa73b229 476}
477
478DT {
bd7854cb 479 margin-left: 36pt;
480 margin-top: 12pt;
fa73b229 481}
482
483DD {
bd7854cb 484 margin-left: 54pt;
fa73b229 485}
a4d04587 486
757d2cad 487DL.category DT {
488 font-weight: bold;
489}
490
a4d04587 491P.summary {
db1f069b 492 margin-left: 36pt;
5a738aea 493 font-family: monaco, courier, monospace;
a4d04587 494}
e00b005a 495
5a738aea
MS
496DIV.summary TABLE {
497 border: solid thin #999999;
498 border-collapse: collapse;
499 border-spacing: 0;
500 margin: 10px;
501}
502
503DIV.summary TABLE TD, DIV.summary TABLE TH {
504 background: white;
505 border: solid thin #999999;
506 border-spacing: 0;
507 padding: 5px;
508 text-align: left;
509 vertical-align: top;
510}
511
512DIV.summary TABLE THEAD TH {
7a14d768 513 background: #f0f0f0;
5a738aea
MS
514}
515
58dc1933
MS
516DIV.tabs {
517 height: 480px;
518 overflow: hidden;
519}
520
521DIV.tab {
522 float: left;
523 height: 100%;
524 overflow-y: auto;
525 width: 100%;
526}
527
5a738aea
MS
528/* API documentation styles... */
529div.body h1 {
5a738aea
MS
530}
531div.body h2 {
5a738aea 532}
fd21ed5d 533div.body h3 {
5a738aea 534}
fd21ed5d
MS
535div.body h4 {
536}
537div.body h5 {
538}
539div.contents {
540}
541div.contents h1 {
542}
543div.contents h2 {
544}
545div.contents ul.contents {
546}
547div.contents ul.contents li ul {
548 display: none;
549}
550
551.class {
552 border-bottom: solid 2px gray;
553}
554.constants {
5a738aea
MS
555}
556.description {
557 margin-top: 0.5em;
558}
fd21ed5d
MS
559.discussion {
560}
561.enumeration {
562 border-bottom: solid 2px gray;
563}
564.function {
565 border-bottom: solid 2px gray;
566 margin-bottom: 0;
567}
568.members {
569}
570.method {
571}
572.parameters {
573}
574.returnvalue {
575}
576.struct {
577 border-bottom: solid 2px gray;
578}
579.typedef {
580 border-bottom: solid 2px gray;
581}
582.union {
583 border-bottom: solid 2px gray;
584}
585.variable {
586}
587h1, h2, h3, h4, h5, h6 {
588 page-break-inside: avoid;
589}
590blockquote {
591 page-break-inside: avoid;
592}
593p code, li code, p.code, pre, ul.code li {
594 background: rgba(127,127,127,0.1);
595 border: thin dotted gray;
596 font-family: monospace;
5a738aea 597 font-size: 90%;
fd21ed5d
MS
598 hyphens: manual;
599 -webkit-hyphens: manual;
600 page-break-inside: avoid;
601}
602p.code, pre, ul.code li {
603 padding: 10px;
604}
605p code, li code {
606 padding: 2px 5px;
607}
608span.info {
609 background: black;
610 border: solid thin black;
611 color: white;
612 font-size: 80%;
613 font-style: italic;
614 font-weight: bold;
615 white-space: nowrap;
616}
617h3 span.info, h4 span.info {
618 border-top-left-radius: 10px;
619 border-top-right-radius: 10px;
620 float: right;
621 padding: 3px 6px;
5a738aea
MS
622}
623ul.code, ul.contents, ul.subcontents {
624 list-style-type: none;
625 margin: 0;
626 padding-left: 0;
627}
628ul.code li {
629 margin: 0;
630}
631ul.contents > li {
632 margin-top: 1em;
633}
634ul.contents li ul.code, ul.contents li ul.subcontents {
635 padding-left: 2em;
636}
fd21ed5d
MS
637table.list {
638 border-collapse: collapse;
639 width: 100%;
5a738aea 640}
fd21ed5d
MS
641table.list tr:nth-child(even) {
642 background: rgba(127,127,127,0.1);]n}
643table.list th {
644 border-right: 2px solid gray;
645 font-family: monospace;
646 padding: 5px 10px 5px 2px;
647 text-align: right;
648 vertical-align: top;
649}
650table.list td {
651 padding: 5px 2px 5px 10px;
652 text-align: left;
653 vertical-align: top;
5a738aea 654}
fd21ed5d 655
dfc45c1b
MS
656/* iPhone/iPod touch overrides */
657@media only screen and (min-device-width: 320px) and (max-device-width: 480px),
658 only screen and (min-device-width: 320px) and (max-device-width: 568px) {
659 .mobile {
660 display: inherit;
661 }
662 .no-mobile {
663 display: none;
664 }
665
13e6b947
MS
666 .header {
667 margin: 0;
668 position: relative;
669 }
670 .header ul li {
671 float: none;
672 }
673
674 .body {
675 paddng: 0px;
676 }
677
dfc45c1b
MS
678 .footer {
679 font-size: 10px;
680 height: auto;
681 position: relative;
682 }
683
684 .row .thirds, .row .halves {
685 float: none;
686 margin: 0;
687 width: 100%;
688 }
689
690 DIV.sidebar {
691 float: none;
692 margin-left: 0;
693 max-width: 100%;
694 min-width: 100%;
695 width: 100%;
696 }
697
698 BLOCKQUOTE {
699 margin: 0;
700 }
701
702 P.example {
703 margin-left: 0;
704 }
705
2909c66c 706 PRE.command, PRE.example, PRE.man {
dfc45c1b
MS
707 margin-left: 0;
708 white-space: pre-wrap;
709 }
710}
711
712/* iPad overrides */
713@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
714
715 .mobile {
716 display: inherit;
717 }
718 .no-mobile {
719 display: none;
720 }
721}