source: stylesheets/lfs.css@ c6761bf

10.0 10.0-rc1 10.1 10.1-rc1 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 12.2 12.2-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since c6761bf was c26f264, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Trying to have a better Appendix C look.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7552 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.3 KB
Line 
1/* Global settings */
2body {
3 font-family: sans-serif;
4 text-align: left;
5 background: #fff;
6 color: #333;
7 margin: 1em;
8 padding: 0;
9 font-size: 1em;
10 line-height: 1.2em
11}
12
13a:link { color: #22b; }
14a:visited { color: #7e4988; }
15a:hover, a:focus { color: #d30e08; }
16a:active { color: #6b77b1;}
17
18/* Headers */
19h1, h2, b, strong {
20 color: #000;
21 font-weight: bold;
22}
23
24h3, h4, h5, h6 {
25 color: #222;
26}
27
28h1 { font-size: 173%; text-align: center; line-height: 1.2em; }
29h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; line-height: 1.2em; }
30h2.subtitle { text-align: center; line-height: 1.2em; }
31h3 { font-size: 120%; line-height: 1.2em; }
32h4 { font-size: 110%; line-height: 1.2em; }
33h5, h6 { font-size: 110%; font-style: italic; line-height: 1.2em; }
34
35/* Navigation */
36div.headertitles h4 {
37 margin-bottom: 2px;
38 text-align: center;
39}
40
41div.headertitles h3 {
42 margin-top: 2px;
43 text-align: center;
44}
45
46div.navheader, div.navfooter {
47 background: #ecedef;
48 padding: 0.1em 1em;
49 border-bottom: 1px solid #dbddec;
50}
51
52div.navfooter {
53 border-bottom: 0;
54 border-top: 1px solid #dbddec;
55}
56
57div.navheader ul, div.navfooter ul {
58 padding: .2em .5em .5em 0;
59 margin-left: 0px;
60 margin-right: 2px;
61 position: relative;
62 background: #dbddec;
63}
64
65div.navheader ul li, div.navfooter ul li {
66 display: inline;
67 width: 40%;
68}
69
70div.navheader ul li.prev, div.navfooter ul li.prev {
71 position: absolute;
72 display: block;
73 left: 0;
74 text-align: left;
75 padding: 0.2em 1em;
76 margin-left: 6px;
77}
78
79div.navheader ul li.next, div.navfooter ul li.next {
80 position: absolute;
81 display: block;
82 text-align: right;
83 right: 5px;
84 padding: 0.2em 0.5em;
85 margin-right: 7px;
86}
87
88div.navheader ul li.prev p, div.navfooter ul li.prev p,
89div.navheader ul li.next p, div.navfooter ul li.next p {
90 padding: 0;
91 margin: 1px 0px;
92}
93
94div.navheader ul li.home, div.navheader ul li.up,
95div.navfooter ul li.home, div.navfooter ul li.up {
96 text-align: center;
97 padding: 0;
98 margin: 0px auto;
99 display: block;
100 color: #dbddec;
101}
102
103/* TOC & Index*/
104
105div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
106 list-style: none;
107}
108
109div.toc, div.dedication {
110 padding-left: 1em;
111}
112
113li.preface, li.appendix {
114 margin-left: 1em;
115}
116
117div.toc ul li h3, div.toc ul li h4 {
118 margin: .4em;
119}
120
121.item {
122 width: 17em;
123 float: left;
124}
125
126.secitem {
127 font-weight: normal;
128 width: 16em;
129 float: left;
130}
131
132/* Admonitions */
133div.note, div.tip {
134 background-color: #fffff6;
135 border: 2px solid #dbddec;
136 width: 90%;
137 margin: .5em auto;
138}
139
140div.important, div.warning, div.caution {
141 background-color: #fffff6;
142 border: medium solid #400;
143 width: 90%;
144 margin: 1.5em auto;
145 color: #600;
146 font-size: larger;
147}
148
149div.important h3, div.warning h3, div.caution h3 {
150 color: #900;
151}
152
153div.admonhead img {
154 padding: .3em;
155}
156
157div.admonhead h3 {
158 display: inline;
159 margin-left: 1.5em;
160}
161
162div.admonbody {
163 margin: .5em;
164}
165
166div.important em, div.warning em, div.caution em {
167 color: #000;
168 font-weight: bold;
169}
170
171div.important tt, div.warning tt, div.caution tt {
172 font-weight: bold;
173}
174
175/* variablelist & segmentedlist */
176dl {
177 margin: 0;
178 padding: 0;
179}
180
181dt {
182 display: list-item;
183 font-weight: bold;
184 margin: .33em 0 0 1em;
185 padding: 0;
186}
187
188dd {
189 margin: 0 0 1em 3em;
190 padding: 0;
191}
192
193table {
194 width: auto;
195 margin-left: 1em;
196}
197
198td {
199 vertical-align: top;
200}
201
202td span, td p {
203 margin: 0.3em;
204}
205
206span.term {
207 display: block;
208}
209
210div.variablelist dd {
211 margin-bottom: 1em;
212}
213
214div.variablelist dd p {
215 margin-top: 0px;
216 margin-bottom: 0px;
217 padding-top: 0px;
218 padding-bottom: 0px;
219}
220
221div.materials dd {
222 margin-left: 0px;
223}
224
225div.package div.seg {
226 margin-bottom: 0em;
227 margin-top: 0em;
228 clear: left;
229}
230
231div.package span.segtitle, div.appendix span.segtitle {
232 float: left;
233}
234
235div.package span.seg, div.appendix span.seg {
236 display: block;
237 padding-left: 14em;
238}
239
240div.appendix div.segmentedlist {
241 padding-left: 1em;
242}
243
244div.appendix h2 {
245 font-size: 133%;
246 margin-top: 1em;
247 margin-bottom: 0.2em;
248}
249
250div.content div.seg {
251 margin-bottom: 1em;
252 margin-top: 1em;
253 clear: left;
254}
255
256div.content span.segtitle {
257 float: left;
258}
259
260div.content span.seg {
261 display: block;
262 padding-left: 12em;
263}
264
265/* itemizedlist */
266
267div.itemizedlist {
268 margin-left: 1em;
269}
270
271ul[compact="compact"] li p {
272 padding: 0.3em;
273 margin: 0em;
274}
275
276/*table */
277
278div.table {
279 text-align: center;
280}
281
282div.table table {
283 margin-left: auto;
284 margin-right: auto;
285 text-align: center;
286}
287
288div.table table th, div.table table td {
289 padding: 0.2em 2em 0.2em 2em;
290}
291
292/* Indented blocks */
293p, ul, dl, code, blockquote {
294 padding-left: 1em;
295}
296
297/* Monospaced elements */
298tt, code, kbd, pre, .command {
299 font-family: monospace;
300}
301
302tt.systemitem {
303 font-style: italic;
304}
305
306pre.userinput {
307 color: #101310;
308 background-color: #e5e5e5;
309 border: 1px solid #050505;
310 padding: .5em 1em;
311 margin: 0 2em;
312 font-weight: bold;
313}
314
315.literal {
316 font-weight: normal;
317}
318
319pre.screen {
320 color: #000;
321 background-color: #e9e9e9;
322 border: 1px solid #050505;
323 padding: .5em 1em;
324 margin: 0 2em;
325}
326
327/* Sections */
328div.wrap h1 {
329 background: #f5f6f7;
330 padding: 1em 0 0.5em 0;
331 margin: 0px auto;
332}
333
334div.package {
335 background: #f5f6f7;
336 border-bottom: 0.2em solid #dbddec;
337 padding: 0.5em 0.5em 0.3em 0.5em;
338 margin: 0px auto;
339}
340
341div.installation {
342 padding: 0 0.5em 0.3em 0.5em;
343 margin: 0.5em 0 0.5em 0;
344}
345
346div.configuration {
347 background: #fefefe;
348 border-top: 0.2em solid #dbddec;
349 padding: 0.5em;
350 margin: 0.5em 0 .5em 0;
351}
352
353div.content {
354 background: #f5f6f7;
355 border-top: 0.2em solid #dbddec;
356 padding: 0.5em 0.5em 1em 0.5em;
357 margin: 0.5em 0 .5em 0;
358}
359
360div.installation h2, div.content h2 {
361 padding-top: 0.3em;
362 margin: 0;
363}
364
365div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index {
366 padding-bottom: 0.5em;
367}
368
369div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1, div.index h1 {
370 background: #f5f6f7;
371 border-bottom: .1em solid #dbddec;
372 margin: 0px auto;
373 padding: .5em;
374}
375
376div.book h1 {
377 background: #f5f6f7;
378 margin: 0px auto;
379 padding: 0.5em;
380}
381
382div.book h2.subtitle {
383 background: #dbddec;
384 margin: 0px auto;
385 padding: 0.2em;
386}
387div.authorgroup, div p.copyright, div.abstract {
388 background: #f5f6f7;
389 margin: 0px auto;
390 padding: 1em 0.5em;
391}
392
393hr {
394 background: #dbddec;
395 height: .3em;
396 border: 0px;
397 margin: 0px auto;
398 padding: 0;
399}
Note: See TracBrowser for help on using the repository browser.