source: trunk/doc/stylesheet.css @ 5

Revision 5, 2.4 KB checked in by mmatloka, 14 years ago (diff)

svn:keywords

  • Property svn:keywords set to Id Revision
Line 
1/*
2:Authors: Ian Bicking, Michael Foord
3:Contact: fuzzyman@voidspace.org.uk
4:Date: 2005/08/26
5:Version: 0.1.0
6:Copyright: This stylesheet has been placed in the public domain.
7
8Stylesheet for Docutils.
9Based on ``blue_box.css`` by Ian Bicking
10and ``html4css1.css`` revision 1.46.
11*/
12
13@import url(html4css1.css);
14
15body {
16  font-family: Arial, sans-serif;
17}
18
19em, i {
20  /* Typically serif fonts have much nicer italics */
21  font-family: Times New Roman, Times, serif;
22}
23
24a.target {
25  color: blue;
26}
27
28a.target {
29  color: blue;
30}
31
32a.toc-backref {
33  text-decoration: none;
34  color: black;
35}
36
37a.toc-backref:hover {
38  background-color: inherit;
39}
40
41a:hover {
42  background-color: #cccccc;
43}
44
45div.attention, div.caution, div.danger, div.error, div.hint,
46div.important, div.note, div.tip, div.warning {
47  background-color: #cccccc;
48  padding: 3px;
49  width: 80%;
50}
51
52div.admonition p.admonition-title, div.hint p.admonition-title,
53div.important p.admonition-title, div.note p.admonition-title,
54div.tip p.admonition-title  {
55  text-align: center;
56  background-color: #999999;
57  display: block;
58  margin: 0;
59}
60
61div.attention p.admonition-title, div.caution p.admonition-title,
62div.danger p.admonition-title, div.error p.admonition-title,
63div.warning p.admonition-title {
64  color: #cc0000;
65  font-family: sans-serif;
66  text-align: center;
67  background-color: #999999;
68  display: block;
69  margin: 0;
70}
71
72h1, h2, h3, h4, h5, h6 {
73  font-family: Helvetica, Arial, sans-serif;
74  border: thin solid black;
75  /* This makes the borders rounded on Mozilla, which pleases me */
76  -moz-border-radius: 8px;
77  padding: 4px;
78}
79
80h1 {
81  background-color: #444499;
82  color: #ffffff;
83  border: medium solid black;
84}
85
86h1 a.toc-backref, h2 a.toc-backref {
87  color: #ffffff;
88}
89
90h2 {
91  background-color: #666666;
92  color: #ffffff;
93  border: medium solid black;
94}
95
96h3, h4, h5, h6 {
97  background-color: #cccccc;
98  color: #000000;
99}
100
101h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
102h6 a.toc-backref {
103  color: #000000;
104}
105
106h1.title {
107  text-align: center;
108  background-color: #444499;
109  color: #eeeeee;
110  border: thick solid black;
111  -moz-border-radius: 20px;
112}
113
114table.footnote {
115  padding-left: 0.5ex;
116}
117
118table.citation {
119  padding-left: 0.5ex
120}
121
122pre.literal-block, pre.doctest-block {
123  border: thin black solid;
124  padding: 5px;
125}
126
127.image img { border-style : solid;
128            border-width : 2px;
129}
130
131h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
132  font-size: 100%;
133}
134
135code, tt {
136  color: #000066;
137}
Note: See TracBrowser for help on using the repository browser.