source: stylesheets/lfs-xsl/lfs.css@ 37e35d2

multilib-10.1
Last change on this file since 37e35d2 was 37e35d2, checked in by Thomas Trepl <thomas@…>, 4 years ago

Update to new lfs structure

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

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