source: stylesheets/lfs-xsl/lfs.css@ 420f01a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 420f01a was 420f01a, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Add a style element to css file to make the

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23222 af4574ff-66df-0310-9fd7-8a98e5e911e0

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