1/**
2 * Simple tags
3 */
4
5address {
6  display: block;
7  font-style: italic;
8}
9
10applet {
11  display: none;
12}
13
14area {
15  display: none;
16}
17
18b {
19  font-weight: bold;
20}
21
22big {
23  font-size: 1.2em;
24}
25
26blockquote {
27  display: block;
28  margin: 1em 40px;
29}
30
31body {
32  display: -body;
33  margin: 8px;
34  line-height: 1.1;
35  border: none;
36}
37
38br {
39  display: -break;
40}
41
42button {
43  display: -button;
44  text-align: center;
45  border: outset 2px;
46  background-color: #eeeeee;
47}
48
49center {
50  display: block;
51  text-align: center;
52  -html2ps-align: center;
53}
54
55cite {
56  font-style: italic;
57}
58
59code {
60  font-family: monospace;
61}
62
63col {
64  display: none;
65}
66
67colgroup {
68  display: none;
69}
70
71dd {
72  display: block;
73  padding-left: 40px;
74}
75
76dfn {
77  font-style: italic;
78}
79
80div {
81  display: block;
82}
83
84dir {
85  margin-left: 1em;
86}
87
88dl {
89  display: block;
90  margin: 1em 0;
91}
92
93dt {
94  display: block;
95}
96
97em {
98  font-style: italic;
99}
100
101embed {
102  display: block;
103}
104
105fieldset {
106  display: block;
107  border: solid black 1px;
108  margin-left: 2px;
109  margin-right: 2px;
110  padding: 0.25em 0.625em 0.75em;
111}
112
113form {
114  display: -form;
115}
116
117frame {
118  display: -frame;
119  position: absolute;
120  border: solid black 2px;
121  overflow: hidden;
122}
123
124frameset {
125  display: -frameset;
126}
127
128h1 {
129  display: block;
130  font-size: 2em;
131  font-weight: bold;
132  margin: .67em 0;
133}
134
135h2 {
136  display: block;
137  font-size: 1.5em;
138  font-weight: bold;
139  margin: .83em 0;
140}
141
142h3 {
143  display: block;
144  font-size: 1.17em;
145  font-weight: bold;
146  margin: 1em 0;
147}
148
149h4 {
150  display: block;
151  font-weight: bold;
152  margin: 1.33em 0;
153}
154
155h5 {
156  display: block;
157  font-size: 0.83em;
158  font-weight: bold;
159  margin: 1.67em 0;
160}
161
162h6 {
163  display: block;
164  font-size: 0.67em;
165  font-weight: bold;
166  margin: 2.33em 0;
167}
168
169head {
170  display: none;
171}
172
173hr {
174  display: block;
175  margin: 0.5em auto 0.5em auto;
176  height: 1px;
177  border: 0.1pt solid black;
178}
179
180/**
181 * We use this non-standard display value to avoid generating box for HTML tag;
182 * display: none and visibility: hidden are not the alternatives, as they cause the whole
183 * content of the page to be hidden
184 */
185html {
186  display: -html;
187}
188
189i {
190  font-style: italic;
191  display: inline;
192}
193
194iframe {
195  display: -iframe;
196  border: solid black 2px;
197  padding: 3px;
198  overflow: hidden;
199  width: 300px;
200  height: 150px;
201}
202
203img {
204  display: -image;
205}
206
207input {
208  display: -text;
209  padding: 1pt;
210  margin: 1px;
211  background-color: white;
212  border: black inset 2px;
213  line-height: 1;
214  overflow: hidden;
215}
216
217input[type=button] {
218  display: -button;
219  text-align: center;
220  border: outset 2px;
221  background-color: #eeeeee;
222}
223
224input[type=checkbox] {
225  display: -checkbox;
226}
227
228input[type=hidden] {
229  display: none;
230}
231
232input[type=image] {
233  display: -button-image;
234  border: none 0px;
235  background-color: transparent;
236}
237
238input[type=password] {
239  display: -password
240}
241
242input[type=radio] {
243  display: -radio;
244}
245
246input[type=reset] {
247  display: -button-reset;
248  text-align: center;
249  border: outset 2px;
250  background-color: #eeeeee;
251}
252
253input[type=submit] {
254  display: -button-submit;
255  text-align: center;
256  border: outset 2px;
257  background-color: #eeeeee;
258}
259
260input[type=text] {
261  display: -text;
262  width: 21ex;
263}
264
265ins {
266  text-decoration: underline;
267}
268
269isindex {
270  display: block;
271}
272
273kbd {
274  font-family: monospace;
275}
276
277legend {
278  display: -legend;
279  background-color: white;
280}
281
282li {
283  display: list-item;
284}
285
286marquee {
287  display: block;
288  overflow: hidden;
289}
290
291menu {
292  margin-left: 1em;
293}
294
295nobr {
296  display: inline;
297  white-space: nowrap;
298}
299
300noframes {
301  display: none;
302}
303
304object {
305  display: block;
306}
307
308ol {
309  display: block;
310  list-style-type: decimal;
311  padding-left: 40px;
312  margin-top: 1em;
313  margin-bottom: 1em;
314  -html2ps-list-counter: 0;
315}
316
317option {
318  display: none;
319}
320
321p {
322  display: block;
323  margin: 1em 0;
324}
325
326pagebreak {
327  display: block;
328  visibility: hidden;
329  page-break-after: always;
330}
331
332param {
333  display: none;
334}
335
336pre {
337  display: block;
338  font-family: monospace;
339  white-space: pre;
340}
341
342s {
343  text-decoration: line-through;
344}
345
346samp {
347  font-family: monospace;
348}
349
350script {
351  display: none;
352}
353
354select {
355  background-color: white;
356  border: inset black 2px;
357  display: -select;
358  overflow: hidden;
359  padding: 1pt;
360  margin: 1px;
361  line-height: 1;
362}
363
364small {
365  font-size: smaller;
366}
367
368span {
369  display: inline;
370}
371
372strong {
373  font-weight: bold;
374}
375
376strike {
377  text-decoration: line-through;
378}
379
380style {
381  display: none;
382}
383
384sup {
385  display: inline;
386  font-size: 50%;
387  vertical-align: super;
388}
389
390sub {
391  display: inline;
392  font-size: 50%;
393  vertical-align: sub;
394}
395
396table {
397  display: table;
398  line-height: 1.1;
399  page-break-inside: avoid;
400  -html2ps-cellpadding: 1px;
401  -html2ps-cellspacing: 1px;
402}
403
404textarea {
405  display: -textarea;
406  border: solid black 2px;
407  padding: 3px;
408  white-space: pre-wrap;
409  overflow: hidden;
410  width: 15.3em;
411  height: 3em;
412}
413
414tbody {
415  display: table-row-group;
416}
417
418td {
419  display: table-cell;
420  page-break-inside: avoid;
421}
422
423th {
424  display: table-cell;
425  font-weight: bold;
426  text-align: center;
427}
428
429thead {
430  display: table-header-group;
431}
432
433tfoot {
434  display: table-footer-group;
435}
436
437tr {
438  display: table-row;
439  vertical-align: middle;
440}
441
442tt {
443  font-family: monospace;
444}
445
446u {
447  text-decoration: underline;
448}
449
450ul {
451  display: block;
452  list-style-type: disc;
453  padding-left: 40px;
454  margin-top: 1em;
455  margin-bottom: 1em;
456}
457
458var {
459  font-style: italic;
460}
461
462/**
463 * Tag combinations
464 */
465
466a:link {
467  color: blue;
468  text-decoration: underline;
469}
470
471
472a img {
473  border: solid blue 1px;
474}
475
476/* nested lists have no top/bottom margins */
477ul ul,   ul ol,   ul dir,   ul menu,   ul dl,
478ol ul,   ol ol,   ol dir,   ol menu,   ol dl,
479dir ul,  dir ol,  dir dir,  dir menu,  dir dl,
480menu ul, menu ol, menu dir, menu menu, menu dl,
481dl ul,   dl ol,   dl dir,   dl menu,   dl dl {
482  margin-top: 0;
483  margin-bottom: 0;
484}
485
486/* 2 deep unordered lists use a circle */
487ol ul,   ul ul,   menu ul,   dir ul,
488ol menu, ul menu, menu menu, dir menu,
489ol dir,  ul dir,  menu dir,  dir dir {
490  list-style-type: circle;
491}
492
493/* 3 deep (or more) unordered lists use a square */
494ol ol ul,     ol ul ul,     ol menu ul,     ol dir ul,
495ol ol menu,   ol ul menu,   ol menu menu,   ol dir menu,
496ol ol dir,    ol ul dir,    ol menu dir,    ol dir dir,
497ul ol ul,     ul ul ul,     ul menu ul,     ul dir ul,
498ul ol menu,   ul ul menu,   ul menu menu,   ul dir menu,
499ul ol dir,    ul ul dir,    ul menu dir,    ul dir dir,
500menu ol ul,   menu ul ul,   menu menu ul,   menu dir ul,
501menu ol menu, menu ul menu, menu menu menu, menu dir menu,
502menu ol dir,  menu ul dir,  menu menu dir,  menu dir dir,
503dir ol ul,    dir ul ul,    dir menu ul,    dir dir ul,
504dir ol menu,  dir ul menu,  dir menu menu,  dir dir menu,
505dir ol dir,   dir ul dir,   dir menu dir,   dir dir dir {
506  list-style-type: square;
507}
508
509/**
510 * CSS 3 - specific defaults
511 */
512/*
513@page {
514  reset-counter: footnote;
515}
516*/
517
518@footnote {
519  border-top:  thin solid black;
520  padding-top: 0.6em;
521  margin-top:  0.6em;
522  content: pending(footnote);
523}
524
525*::note-call {
526  content: counter(footnote, super-decimal);
527}
528
529*::marker {
530  content: counter(footnote, super-decimal);
531}
532
533.html2ps-toc-wrapper {
534  position: relative;
535  height: 1.2em;
536  background: white;
537}
538
539.html2ps-toc-2-wrapper {
540  padding-left: 1em;
541}
542
543.html2ps-toc-3-wrapper {
544  padding-left: 2em;
545}
546
547.html2ps-toc-name {
548  float: left;
549  height: 1.2em;
550  width: 100%;
551  margin-right: -5em;
552}
553
554.html2ps-toc-page {
555  float: left;
556  height: 1.2em;
557  width: 4em;
558}