source: stylesheets/blfs.css@ c0c133a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c0c133a was 226b1752, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Fixed headers line height.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4615 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.5 KB
Line 
1/* Global settings */
2body {
3 font-family: verdana, tahoma, helvetica, arial, sans-serif;
4 text-align: left;
5 background: #fff;
6 color: #333;
7 margin: 1em;
8 padding: 0;
9 font-size: 1em;
10 line-height: 1.2em
11}
12
13a:link { color: #22b; }
14a:visited { color: #7e4988; }
15a:hover, a:focus { color: #d30e08; }
16a:active { color: #6b77b1;}
17
18/* Headers */
19h1, h2, b, strong {
20 color: #000;
21 font-weight: bold;
22}
23
24h3, h4, h5, h6 {
25 color: #222;
26}
27
28.url {
29 color: #55f; /* Light Blue */
30 font-weight: bold;
31}
32
33h1 { font-size: 173%; text-align: center; line-height: 1.2em; }
34h1.title sup { font-size: small; }
35h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; line-height: 1.2em; }
36h2.subtitle { text-align: center; line-height: 1.2em; }
37h3 { font-size: 120%; line-height: 1.2em; }
38h4 { font-size: 120%; line-height: 1.2em;}
39div.package h4, h5, h6 { font-size: 100%; font-style: italic; }
40
41/* Navigation */
42div.headertitles h4 {
43 margin-bottom: 2px;
44 text-align: center;
45}
46
47div.headertitles h3 {
48 margin-top: 2px;
49 text-align: center;
50}
51
52div.navheader, div.navfooter {
53 background: #ecedef;
54 padding: 0.1em 1em;
55 border-bottom: 1px solid #dbddec;
56}
57
58div.navfooter {
59 border-bottom: 0;
60 border-top: 1px solid #dbddec;
61}
62
63div.navheader ul, div.navfooter ul {
64 padding: .2em .5em .5em 0;
65 margin-left: 0px;
66 margin-right: 2px;
67 position: relative;
68 background: #dbddec;
69}
70
71div.navheader ul li, div.navfooter ul li {
72 display: inline;
73 width: 40%;
74}
75
76div.navheader ul li.prev, div.navfooter ul li.prev {
77 position: absolute;
78 display: block;
79 left: 0;
80 text-align: left;
81 padding: 0.2em 1em;
82 margin-left: 6px;
83}
84
85div.navheader ul li.next, div.navfooter ul li.next {
86 position: absolute;
87 display: block;
88 text-align: right;
89 right: 5px;
90 padding: 0.2em 0.5em;
91 margin-right: 7px;
92}
93
94div.navheader ul li.prev p, div.navfooter ul li.prev p,
95div.navheader ul li.next p, div.navfooter ul li.next p {
96 padding: 0;
97 margin: 1px 0px;
98}
99
100div.navheader ul li.home, div.navheader ul li.up,
101div.navfooter ul li.home, div.navfooter ul li.up {
102 text-align: center;
103 padding: 0;
104 margin: 0px auto;
105 display: block;
106 color: #dbddec;
107}
108
109/* TOC & Index*/
110
111div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
112 list-style: none;
113}
114
115div.toc, div.dedication {
116 padding-left: 1em;
117}
118
119li.preface {
120 margin-left: 1em;
121}
122
123div.toc ul li h3, div.toc ul li h4 {
124 margin: .4em;
125}
126
127.item {
128 width: 18.5em;
129 float: left;
130}
131
132.indexref {
133 margin-left: 18.5em;
134}
135
136.secitem {
137 font-weight: normal;
138 width: 16em;
139 float: left;
140}
141
142/* Admonitions */
143div.note, div.tip {
144 background-color: #fffff6;
145 border: 2px solid #dbddec;
146 width: 90%;
147 margin: .5em auto;
148}
149
150div.important, div.warning, div.caution {
151 background-color: #fffff6;
152 border: medium solid #400;
153 width: 90%;
154 margin: 1.5em auto;
155 color: #600;
156 font-size: larger;
157}
158
159div.important h3, div.warning h3, div.caution h3 {
160 color: #900;
161}
162
163div.admonhead img {
164 padding: .3em;
165}
166
167div.admonhead h3 {
168 display: inline;
169 margin-left: 1.5em;
170}
171
172div.admonbody {
173 margin: .5em;
174}
175
176div.important em, div.warning em, div.caution em {
177 color: #000;
178 font-weight: bold;
179}
180
181div.important tt, div.warning tt, div.caution tt {
182 font-weight: bold;
183}
184
185table {
186 width: auto;
187 margin-left: 1em;
188}
189
190td {
191 vertical-align: top;
192}
193
194td span, td p {
195 margin: 0.3em;
196}
197
198div.table table {
199 border-collapse: collapse;
200 }
201
202div.table td, div.table th {
203 padding: 0.3em;
204 text-align: right;
205 vertical-align: baseline;
206}
207
208div.table tr > td:first-child, div.table tr > th:first-child {
209 text-align: left;
210}
211
212
213
214
215span.term {
216 display: block;
217}
218
219/* variablelist & segmentedlist */
220dl {
221 margin: 0;
222 padding: 0;
223 list-style-type: none;
224}
225
226dt {
227 display: list-item;
228 font-weight: bold;
229 margin: .33em 0 0 1em;
230 padding: 0;
231}
232
233span.seg {
234 display: block;
235 padding-left: 12em;
236}
237
238div.content dt {
239 list-style: none;
240}
241
242dd {
243 margin: 0 0 1em 3em;
244 padding: 0;
245}
246
247div.variablelist dd {
248 margin-bottom: 1em;
249}
250
251div.variablelist dd p {
252 margin-top: 0px;
253}
254
255dl.materials dd {
256 margin-left: 0px;
257}
258
259div.segmentedlist {
260 margin-top: 1em;
261}
262
263div.segmentedlist p {
264 margin: 0px auto;
265}
266
267span.segtitle {
268 display: block;
269 float: left;
270 width: 12em;
271}
272
273div.seg {
274 clear: left;
275}
276
277/* itemizedlist */
278
279div.itemizedlist {
280 margin-left: 1em;
281}
282
283ul[compact="compact"] li p {
284 padding: 0.3em;
285 margin: 0em;
286 background-color: #f0fff0;
287}
288
289/* Indented blocks */
290p, ul, dl, code, blockquote {
291 padding-left: 1em;
292}
293
294/* Monospaced elements */
295tt, code, kbd, pre, .command {
296 font-family: monospace;
297}
298
299pre.userinput {
300 color: #101310;
301 background-color: #e5e5e5;
302 border: 1px solid #050505;
303 padding: .5em 1em;
304 margin: 0 2em;
305 font-weight: bold;
306}
307
308pre.root {
309 color: #101310;
310 background-color: #e5e5e5;
311 border: 1px solid #050505;
312 padding: .5em 1em;
313 margin: 0 2em;
314 font-weight: bold;
315}
316
317.literal, .prompt {
318 font-weight: normal;
319}
320
321pre.screen {
322 color: #000;
323 background-color: #e9e9e9;
324 border: 1px solid #050505;
325 padding: .5em 1em;
326 margin: 0 2em;
327}
328
329/* Sections */
330div h1, div.glossary h2 {
331 padding: 1em 0 0.5em 0;
332 margin: 0px auto;
333}
334
335div.glossary h2 {
336 text-align: center;
337 font-size: 173%;
338 padding-top: 0.4em;
339 border-bottom: .1em solid #dbddec;
340}
341
342div.package {
343 padding: 0 0.5em 0.3em 0.5em;
344 margin: 0.5em 0 0.5em 0;
345}
346
347div.kernel {
348 padding: 0 0.5em 0.3em 0.5em;
349 margin: 0.5em 0 0.5em 0;
350}
351
352div.installation {
353 padding: 0 0.5em 0.3em 0.5em;
354 margin: 0.5em 0 0.5em 0;
355}
356
357div.commands {
358 padding: 0 0.5em 0.3em 0.5em;
359 margin: 0.5em 0 0.5em 0;
360}
361
362div.testing {
363 padding: 0 0.5em 0.3em 0.5em;
364 margin: 0.5em 0 0.5em 0;
365}
366
367div.configuration {
368 padding: 0 0.5em 0.3em 0.5em;
369 margin: 0.5em 0 0.5em 0;
370}
371
372div.content {
373 padding: 0 0.5em 0.3em 0.5em;
374 margin: 0.5em 0 0.5em 0;
375}
376
377div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index {
378 padding-bottom: 0.5em;
379}
380
381div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1, div.index h1 {
382 background: #f5f6f7;
383 border-bottom: .1em solid #dbddec;
384 margin: 0px auto;
385 padding: .5em;
386}
387
388div.book h1 {
389 background: #f5f6f7;
390 margin: 0px auto;
391 padding: 0.5em;
392}
393
394div.book h2.subtitle {
395 background: #dbddec;
396 margin: 0px auto;
397 padding: 0.2em;
398}
399div.authorgroup, div p.copyright, div.abstract, div p.pubdate, div.revhistory {
400 background: #f5f6f7;
401 margin: 0px auto;
402 padding: 1em 0.5em;
403}
404
405hr {
406 background: #dbddec;
407 height: .3em;
408 border: 0px;
409 margin: 0px auto;
410 padding: 0;
411}
412
413/* Last edited info */
414p.updated {
415 font-size: small;
416 font-weight: bold;
417 font-style: italic;
418}
419
420/* Inline tags */
421
422tt.systemitem {
423 font-style: italic;
424}
Note: See TracBrowser for help on using the repository browser.