xref: /plan9/sys/src/cmd/gs/doc/gs.css (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1/* This is the default Ghostscript stylesheet */
2/* $Id: gs.css,v 1.3 2004/01/15 17:45:47 giles Exp $ */
3
4body
5{
6  color: black;
7  background-color: white;
8}
9
10h1,h2,h3,h4,h5,h6
11{
12  font-family: sans-serif;
13}
14
15/* This needs a patched html file else you have it all over the place */
16/* we only want this for the "visual header" at the page top */
17h1
18{
19  text-align: center;
20  background-color: #CCCC00;
21}
22
23/* Number the h2/h3 -- doesn't work on v4/5 browsers */
24h2
25{
26   counter-increment: h2-count;
27   counter-reset:     h3-count;
28}
29
30h2:before
31{
32   content: counter(h2-count) " ";
33}
34
35h3
36{
37   counter-increment: h3-count;
38}
39
40h3:before
41{
42   content: counter(h2-count) "." counter(h3-count) " ";
43
44}
45
46tt
47{
48  color: rgb(40%,24%,24%);
49}
50
51a > tt, a > b > tt
52{
53  color: blue;
54}
55
56a
57{
58  color: blue;
59}
60
61a.offsite
62{
63  font-style: oblique;
64}
65
66a:visited
67{
68  color: rgb(60%,0%,30%);
69}
70
71a:hover, a:active, a:focus
72{
73  background: #FFFFAA;
74}
75
76# table formatting hints
77td
78{
79  vertical-align: top;
80}
81