source: BOOK/stylesheets/lfs-xsl/lfs.css@ c30178f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c30178f was f8c4e94, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added LFS XSL Stylesheets.

  • Property mode set to 100644
File size: 7.9 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: 20em;
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
324
325/* table */
326.table p.title {
327 text-align: center;
328 margin-top: 0;
329 margin-bottom: .3em;
330}
331
332.table table {
333 margin-left: auto;
334 margin-right: auto;
335}
336
337.table table th, .table table td {
338 padding: 0.2em 2em 0.2em 2em;
339 text-align: left;
340}
341
342.revhistory {
343 padding-left: 1em;
344}
345
346.revhistory th {
347 line-height: 2em;
348 text-align: left;
349}
350
351.revhistory td {
352 padding-right: 1em;
353}
354
355
356/* variablelist as table */
357.variablelist table {
358 width: auto;
359 margin: 0 1em 0 1em;
360}
361
362.variablelist td {
363 vertical-align: top;
364}
365
366.variablelist td span, td p {
367 margin: 0.25em;
368}
369
370
371/* variablelist as list */
372dl {
373 padding-left: 1em
374}
375
376dt {
377 font-weight: bold;
378 margin-left: 1em;
379}
380
381dd {
382 margin-bottom: .6em;
383 margin-left: 1em;
384}
385
386dd p {
387 margin-top: 0;
388 margin-bottom: 0;
389 padding-top: 0;
390 padding-bottom: 0;
391}
392
393div.materials dt {
394 display: list-item;
395}
396
397div.materials dd {
398 margin-left: 0;
399 padding-left: 0;
400}
401
402
403/* segmentedlist */
404.appendix .segmentedlist {
405 padding-left: 1em;
406}
407
408.package .seg {
409 margin-bottom: 0em;
410 margin-top: 0em;
411 clear: left;
412}
413
414.content .seg {
415 margin-bottom: .4em;
416 margin-top: .4em;
417 clear: left;
418}
419
420.segtitle {
421 float: left;
422}
423
424.package .segbody, .appendix .segbody {
425 display: block;
426 padding-left: 14em;
427}
428
429.content .segbody {
430 display: block;
431 padding-left: 12em;
432}
433
434
435/* itemizedlist */
436ul {
437 padding-left: 1em
438}
439
440.itemizedlist ul {
441 margin-left: 1em
442}
443
444.itemizedlist li ul {
445 margin-bottom: 1.2em;
446}
447
448.itemizedlist li ul li p {
449 margin-top: .5em;
450 margin-bottom: .5em;
451}
452
453.itemizedlist li ul li:first-child p:first-child {
454 margin-top: -.6em;
455}
456
457ul.compact {
458 list-style: none;
459}
460
461.blfs ul.compact {
462 list-style: disc;
463}
464
465ul.compact li {
466 margin: 0em;
467 padding: 0em;
468}
469
470ul.compact li p {
471 padding: 0.3em;
472 margin: 0em;
473}
474
475.blfs ul.compact li p {
476 background-color: #f0fff0;
477}
478
479/* orderedlist */
480ol {
481 list-style: decimal;
482}
483
484ol ol {
485 list-style: lower-alpha;
486}
487
488ol ol ol {
489 list-style: lower-roman;
490}
491
492ol.compact li {
493 margin: 0em;
494 padding: 0em;
495}
496
497ol.compact li p {
498 padding: 0.3em;
499 margin: 0em;
500}
501
502
503/* Indented blocks */
504p, blockquote {
505 padding-left: 1em;
506 padding-right: 1em;
507}
508
509
510/* Monospaced elements */
511tt, code, kbd, pre, .command {
512 font-family: monospace;
513}
514
515.systemitem {
516 font-style: italic;
517}
518
519pre {
520 background-color: #e5e5e5;
521 border: 1px solid #050505;
522 padding: .5em 1em;
523 margin: 0 2em .5em 2em;
524 font-weight: bold;
525}
526
527pre.userinput {
528 color: #101310;
529}
530
531pre.root {
532 color: #101310;
533 border: 1px solid #11a;
534}
535
536pre.screen {
537 color: #000;
538 background-color: #e9e9e9;
539 font-weight: normal;
540}
541
542.literal, .prompt {
543 font-weight: normal;
544}
545
546
547/* Mixed tags */
548p.usernotes {
549 margin-left: -1em;
550 font-size: small;
551 font-weight: bold;
552 font-style: italic;
553}
554
555.underlined {
556 text-decoration: underline;
557}
558
559
560/* Last edited info */
561p.updated {
562 font-size: small;
563 font-weight: bold;
564 font-style: italic;
565}
566
567
568/* Special colored blocks */
569 /* OrangeRed4 */
570.feature-ssp {
571 color: #8B2500;
572}
573
574 /* RoyalBlue3 */
575.feature-aslr {
576 color: #3A5FCD;
577}
578
579 /* NavyBlue */
580.feature-pax {
581 color: #000080;
582}
583
584 /* VioletRed */
585.feature-hardened_tmp {
586 color: #d02090;
587}
588
589 /* PaleTurquoise4 */
590.feature-warnings {
591 color: #668b8b;
592}
593
594 /* RosyBrown */
595.feature-misc {
596 color: #bc8f8f;
597}
598
599 /* Sienna*/
600.feature-blowfish {
601 color: #8E6B23
602}
Note: See TracBrowser for help on using the repository browser.