Skip to content

Commit 3a715b8

Browse files
committed
[css2] Added a style sheet
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%4073
1 parent 1047d2f commit 3a715b8

1 file changed

Lines changed: 65 additions & 0 deletions

File tree

css2/html2psrc

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
@html2ps {
2+
header {
3+
alternate: 1;
4+
center: $T;
5+
}
6+
footer {
7+
alternate: 1;
8+
left: $N;
9+
right: $D;
10+
}
11+
paper {
12+
type: A4;
13+
}
14+
margin {
15+
left: 3.5cm;
16+
right: 3.5cm;
17+
}
18+
hyphenation {
19+
en {
20+
file: hyphen.tex
21+
}
22+
}
23+
xref: 1;
24+
}
25+
26+
BODY {
27+
text-align: justify;
28+
font-family: helvetica, sans-serif;
29+
}
30+
H1, H2, H3, H4, H5, H6 {
31+
text-align: left;
32+
}
33+
P {
34+
margin-top: 0;
35+
margin-bottom: 0;
36+
text-indent: 1em;
37+
}
38+
ADDRESS {
39+
text-align: right;
40+
font-style: italic;
41+
}
42+
.deprecated-example {
43+
color: #808080;
44+
}
45+
.illegal-example {
46+
color: #800000;
47+
}
48+
.note {
49+
font-weight: bold;
50+
margin-top: 1em;
51+
margin-bottom: 1em;
52+
margin-left: 1em;
53+
margin-right: 1em;
54+
}
55+
.toc {
56+
text-indent: 0;
57+
}
58+
P.toc-line {
59+
margin-top: 1em;
60+
margin-bottom: 1em;
61+
text-indent: 0;
62+
}
63+
.navbar {
64+
display: none;
65+
}

0 commit comments

Comments
 (0)