source: stylesheets/lfs-xsl/lfs.css@ 52dcb7d

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 52dcb7d was 52dcb7d, checked in by Xℹ Ruoyao <xry111@…>, 3 years ago

remove $Date$ and $LastChangedBy$

They are unsupported by Git.

  • Property mode set to 100644
File size: 8.4 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
42/* Sections */
43div.sect1, div.appendix {
44 padding-left: .3em;
45}
46
47div.important ul {
48 padding-left: 1.5em;
49 list-style-type: disc;
50}
51
52div.important ul li p {
53 margin: 0px;
54 padding: 0px 0.6em;
55}
56
57.package, .kernel, .installation, .commands, .testing, .configuration, .content {
58 padding: 0 .5em .2em 0;
59 margin: 0;
60}
61
62.lfs .package {
63 background: #f5f6f7;
64 border-bottom: 0.2em solid #dbddec;
65 padding-top: .1em;
66 margin-top: 0;
67}
68
69.lfs .configuration {
70 background: #fefefe;
71 border-top: 0.2em solid #dbddec;
72}
73
74.lfs .content {
75 background: #f5f6f7;
76 border-top: 0.2em solid #dbddec;
77 padding-bottom: .1em;
78 margin-bottom: 0;
79}
80
81
82/* Headers */
83h1, h2, h3, h4, h5, h6, b, .strong {
84 color: #000;
85 font-weight: bold;
86 line-height: 1em;
87}
88
89h1 {
90 font-size: 173%;
91 text-align: center;
92}
93
94.book h1 {
95 margin: 0;
96 padding: 0.4em;
97}
98
99.preface h1, .part h1, .chapter h1, .appendix h1, .index h1, .sect1 h1, .glossary h1 {
100 background: #f5f6f7;
101 border-bottom: .1em solid #dbddec;
102 margin-bottom: 1em;
103 margin-top: 0;
104 padding: .4em;
105}
106
107.sect1 h1, .appendix h1 {
108 margin-left: -.2em;
109}
110
111.wrap h1 {
112 background: #f5f6f7;
113 margin: 0;
114 padding: .4em;
115}
116
117h1.title sup {
118 font-size: small;
119}
120
121h2 {
122 font-size: 144%;
123}
124
125.book h2.subtitle {
126 text-align: center;
127 background: #dbddec;
128 margin: 0;
129 padding: 0.2em;
130}
131
132.appendix h2 {
133 font-size: 133%;
134 margin-top: .8em;
135 margin-bottom: 0.2em;
136}
137
138h3 {
139 font-size: 120%;
140}
141
142h4 {
143 font-size: 110%;
144}
145
146.package h4, h5, h6 {
147 font-size: 100%;
148 font-style: italic;
149}
150
151
152/* Navigation */
153div.navheader, div.navfooter {
154 background: #ecedef;
155 margin: 0;
156 padding: 0.1em .5em;
157}
158
159div.navheader {
160 border-bottom: 1px solid #dbddec;
161 position: sticky;
162 top: 0;
163}
164
165div.navfooter {
166 border-top: 1px solid #dbddec;
167}
168
169div.navheader h4 {
170 margin-top: .4em;
171 margin-bottom: 0;
172 text-align: center;
173}
174
175div.navheader h3 {
176 margin-top: .2em;
177 margin-bottom: 0;
178 text-align: center;
179}
180
181div.navheader ul, div.navfooter ul {
182 padding: .2em .5em .5em 0;
183 margin: .5em 0;
184 position: relative;
185 background: #dbddec;
186}
187
188div.navheader ul li, div.navfooter ul li {
189 display: inline;
190 width: 40%;
191}
192
193div.navheader ul li.prev, div.navfooter ul li.prev {
194 position: absolute;
195 display: block;
196 left: 0;
197 text-align: left;
198 padding: 0.2em 1em;
199 margin-left: 6px;
200}
201
202div.navheader ul li.next, div.navfooter ul li.next {
203 position: absolute;
204 display: block;
205 text-align: right;
206 right: 5px;
207 padding: 0.2em 0.5em;
208 margin-right: 7px;
209}
210
211div.navheader ul li.prev p, div.navfooter ul li.prev p,
212div.navheader ul li.next p, div.navfooter ul li.next p {
213 padding: 0;
214 margin: 1px 0px;
215}
216
217div.navheader ul li.home, div.navheader ul li.up,
218div.navfooter ul li.home, div.navfooter ul li.up {
219 text-align: center;
220 padding: 0;
221 margin: 0px auto;
222 display: block;
223 color: #dbddec;
224}
225
226
227/* TOC */
228div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
229 list-style: none;
230}
231
232div.toc {
233 padding-left: 1em;
234}
235
236.book li.preface, .part li.appendix {
237 margin-left: 1em;
238}
239
240.part li.preface {
241 margin-left: 0em;
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: 14.5em;
437}
438
439.content .segtitle {
440 width: 12em;
441}
442
443.package .segbody {
444 display: block;
445 padding-left: 14em;
446}
447
448.appendix .segbody{
449 display: block;
450 padding-left: 16em;
451}
452
453.content .segbody {
454 display: block;
455 padding-left: 13em;
456}
457
458.content table tr td:first-child
459{
460 width: 9em;
461 padding-right: 0px;
462}
463
464.content table tr td:first-child p
465{
466 padding-right: 0px;
467}
468
469/* itemizedlist */
470ul {
471 padding-left: 1em
472}
473
474.itemizedlist ul {
475 margin-left: 1em
476}
477
478.itemizedlist li ul {
479 margin-bottom: 1.2em;
480}
481
482.itemizedlist li ul li p {
483 margin-top: .5em;
484 margin-bottom: .5em;
485}
486
487.itemizedlist li ul li:first-child p:first-child {
488 margin-top: -.6em;
489}
490
491ul.compact {
492 list-style: none;
493}
494
495.blfs ul.compact {
496 list-style: disc;
497}
498
499ul.compact li {
500 margin: 0em;
501 padding: 0em;
502}
503
504ul.compact li p {
505 padding: 0.3em;
506 margin: 0em;
507}
508
509.blfs ul.compact li p {
510 background-color: #f0fff0;
511}
512
513/* orderedlist */
514ol {
515 list-style: decimal;
516}
517
518ol ol {
519 list-style: lower-alpha;
520}
521
522ol ol ol {
523 list-style: lower-roman;
524}
525
526ol.compact li {
527 margin: 0em;
528 padding: 0em;
529}
530
531ol.compact li p {
532 padding: 0.3em;
533 margin: 0em;
534}
535
536
537/* Indented blocks */
538p, blockquote {
539 padding-left: 1em;
540 padding-right: 1em;
541}
542
543
544/* Monospaced elements */
545tt, code, kbd, pre, .command {
546 font-family: monospace;
547}
548
549.systemitem {
550 font-style: italic;
551}
552
553pre {
554 background-color: #e5e5e5;
555 border: 1px solid #050505;
556 padding: .5em 1em;
557 margin: 0 2em .5em 2em;
558 font-weight: bold;
559}
560
561pre.userinput {
562 color: #101310;
563}
564
565pre.root {
566 color: #101310;
567 border: 1px solid #11a;
568}
569
570pre.screen {
571 color: #000;
572 background-color: #e9e9e9;
573 font-weight: normal;
574}
575
576.literal, .prompt {
577 font-weight: normal;
578}
579
580
581/* Mixed tags */
582p.usernotes {
583 margin-left: -1em;
584 font-size: small;
585 font-weight: bold;
586 font-style: italic;
587}
588
589.underlined {
590 text-decoration: underline;
591}
592
593
594/* Last edited info */
595p.updated {
596 font-size: small;
597 font-weight: bold;
598 font-style: italic;
599}
600
601
602/* Special colored blocks */
603 /* OrangeRed4 */
604.feature-ssp {
605 color: #8B2500;
606}
607
608 /* RoyalBlue3 */
609.feature-aslr {
610 color: #3A5FCD;
611}
612
613 /* NavyBlue */
614.feature-pax {
615 color: #000080;
616}
617
618 /* VioletRed */
619.feature-hardened_tmp {
620 color: #d02090;
621}
622
623 /* PaleTurquoise4 */
624.feature-warnings {
625 color: #668b8b;
626}
627
628 /* RosyBrown */
629.feature-misc {
630 color: #bc8f8f;
631}
632
633 /* Sienna*/
634.feature-blowfish {
635 color: #8E6B23
636}
Note: See TracBrowser for help on using the repository browser.