source: stylesheets/lfs-xsl/lfs.css@ 047f8b1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 047f8b1 was 047f8b1, checked in by Pierre Labastie <pieere@…>, 6 years ago

Increase the spacing between index entry and link in longindex, so that
all links are aligned

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

  • Property mode set to 100644
File size: 8.0 KB
Line 
1/*
2$LastChangedBy$
3$Date$
4*/
5/* Global settings */
6body {
7 font-family: verdana, tahoma, helvetica, arial, sans-serif;
8 text-align: left;
9 background: #fff;
10 color: #222;
11 margin: 1em;
12 padding: 0;
13 font-size: 1em;
14 line-height: 1.2em
15}
16
17
18/* Links */
19a:link { color: #22b; }
20a.ulink:link { font-weight: bold; color: #55f; }
21a:visited { color: #7e4988 ! important; }
22a:hover, a:focus { color: #d30e08 ! important; }
23a:active { color: #6b77b1 ! important;}
24
25
26/* Book titlepage */
27.book .titlepage {
28 background: #f5f6f7;
29 margin: 0px auto;
30 padding: 0 1em;
31}
32
33.book hr {
34 background: #dbddec;
35 height: .3em;
36 border: 0px;
37 margin: 0 -1em;
38 padding: 0;
39}
40
41div.dedication {
42 padding-left: 1em;
43}
44
45
46/* Sections */
47div.sect1, div.appendix {
48 padding-left: .3em;
49}
50
51.package, .kernel, .installation, .commands, .testing, .configuration, .content {
52 padding: 0 .5em .2em 0;
53 margin: 0;
54}
55
56.lfs .package {
57 background: #f5f6f7;
58 border-bottom: 0.2em solid #dbddec;
59 padding-top: .1em;
60 margin-top: 0;
61}
62
63.lfs .configuration {
64 background: #fefefe;
65 border-top: 0.2em solid #dbddec;
66}
67
68.lfs .content {
69 background: #f5f6f7;
70 border-top: 0.2em solid #dbddec;
71 padding-bottom: .1em;
72 margin-bottom: 0;
73}
74
75
76/* Headers */
77h1, h2, h3, h4, h5, h6, b, .strong {
78 color: #000;
79 font-weight: bold;
80 line-height: 1em;
81}
82
83h1 {
84 font-size: 173%;
85 text-align: center;
86}
87
88.book h1 {
89 margin: 0;
90 padding: 0.4em;
91}
92
93.preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1 {
94 background: #f5f6f7;
95 border-bottom: .1em solid #dbddec;
96 margin-bottom: 1em;
97 margin-top: 0;
98 padding: .4em;
99}
100
101.sect1 h1, .appendix h1 {
102 margin-left: -.2em;
103}
104
105.wrap h1 {
106 background: #f5f6f7;
107 margin: 0;
108 padding: .4em;
109}
110
111h1.title sup {
112 font-size: small;
113}
114
115h2 {
116 font-size: 144%;
117}
118
119.book h2.subtitle {
120 text-align: center;
121 background: #dbddec;
122 margin: 0;
123 padding: 0.2em;
124}
125
126.appendix h2 {
127 font-size: 133%;
128 margin-top: .8em;
129 margin-bottom: 0.2em;
130}
131
132h3 {
133 font-size: 120%;
134}
135
136h4 {
137 font-size: 110%;
138}
139
140.package h4, h5, h6 {
141 font-size: 100%;
142 font-style: italic;
143}
144
145
146/* Navigation */
147div.navheader, div.navfooter {
148 background: #ecedef;
149 margin: 0;
150 padding: 0.1em .5em;
151}
152
153div.navheader {
154 border-bottom: 1px solid #dbddec;
155}
156
157div.navfooter {
158 border-top: 1px solid #dbddec;
159}
160
161div.navheader h4 {
162 margin-top: .4em;
163 margin-bottom: 0;
164 text-align: center;
165}
166
167div.navheader h3 {
168 margin-top: .2em;
169 margin-bottom: 0;
170 text-align: center;
171}
172
173div.navheader ul, div.navfooter ul {
174 padding: .2em .5em .5em 0;
175 margin: .5em 0;
176 position: relative;
177 background: #dbddec;
178}
179
180div.navheader ul li, div.navfooter ul li {
181 display: inline;
182 width: 40%;
183}
184
185div.navheader ul li.prev, div.navfooter ul li.prev {
186 position: absolute;
187 display: block;
188 left: 0;
189 text-align: left;
190 padding: 0.2em 1em;
191 margin-left: 6px;
192}
193
194div.navheader ul li.next, div.navfooter ul li.next {
195 position: absolute;
196 display: block;
197 text-align: right;
198 right: 5px;
199 padding: 0.2em 0.5em;
200 margin-right: 7px;
201}
202
203div.navheader ul li.prev p, div.navfooter ul li.prev p,
204div.navheader ul li.next p, div.navfooter ul li.next p {
205 padding: 0;
206 margin: 1px 0px;
207}
208
209div.navheader ul li.home, div.navheader ul li.up,
210div.navfooter ul li.home, div.navfooter ul li.up {
211 text-align: center;
212 padding: 0;
213 margin: 0px auto;
214 display: block;
215 color: #dbddec;
216}
217
218
219/* TOC */
220div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
221 list-style: none;
222}
223
224div.toc {
225 padding-left: 1em;
226}
227
228li.preface, .part li.appendix {
229 margin-left: 1em;
230}
231
232div.toc h3 {
233 margin: 1em 0 .3em 0;
234}
235
236li.appendix h3, li.glossary h3, li.index h3 {
237 margin: .5em
238}
239
240div.toc h4 {
241 margin: .6em 0 .2em 0;
242}
243
244li.chapter h4 a {
245 display: block;
246 margin-bottom: .4em
247}
248
249.dummy {
250 display: block;
251 font-weight: bold;
252 font-size: 110%;
253 margin: .6em 0 .2em 0;
254}
255
256
257/* Index */
258.item {
259 float: left;
260 margin-right: 1em
261}
262
263.secitem {
264 font-weight: normal;
265 float: left;
266 margin-right: 1em
267}
268
269.indexref {
270 display: block;
271}
272
273.item + .indexref {
274 margin-left: 22em;
275}
276
277.secitem + .indexref {
278 margin-left: 19em;
279}
280
281
282/* Admonitions */
283div.admon img {
284 padding: .3em;
285}
286
287div.admon h3 {
288 display: inline;
289 margin-left: 2em;
290}
291
292div.admon p {
293 margin-left: .5em;
294}
295
296div.admon pre {
297 margin: 0.5em 3em;
298}
299
300div.note, div.tip {
301 background-color: #fffff6;
302 border: 2px solid #dbddec;
303 width: 90%;
304 margin: .5em auto;
305}
306
307div.important, div.warning, div.caution {
308 background-color: #fffff6;
309 border: medium solid #400;
310 width: 90%;
311 margin: .5em auto;
312 color: #600;
313}
314
315div.important h3, div.warning h3, div.caution h3 {
316 color: #900;
317}
318
319div.important em, div.warning em, div.caution em {
320 color: #000;
321 font-weight: bold;
322}
323
324table.simplelist {
325 margin-left: 5em;
326}
327
328/* table */
329.table p.title {
330 text-align: center;
331 margin-top: 0;
332 margin-bottom: .3em;
333}
334
335.table table {
336 margin-left: auto;
337 margin-right: auto;
338}
339
340.table table th, .table table td {
341 padding: 0.2em 2em 0.2em 2em;
342 text-align: left;
343}
344
345.revhistory {
346 padding-left: 1em;
347}
348
349.revhistory th {
350 line-height: 2em;
351 text-align: left;
352}
353
354.revhistory td {
355 padding-right: 1em;
356}
357
358
359/* variablelist as table */
360.variablelist table {
361 width: auto;
362 margin: 0 1em 0 1em;
363}
364
365.variablelist td {
366 vertical-align: top;
367}
368
369.variablelist td span, td p {
370 margin: 0.25em;
371}
372
373
374/* variablelist as list */
375dl {
376 padding-left: 1em
377}
378
379dt {
380 font-weight: bold;
381 margin-left: 1em;
382}
383
384dd {
385 margin-bottom: .6em;
386 margin-left: 1em;
387}
388
389dd p {
390 margin-top: 0;
391 margin-bottom: 0;
392 padding-top: 0;
393 padding-bottom: 0;
394}
395
396div.materials dt {
397 display: list-item;
398}
399
400div.materials dd {
401 margin-left: 0;
402 padding-left: 0;
403}
404
405
406/* segmentedlist */
407.appendix .segmentedlist {
408 padding-left: 1em;
409}
410
411.package .seg {
412 margin-bottom: 0em;
413 margin-top: 0em;
414 clear: left;
415}
416
417.content .seg {
418 margin-bottom: .4em;
419 margin-top: .4em;
420 clear: left;
421}
422
423.segtitle {
424 float: left;
425}
426
427.package .segbody, .appendix .segbody {
428 display: block;
429 padding-left: 14em;
430}
431
432.content .segbody {
433 display: block;
434 padding-left: 12em;
435}
436
437
438/* itemizedlist */
439ul {
440 padding-left: 1em
441}
442
443.itemizedlist ul {
444 margin-left: 1em
445}
446
447.itemizedlist li ul {
448 margin-bottom: 1.2em;
449}
450
451.itemizedlist li ul li p {
452 margin-top: .5em;
453 margin-bottom: .5em;
454}
455
456.itemizedlist li ul li:first-child p:first-child {
457 margin-top: -.6em;
458}
459
460ul.compact {
461 list-style: none;
462}
463
464.blfs ul.compact {
465 list-style: disc;
466}
467
468ul.compact li {
469 margin: 0em;
470 padding: 0em;
471}
472
473ul.compact li p {
474 padding: 0.3em;
475 margin: 0em;
476}
477
478.blfs ul.compact li p {
479 background-color: #f0fff0;
480}
481
482/* orderedlist */
483ol {
484 list-style: decimal;
485}
486
487ol ol {
488 list-style: lower-alpha;
489}
490
491ol ol ol {
492 list-style: lower-roman;
493}
494
495ol.compact li {
496 margin: 0em;
497 padding: 0em;
498}
499
500ol.compact li p {
501 padding: 0.3em;
502 margin: 0em;
503}
504
505
506/* Indented blocks */
507p, blockquote {
508 padding-left: 1em;
509 padding-right: 1em;
510}
511
512
513/* Monospaced elements */
514tt, code, kbd, pre, .command {
515 font-family: monospace;
516}
517
518.systemitem {
519 font-style: italic;
520}
521
522pre {
523 background-color: #e5e5e5;
524 border: 1px solid #050505;
525 padding: .5em 1em;
526 margin: 0 2em .5em 2em;
527 font-weight: bold;
528}
529
530pre.userinput {
531 color: #101310;
532}
533
534pre.root {
535 color: #101310;
536 border: 1px solid #11a;
537}
538
539pre.screen {
540 color: #000;
541 background-color: #e9e9e9;
542 font-weight: normal;
543}
544
545.literal, .prompt {
546 font-weight: normal;
547}
548
549
550/* Mixed tags */
551p.usernotes {
552 margin-left: -1em;
553 font-size: small;
554 font-weight: bold;
555 font-style: italic;
556}
557
558.underlined {
559 text-decoration: underline;
560}
561
562
563/* Last edited info */
564p.updated {
565 font-size: small;
566 font-weight: bold;
567 font-style: italic;
568}
569
570
571/* Special colored blocks */
572 /* OrangeRed4 */
573.feature-ssp {
574 color: #8B2500;
575}
576
577 /* RoyalBlue3 */
578.feature-aslr {
579 color: #3A5FCD;
580}
581
582 /* NavyBlue */
583.feature-pax {
584 color: #000080;
585}
586
587 /* VioletRed */
588.feature-hardened_tmp {
589 color: #d02090;
590}
591
592 /* PaleTurquoise4 */
593.feature-warnings {
594 color: #668b8b;
595}
596
597 /* RosyBrown */
598.feature-misc {
599 color: #bc8f8f;
600}
601
602 /* Sienna*/
603.feature-blowfish {
604 color: #8E6B23
605}
Note: See TracBrowser for help on using the repository browser.