Skip to content

Commit ae3da8a

Browse files
committed
Update the documentation CSS stylesheet to current web site style
1 parent 27c405d commit ae3da8a

File tree

1 file changed

+48
-19
lines changed

1 file changed

+48
-19
lines changed

doc/src/sgml/stylesheet.css

Lines changed: 48 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,62 @@
1-
/* $PostgreSQL: pgsql/doc/src/sgml/stylesheet.css,v 1.7 2004/06/29 20:44:34 petere Exp $ */
1+
/* $PostgreSQL: pgsql/doc/src/sgml/stylesheet.css,v 1.8 2009/08/26 13:56:24 petere Exp $ */
22

33
/* color scheme similar to www.postgresql.org */
44

55
BODY {
66
color: #000000;
77
background: #FFFFFF;
8+
font-family: verdana, sans-serif;
89
}
910

10-
A:link { color: #000066; }
11-
A:visited { color: #000099; }
12-
A:active { color: #FF0000; }
11+
A:link { color:#0066A2; }
12+
A:visited { color:#004E66; }
13+
A:active { color:#0066A2; }
14+
A:hover { color:#000000; }
15+
16+
H1 {
17+
font-size: 1.4em;
18+
font-weight: bold;
19+
margin-top: 0em;
20+
margin-bottom: 0em;
21+
color: #EC5800;
22+
}
1323

14-
/* center titles */
24+
H2 {
25+
font-size: 1.2em;
26+
margin: 1.2em 0em 1.2em 0em;
27+
font-weight: bold;
28+
color: #666;
29+
}
1530

16-
BODY.BOOK H1.TITLE, BODY.SET H1.TITLE {
17-
text-align: center;
18-
font-size: 250%;
19-
font-family: sans-serif;
20-
color: #020167;
31+
H3 {
32+
font-size: 1.1em;
33+
margin: 1.2em 0em 1.2em 0em;
34+
font-weight: bold;
35+
color: #666;
2136
}
2237

23-
BODY.BOOK H3.CORPAUTHOR, BODY.SET H3.CORPAUTHOR {
24-
text-align: center;
25-
font-style: italic;
38+
H4 {
39+
font-size: 0.95em;
40+
margin: 1.2em 0em 1.2em 0em;
2641
font-weight: normal;
42+
color: #666;
2743
}
2844

29-
BODY.BOOK .COPYRIGHT, BODY.SET .COPYRIGHT {
45+
H5 {
46+
font-size: 0.9em;
47+
margin: 1.2em 0em 1.2em 0em;
48+
font-weight: normal;
49+
}
50+
51+
H6 {
52+
font-size: 0.85em;
53+
margin: 1.2em 0em 1.2em 0em;
54+
font-weight: normal;
55+
}
56+
57+
/* center some titles */
58+
59+
.TITLEPAGE {
3060
text-align: center;
3161
}
3262

@@ -43,23 +73,22 @@ DIV.EXAMPLE {
4373

4474
/* less dense spacing of TOC */
4575

46-
.SET .TOC DL DT, .BOOK .TOC DL DT {
76+
.BOOK .TOC DL DT {
4777
padding-top: 1.5ex;
4878
padding-bottom: 1.5ex;
4979
}
5080

51-
.SET .TOC DL DL DT, .BOOK .TOC DL DL DT {
81+
.BOOK .TOC DL DL DT {
5282
padding-top: 0ex;
5383
padding-bottom: 0ex;
5484
}
5585

86+
/* miscellaneous */
87+
5688
.SCREEN, .SYNOPSIS, .PROGRAMLISTING {
5789
margin-left: 4ex;
5890
}
5991

60-
/* miscellaneous */
61-
62-
.NAVHEADER TH { font-style: italic; }
6392
.COMMENT { color: red; }
6493

6594
VAR { font-family: monospace; font-style: italic; }

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy