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