]> git.ipfire.org Git - thirdparty/cups.git/blob - doc/cups-printable.css
Documentation updates.
[thirdparty/cups.git] / doc / cups-printable.css
1 BODY {
2 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
3 }
4
5 H1, H2, H3, H4, H5, H6, P, TD, TH {
6 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
7 }
8
9 H1 { font-size: 2em; }
10 H2 { font-size: 1.75em; }
11 H3 { font-size: 1.5em; }
12 H4 { font-size: 1.25em; }
13
14 KBD {
15 font-family: monaco, courier, monospace;
16 font-weight: bold;
17 }
18
19 PRE {
20 font-family: monaco, courier, monospace;
21 }
22
23 BLOCKQUOTE {
24 border-left: solid 2px #777;
25 margin: 1em 0;
26 padding: 10px;
27 }
28
29 BLOCKQUOTE OL LI {
30 margin-left: -1em;
31 }
32
33 PRE.command, PRE.example {
34 background: #eee;
35 margin: 0 36pt;
36 padding: 10px;
37 }
38
39 P.compact {
40 margin: 0;
41 }
42
43 P.example {
44 font-style: italic;
45 margin-left: 36pt;
46 }
47
48 DL.man DD {
49 margin-left: 5em;
50 }
51
52 DL.man DT {
53 margin-left: 0;
54 }
55
56 PRE.man {
57 margin: 0;
58 }
59
60 PRE.command EM, PRE.example EM {
61 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
62 }
63
64 P.command {
65 font-family: monaco, courier, monospace;
66 margin-left: 36pt;
67 }
68
69 P.formula {
70 font-style: italic;
71 margin-left: 36pt;
72 }
73
74 A IMG {
75 border: none;
76 }
77
78 A:link:hover IMG {
79 background: #f0f0f0;
80 border-radius: 10px;
81 -moz-border-radius: 10px;
82 }
83
84 A:link, A:visited {
85 font-weight: inherit;
86 text-decoration: none;
87 }
88
89 A:link:hover, A:visited:hover, A:active {
90 text-decoration: underline;
91 }
92
93 SUB, SUP {
94 font-size: 50%;
95 }
96
97 TR.data, TD.data, TR.data TD {
98 margin-top: 10pt;
99 padding: 5pt;
100 border-bottom: solid 1pt #999999;
101 }
102
103 TR.data TH {
104 border-bottom: solid 1pt #999999;
105 padding-top: 10pt;
106 padding-left: 5pt;
107 text-align: left;
108 }
109
110 DIV.table TABLE {
111 border: solid thin #999999;
112 border-collapse: collapse;
113 border-spacing: 0;
114 margin-left: auto;
115 margin-right: auto;
116 }
117
118 DIV.table CAPTION {
119 caption-side: top;
120 font-size: 120%;
121 font-style: italic;
122 font-weight: bold;
123 margin-left: auto;
124 margin-right: auto;
125 }
126
127 DIV.table TABLE TD {
128 border: solid thin #cccccc;
129 padding: 5pt 10pt 0;
130 }
131
132 DIV.table TABLE TH {
133 background: #cccccc;
134 border: none;
135 border-bottom: solid thin #999999;
136 }
137
138 DIV.figure TABLE {
139 margin-left: auto;
140 margin-right: auto;
141 }
142
143 DIV.figure CAPTION {
144 caption-side: bottom;
145 font-size: 120%;
146 font-style: italic;
147 font-weight: bold;
148 margin-left: auto;
149 margin-right: auto;
150 }
151
152 TH.label {
153 text-align: right;
154 vertical-align: top;
155 }
156
157 TH.sublabel {
158 text-align: right;
159 font-weight: normal;
160 }
161
162 HR {
163 border: solid thin;
164 }
165
166 SPAN.info {
167 background: black;
168 border: thin solid black;
169 color: white;
170 font-size: 80%;
171 font-style: italic;
172 font-weight: bold;
173 white-space: nowrap;
174 }
175
176 H2 SPAN.info, H3 SPAN.info, H4 SPAN.info {
177 float: right;
178 font-size: 100%;
179 }
180
181 H1.title {
182 }
183
184 H2.title, H3.title {
185 border-bottom: solid 2pt #000000;
186 }
187
188 DIV.indent, TABLE.indent {
189 margin-top: 2em;
190 margin-left: auto;
191 margin-right: auto;
192 width: 90%;
193 }
194
195 TABLE.indent {
196 border-collapse: collapse;
197 }
198
199 TABLE.indent TD, TABLE.indent TH {
200 padding: 0;
201 }
202
203 TABLE.list {
204 border-collapse: collapse;
205 margin-left: auto;
206 margin-right: auto;
207 width: 90%;
208 }
209
210 TABLE.list TH {
211 background: white;
212 border-bottom: solid thin #cccccc;
213 color: #444444;
214 padding-top: 10pt;
215 padding-left: 5pt;
216 text-align: left;
217 vertical-align: bottom;
218 white-space: nowrap;
219 }
220
221 TABLE.list TH A {
222 color: #4444cc;
223 }
224
225 TABLE.list TD {
226 border-bottom: solid thin #eeeeee;
227 padding-top: 5pt;
228 padding-left: 5pt;
229 }
230
231 TABLE.list TR:nth-child(even) {
232 background: #f8f8f8;
233 }
234
235 TABLE.list TR:nth-child(odd) {
236 background: #f4f4f4;
237 }
238
239 DT {
240 margin-left: 36pt;
241 margin-top: 12pt;
242 }
243
244 DD {
245 margin-left: 54pt;
246 }
247
248 DL.category DT {
249 font-weight: bold;
250 }
251
252 P.summary {
253 margin-left: 36pt;
254 font-family: monaco, courier, monospace;
255 }
256
257 DIV.summary TABLE {
258 border: solid thin #999999;
259 border-collapse: collapse;
260 border-spacing: 0;
261 margin: 10px;
262 }
263
264 DIV.summary TABLE TD, DIV.summary TABLE TH {
265 border: solid thin #999999;
266 padding: 5px;
267 text-align: left;
268 vertical-align: top;
269 }
270
271 DIV.summary TABLE THEAD TH {
272 background: #eeeeee;
273 }
274
275 /* API documentation styles... */
276 div.body h1 {
277 font-size: 250%;
278 font-weight: bold;
279 margin: 0;
280 }
281 div.body h2 {
282 font-size: 250%;
283 margin-top: 1.5em;
284 }
285 div.body h3 {
286 font-size: 150%;
287 margin-bottom: 0.5em;
288 margin-top: 1.5em;
289 }
290 div.body h4 {
291 font-size: 110%;
292 margin-bottom: 0.5em;
293 margin-top: 1.5em;
294 }
295 div.body h5 {
296 font-size: 100%;
297 margin-bottom: 0.5em;
298 margin-top: 1.5em;
299 }
300 div.contents {
301 background: #e8e8e8;
302 border: solid thin black;
303 padding: 10px;
304 }
305 div.contents h1 {
306 font-size: 110%;
307 }
308 div.contents h2 {
309 font-size: 100%;
310 }
311 div.contents ul.contents {
312 font-size: 80%;
313 }
314 .class {
315 border-bottom: solid 2px gray;
316 }
317 .constants {
318 }
319 .description {
320 margin-top: 0.5em;
321 }
322 .discussion {
323 }
324 .enumeration {
325 border-bottom: solid 2px gray;
326 }
327 .function {
328 border-bottom: solid 2px gray;
329 margin-bottom: 0;
330 }
331 .members {
332 }
333 .method {
334 }
335 .parameters {
336 }
337 .returnvalue {
338 }
339 .struct {
340 border-bottom: solid 2px gray;
341 }
342 .typedef {
343 border-bottom: solid 2px gray;
344 }
345 .union {
346 border-bottom: solid 2px gray;
347 }
348 .variable {
349 }
350 h1, h2, h3, h4, h5, h6 {
351 page-break-inside: avoid;
352 }
353 blockquote {
354 border: solid thin gray;
355 box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
356 padding: 10px 10px 0px;
357 page-break-inside: avoid;
358 }
359 p code, li code, p.code, pre, ul.code li {
360 background: rgba(127,127,127,0.1);
361 border: thin dotted gray;
362 font-family: monospace;
363 hyphens: manual;
364 -webkit-hyphens: manual;
365 page-break-inside: avoid;
366 }
367 p.code, pre, ul.code li {
368 padding: 10px;
369 }
370 p code, li code {
371 padding: 2px 5px;
372 }
373 a:link, a:visited {
374 text-decoration: none;
375 }
376 span.info {
377 background: black;
378 border: solid thin black;
379 color: white;
380 font-size: 80%;
381 font-style: italic;
382 font-weight: bold;
383 white-space: nowrap;
384 }
385 h2 span.info, h3 span.info, h4 span.info {
386 border-radius: 10px;
387 float: right;
388 font-size: 80%;
389 padding: 3px 6px;
390 }
391 h2.title span.info, h3.title span.info, h4.title span.info {
392 border-bottom-left-radius: 0px;
393 border-bottom-right-radius: 0px;
394 }
395 h2.title span.info {
396 padding: 4px 6px;
397 }
398 ul.code, ul.contents, ul.subcontents {
399 list-style-type: none;
400 margin: 0;
401 padding-left: 0;
402 }
403 ul.code li {
404 margin: 0;
405 }
406 ul.contents > li {
407 margin-top: 1em;
408 }
409 ul.contents li ul.code, ul.contents li ul.subcontents {
410 padding-left: 2em;
411 }
412 table.list {
413 border-collapse: collapse;
414 width: 100%;
415 }
416 table.list tr:nth-child(even) {
417 background: rgba(127,127,127,0.1);]n}
418 table.list th {
419 border-right: 2px solid gray;
420 font-family: monospace;
421 padding: 5px 10px 5px 2px;
422 text-align: right;
423 vertical-align: top;
424 }
425 table.list td {
426 padding: 5px 2px 5px 10px;
427 text-align: left;
428 vertical-align: top;
429 }
430 h1.title {
431 }
432 h2.title {
433 border-bottom: solid 2px black;
434 }
435 h3.title {
436 border-bottom: solid 2px black;
437 }