~lidaobing/+junk/zhcon

« back to all changes in this revision

Viewing changes to doc/default.css

  • Committer: LI Daobing
  • Date: 2008-11-04 04:39:18 UTC
  • Revision ID: lidaobing@gmail.com-20081104043918-nfwwvgfb0uied0mt
importĀ 1:0.2.6-5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
Stylesheet for Docutils.
 
9
Based on ``blue_box.css`` by Ian Bicking
 
10
and ``html4css1.css`` revision 1.46.
 
11
*/
 
12
 
 
13
@import url(html4css1.css);
 
14
 
 
15
body {
 
16
  font-family: Arial, sans-serif;
 
17
}
 
18
 
 
19
em, i {
 
20
  /* Typically serif fonts have much nicer italics */
 
21
  font-family: Times New Roman, Times, serif;
 
22
}
 
23
 
 
24
a.target {
 
25
  color: blue;
 
26
}
 
27
 
 
28
a.target {
 
29
  color: blue;
 
30
}
 
31
 
 
32
a.toc-backref {
 
33
  text-decoration: none;
 
34
  color: black;
 
35
}
 
36
 
 
37
a.toc-backref:hover {
 
38
  background-color: inherit;
 
39
}
 
40
 
 
41
a:hover {
 
42
  background-color: #cccccc;
 
43
}
 
44
 
 
45
div.attention, div.caution, div.danger, div.error, div.hint,
 
46
div.important, div.note, div.tip, div.warning {
 
47
  background-color: #cccccc;
 
48
  padding: 3px;
 
49
  width: 80%;
 
50
}
 
51
 
 
52
div.admonition p.admonition-title, div.hint p.admonition-title,
 
53
div.important p.admonition-title, div.note p.admonition-title,
 
54
div.tip p.admonition-title  {
 
55
  text-align: center;
 
56
  background-color: #999999;
 
57
  display: block;
 
58
  margin: 0;
 
59
}
 
60
 
 
61
div.attention p.admonition-title, div.caution p.admonition-title,
 
62
div.danger p.admonition-title, div.error p.admonition-title,
 
63
div.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
 
 
72
h1, 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
 
 
80
h1 {
 
81
  background-color: #444499;
 
82
  color: #ffffff;
 
83
  border: medium solid black;
 
84
}
 
85
 
 
86
h1 a.toc-backref, h2 a.toc-backref { 
 
87
  color: #ffffff;
 
88
}
 
89
 
 
90
h2 {
 
91
  background-color: #666666;
 
92
  color: #ffffff;
 
93
  border: medium solid black;
 
94
}
 
95
 
 
96
h3, h4, h5, h6 {
 
97
  background-color: #cccccc;
 
98
  color: #000000;
 
99
}
 
100
 
 
101
h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref, 
 
102
h6 a.toc-backref { 
 
103
  color: #000000;
 
104
}
 
105
 
 
106
h1.title {
 
107
  text-align: center;
 
108
  background-color: #444499;
 
109
  color: #eeeeee;
 
110
  border: thick solid black;
 
111
  -moz-border-radius: 20px;
 
112
}
 
113
 
 
114
table.footnote {
 
115
  padding-left: 0.5ex;
 
116
}
 
117
 
 
118
table.citation {
 
119
  padding-left: 0.5ex
 
120
}
 
121
 
 
122
pre.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
 
 
131
h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
 
132
  font-size: 100%;
 
133
}
 
134
 
 
135
code, tt {
 
136
  color: #000066;
 
137
}