~ubuntu-branches/ubuntu/maverick/newsbeuter/maverick

« back to all changes in this revision

Viewing changes to doc/xhtml/docbook-xsl.css

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2007-04-21 19:44:35 UTC
  • Revision ID: james.westby@ubuntu.com-20070421194435-21g6134ws2yvarlt
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
 
3
  Tested with XSL stylesheets 1.61.2, 1.67.2
 
4
*/
 
5
 
 
6
span.strong {
 
7
  font-weight: bold;
 
8
}
 
9
 
 
10
body blockquote {
 
11
  margin-top: .75em;
 
12
  line-height: 1.5;
 
13
  margin-bottom: .75em;
 
14
}
 
15
 
 
16
html body {
 
17
  margin: 1em 5% 1em 5%;
 
18
  line-height: 1.2;
 
19
}
 
20
 
 
21
body div {
 
22
  margin: 0;
 
23
}
 
24
 
 
25
h1, h2, h3, h4, h5, h6,
 
26
div.toc p b,
 
27
div.list-of-figures p b,
 
28
div.list-of-tables p b,
 
29
div.abstract p.title
 
30
{
 
31
  color: #527bbd;
 
32
  font-family: tahoma, verdana, sans-serif;
 
33
}
 
34
 
 
35
div.toc p:first-child,
 
36
div.list-of-figures p:first-child,
 
37
div.list-of-tables p:first-child,
 
38
div.example p.title
 
39
{
 
40
  margin-bottom: 0.2em;
 
41
}
 
42
 
 
43
body h1 {
 
44
  margin: .0em 0 0 -4%;
 
45
  line-height: 1.3;
 
46
  border-bottom: 2px solid silver;
 
47
}
 
48
 
 
49
body h2 {
 
50
  margin: 0.5em 0 0 -4%;
 
51
  line-height: 1.3;
 
52
  border-bottom: 2px solid silver;
 
53
}
 
54
 
 
55
body h3 {
 
56
  margin: .8em 0 0 -3%;
 
57
  line-height: 1.3;
 
58
}
 
59
 
 
60
body h4 {
 
61
  margin: .8em 0 0 -3%;
 
62
  line-height: 1.3;
 
63
}
 
64
 
 
65
body h5 {
 
66
  margin: .8em 0 0 -2%;
 
67
  line-height: 1.3;
 
68
}
 
69
 
 
70
body h6 {
 
71
  margin: .8em 0 0 -1%;
 
72
  line-height: 1.3;
 
73
}
 
74
 
 
75
body hr {
 
76
  border: none; /* Broken on IE6 */
 
77
}
 
78
div.footnotes hr {
 
79
  border: 1px solid silver;
 
80
}
 
81
 
 
82
div.navheader th, div.navheader td, div.navfooter td {
 
83
  font-family: sans-serif;
 
84
  font-size: 0.9em;
 
85
  font-weight: bold;
 
86
  color: #527bbd;
 
87
}
 
88
div.navheader img, div.navfooter img {
 
89
  border-style: none;
 
90
}
 
91
div.navheader a, div.navfooter a {
 
92
  font-weight: normal;
 
93
}
 
94
div.navfooter hr {
 
95
  border: 1px solid silver;
 
96
}
 
97
 
 
98
body td {
 
99
  line-height: 1.2
 
100
}
 
101
 
 
102
body th {
 
103
  line-height: 1.2;
 
104
}
 
105
 
 
106
ol {
 
107
  line-height: 1.2;
 
108
}
 
109
 
 
110
ul, body dir, body menu {
 
111
  line-height: 1.2;
 
112
}
 
113
 
 
114
html {
 
115
  margin: 0; 
 
116
  padding: 0;
 
117
}
 
118
 
 
119
body h1, body h2, body h3, body h4, body h5, body h6 {
 
120
  margin-left: 0
 
121
 
122
 
 
123
body pre {
 
124
  margin: 0.5em 10% 0.5em 1em;
 
125
  line-height: 1.0;
 
126
  color: navy;
 
127
}
 
128
 
 
129
tt.literal, code.literal {
 
130
  color: navy;
 
131
}
 
132
 
 
133
.programlisting, .screen {
 
134
  border: 1px solid silver;
 
135
  background: #f4f4f4;
 
136
  margin: 0.5em 10% 0.5em 0;
 
137
  padding: 0.5em 1em;
 
138
}
 
139
 
 
140
div.sidebar {
 
141
  background: #ffffee;
 
142
  margin: 1.0em 10% 0.5em 0;
 
143
  padding: 0.5em 1em;
 
144
  border: 1px solid silver;
 
145
}
 
146
div.sidebar * { padding: 0; }
 
147
div.sidebar div { margin: 0; }
 
148
div.sidebar p.title {
 
149
  font-family: sans-serif;
 
150
  margin-top: 0.5em;
 
151
  margin-bottom: 0.2em;
 
152
}
 
153
 
 
154
div.bibliomixed {
 
155
  margin: 0.5em 5% 0.5em 1em;
 
156
}
 
157
 
 
158
div.glossary dt {
 
159
  font-weight: bold;
 
160
}
 
161
div.glossary dd p {
 
162
  margin-top: 0.2em;
 
163
}
 
164
 
 
165
dl {
 
166
  margin: .8em 0;
 
167
  line-height: 1.2;
 
168
}
 
169
 
 
170
dt {
 
171
  margin-top: 0.5em;
 
172
}
 
173
 
 
174
dt span.term {
 
175
  font-style: italic;
 
176
}
 
177
 
 
178
div.variablelist dd p {
 
179
  margin-top: 0;
 
180
}
 
181
 
 
182
div.itemizedlist li, div.orderedlist li {
 
183
  margin-left: -0.8em;
 
184
  margin-top: 0.5em;
 
185
}
 
186
 
 
187
ul, ol {
 
188
    list-style-position: outside;
 
189
}
 
190
 
 
191
div.sidebar ul, div.sidebar ol {
 
192
    margin-left: 2.8em;
 
193
}
 
194
 
 
195
div.itemizedlist p.title,
 
196
div.orderedlist p.title,
 
197
div.variablelist p.title
 
198
{
 
199
  margin-bottom: -0.8em;
 
200
}
 
201
 
 
202
div.revhistory table {
 
203
  border-collapse: collapse;
 
204
  border: none;
 
205
}
 
206
div.revhistory th {
 
207
  border: none;
 
208
  color: #527bbd;
 
209
  font-family: tahoma, verdana, sans-serif;
 
210
}
 
211
div.revhistory td {
 
212
  border: 1px solid silver;
 
213
}
 
214
 
 
215
/* Keep TOC and index lines close together. */
 
216
div.toc dl, div.toc dt,
 
217
div.list-of-figures dl, div.list-of-figures dt,
 
218
div.list-of-tables dl, div.list-of-tables dt,
 
219
div.indexdiv dl, div.indexdiv dt
 
220
{
 
221
  line-height: normal;
 
222
  margin-top: 0;
 
223
  margin-bottom: 0;
 
224
}
 
225
 
 
226
/*
 
227
  Table styling does not work because of overriding attributes in
 
228
  generated HTML.
 
229
*/
 
230
div.table table,
 
231
div.informaltable table
 
232
{
 
233
    margin-left: 0;
 
234
    margin-right: 5%;
 
235
    margin-bottom: 0.8em;
 
236
}
 
237
div.informaltable table
 
238
{
 
239
    margin-top: 0.4em
 
240
}
 
241
div.table thead,
 
242
div.table tfoot,
 
243
div.table tbody,
 
244
div.informaltable thead,
 
245
div.informaltable tfoot,
 
246
div.informaltable tbody
 
247
{
 
248
    /* No effect in IE6. */
 
249
    border-top: 2px solid #527bbd;
 
250
    border-bottom: 2px solid #527bbd;
 
251
}
 
252
div.table thead, div.table tfoot,
 
253
div.informaltable thead, div.informaltable tfoot
 
254
{
 
255
    font-weight: bold;
 
256
}
 
257
 
 
258
div.mediaobject img {
 
259
    border: 1px solid silver;
 
260
    margin-bottom: 0.8em;
 
261
}
 
262
div.figure p.title,
 
263
div.table p.title
 
264
{
 
265
  margin-top: 1em;
 
266
  margin-bottom: 0.4em;
 
267
}
 
268
 
 
269
@media print {
 
270
  div.navheader, div.navfooter { display: none; }
 
271
}