Skip to content

Commit a272941

Browse files
committed
[css2] Made to look more consistent. Brought in line with html2ps. Added
figure and caption styles. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40952
1 parent ac71bac commit a272941

1 file changed

Lines changed: 69 additions & 34 deletions

File tree

css2/style/default.css

Lines changed: 69 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,65 @@
11
/*
22
* Style sheet for the CSS2 specification
3-
* $Id: default.css,v 2.4 1998-02-17 03:16:15 bbos Exp $
3+
* $Id: default.css,v 2.5 1998-02-17 23:42:31 bbos Exp $
44
*/
55

6-
BODY {
6+
BODY {
77
color: black;
8-
font-family: sans-serif;
8+
text-align: justify;
9+
font-family: helvetica, sans-serif;
910
background: white;
1011
margin: 2em;
1112
/* For the REC: background: #def url(recbg.jpg); */
12-
}
13+
}
14+
H1, H2, H3, H4, H5, H6 {
15+
text-align: left;
16+
}
1317

14-
H1 {
18+
H1 {
1519
clear: left;
1620
margin-top: 2em;
1721
text-align: center;
18-
}
22+
}
1923

20-
PRE {
24+
PRE {
2125
font-family: monospace;
22-
}
26+
margin-left: 2em;
27+
}
2328

24-
IMG {
25-
border: 0;
26-
text-align: center;
27-
}
28-
29-
TH {
30-
text-align: left;
31-
}
32-
33-
DIV.propdef TH {
34-
text-align: right;
35-
}
36-
37-
DIV.descdef TH {
38-
text-align: right;
39-
}
40-
41-
A.propdef-title {
42-
background: yellow;
43-
}
44-
45-
A.descdef-title {
46-
color: yellow;
47-
background: green
48-
}
29+
ADDRESS {
30+
text-align: right;
31+
font-style: italic;
32+
}
4933

50-
TABLE { text-align:center}
34+
IMG {
35+
border: 0;
36+
}
37+
.note {
38+
font-weight: bold;
39+
margin-top: 1em;
40+
margin-bottom: 1em;
41+
margin-left: 1em;
42+
margin-right: 1em;
43+
}
44+
.toc {
45+
text-indent: 0;
46+
}
47+
P.toc-line {
48+
margin-top: 1em;
49+
margin-bottom: 1em;
50+
text-indent: 0;
51+
}
52+
53+
A.propdef-title {
54+
background: yellow;
55+
}
56+
57+
A.descdef-title {
58+
color: yellow;
59+
background: green
60+
}
61+
62+
TABLE { text-align:center}
5163

5264
div.example { color: maroon }
5365
pre.example { color: maroon }
@@ -82,6 +94,14 @@ p.note { color: green; margin-left: 1em }
8294
color: green;
8395
}
8496

97+
DIV.propdef TH {
98+
text-align: right;
99+
}
100+
101+
DIV.descdef TH {
102+
text-align: right;
103+
}
104+
85105
UL.toc, OL.toc {list-style: none}
86106
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
87107
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
@@ -97,3 +117,18 @@ UL.index {list-style: none}
97117

98118
S, DEL {text-decoration: line-through; color: red}
99119
U, INS {text-decoration: underline; background: #bfa}
120+
121+
DIV.figure {
122+
text-align: center;
123+
/*border: solid thin;
124+
width: 100%;*/
125+
margin: 2.5em 0
126+
}
127+
P.caption {
128+
text-align: center;
129+
font-style: italic;
130+
font-weight: bold;
131+
font-size: 90%;
132+
color: #088;
133+
margin: 1.5em 25% 0 25%;
134+
}

0 commit comments

Comments
 (0)