]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/cups.css
Updated HTML man page...
[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
2909c66c
MS
136DL.man DD {
137 margin-left: 5em;
138}
139
140DL.man DT {
141 margin-left: 0;
142}
143
144PRE.man {
145 margin: 0;
146}
147
5a738aea
MS
148PRE.example {
149 background: white;
150 border: dotted thin #999999;
151 margin-left: 36pt;
152 padding: 10px;
153}
154
155PRE.command EM, PRE.example EM {
ef416fc2 156 color: #3f0000;
5a738aea 157 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
ef416fc2 158}
159
160P.command {
161 color: #7f0000;
5a738aea 162 font-family: monaco, courier, monospace;
bd7854cb 163 margin-left: 36pt;
ef416fc2 164}
165
4744bd90 166P.formula {
167 font-style: italic;
168 margin-left: 36pt;
169}
170
ef416fc2 171BLOCKQUOTE {
7a14d768
MS
172 background: #f0f0f0;
173 border: inset 1px #eeeeee;
2e4ff8af
MS
174 padding: 10px;
175 /* These are not implemented by all browsers, but that's OK */
176 border-radius: 5px;
177 -moz-border-radius: 5px;
178}
179
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;
bd7854cb 303 padding-top: 5pt;
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
ef416fc2 368H2.title, H3.title {
2e4ff8af 369 border-bottom: solid 1pt #999999;
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 {
530 margin: 0;
531}
532div.body h2 {
533 margin-top: 1.5em;
534}
535div.body h3, div.body h4, div.body h5 {
536 margin-bottom: 0.5em;
537 margin-top: 1.5em;
538}
539.class, .enumeration, .function, .struct, .typedef, .union {
540 border-bottom: solid thin #999999;
541 margin-bottom: 0;
542 margin-top: 2em;
543}
544.description {
545 margin-top: 0.5em;
546}
547code, p.code, pre, ul.code li {
548 font-family: monaco, courier, monospace;
549 font-size: 90%;
550}
551ul.code, ul.contents, ul.subcontents {
552 list-style-type: none;
553 margin: 0;
554 padding-left: 0;
555}
556ul.code li {
557 margin: 0;
558}
559ul.contents > li {
560 margin-top: 1em;
561}
562ul.contents li ul.code, ul.contents li ul.subcontents {
563 padding-left: 2em;
564}
565div.body dl {
566 margin-left: 0;
567 margin-top: 0;
568}
569div.body dt {
570 font-style: italic;
571 margin-left: 0;
572 margin-top: 0;
573}
574div.body dd {
575 margin-bottom: 0.5em;
576}
dfc45c1b
MS
577/* iPhone/iPod touch overrides */
578@media only screen and (min-device-width: 320px) and (max-device-width: 480px),
579 only screen and (min-device-width: 320px) and (max-device-width: 568px) {
580 .mobile {
581 display: inherit;
582 }
583 .no-mobile {
584 display: none;
585 }
586
13e6b947
MS
587 .header {
588 margin: 0;
589 position: relative;
590 }
591 .header ul li {
592 float: none;
593 }
594
595 .body {
596 paddng: 0px;
597 }
598
dfc45c1b
MS
599 .footer {
600 font-size: 10px;
601 height: auto;
602 position: relative;
603 }
604
605 .row .thirds, .row .halves {
606 float: none;
607 margin: 0;
608 width: 100%;
609 }
610
611 DIV.sidebar {
612 float: none;
613 margin-left: 0;
614 max-width: 100%;
615 min-width: 100%;
616 width: 100%;
617 }
618
619 BLOCKQUOTE {
620 margin: 0;
621 }
622
623 P.example {
624 margin-left: 0;
625 }
626
2909c66c 627 PRE.command, PRE.example, PRE.man {
dfc45c1b
MS
628 margin-left: 0;
629 white-space: pre-wrap;
630 }
631}
632
633/* iPad overrides */
634@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
635
636 .mobile {
637 display: inherit;
638 }
639 .no-mobile {
640 display: none;
641 }
642}