source: stylesheets/lfs-xsl/lfs.css

trunk
Last change on this file was 0fca71b, checked in by Bruce Dubbs <bdubbs@…>, 5 weeks ago

Make the ENTITY &root; bold.

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