source: BOOK/stylesheets/lfs-xsl/lfs.css@ 8eacec6

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8eacec6 was 0aee8d3, checked in by Jonathan Norman <jonathan@…>, 13 years ago

Added Jon to the book. updated the livecd advice. Fixed libc dection on 64bit hosts and justified the main text

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