source: stylesheets/lfs-xsl/lfs.css@ 2a26a4f5

12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 2a26a4f5 was 2cf01ab7, checked in by Bruce Dubbs <bdubbs@…>, 11 months ago

Add some color to kernel options

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