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