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