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