source: stylesheets/lfs-xsl/lfs.css@ 6a156bab

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 6a156bab was 6a156bab, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Mostly text updates in Chapter 8.
There are a couple of minor command changes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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