source: stylesheets/lfs-xsl/lfs.css@ bb2adff7

12.1 12.2 gimp3 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since bb2adff7 was bb2adff7, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Reinstate a navigational footer for the TOC

There is no navigation header on this page, and after scrolling
to the bottom, it is good to be able to click "Next" and not have
to scroll back to top to click on "Preface".

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