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

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since c40c526 was c41cafb, checked in by Xi Ruoyao <xry111@…>, 11 months ago

kernel-config: Add color for hotkey

Align with recent LFS change. Regenerate all kernel.xml files.

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