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