source: stylesheets/lfs-xsl/lfs.css@ 3a1e4220

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 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 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 3a1e4220 was c873d807, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added new-xsl files.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8196 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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