source: stylesheets/lfs.css@ 4e86d59

Last change on this file since 4e86d59 was 4e86d59, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Fixed the indentation of itemizedlist for XHMTL output.
Thanks to Bruce Dubbs.

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

  • Property mode set to 100644
File size: 5.2 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; }
29h2 { font-size: 144%; padding-top: 0.2em; margin-top: 0.3em; }
30h2.subtitle { text-align: center; }
31h3 { font-size: 120%; }
32h4 { font-size: 110%;}
33h5, h6 { font-size: 110%; font-style: italic; }
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
188div.content dt {
189 list-style: none;
190}
191
192dd {
193 margin: 0 0 1em 3em;
194 padding: 0;
195}
196
197div.variablelist dd {
198 margin-bottom: 1em;
199}
200
201div.variablelist dd p {
202 margin-top: 0px;
203}
204
205dl.materials dd {
206 margin-left: 0px;
207}
208
209div.segmentedlist {
210 margin-top: 1em;
211}
212
213div.segmentedlist p {
214 margin: 0px auto;
215}
216
217/* itemizedlist */
218
219div.itemizedlist {
220 margin-left: 1em;
221}
222
223/* Indented blocks */
224p, ul, dl, code, blockquote {
225 padding-left: 1em;
226}
227
228/* Monospaced elements */
229tt, code, kbd, pre, .command {
230 font-family: monospace;
231}
232
233pre.userinput {
234 color: #101310;
235 background-color: #e5e5e5;
236 border: 1px solid #050505;
237 padding: .5em 1em;
238 margin: 0 2em;
239 font-weight: bold;
240}
241
242.literal {
243 font-weight: normal;
244}
245
246pre.screen {
247 color: #000;
248 background-color: #e9e9e9;
249 border: 1px solid #050505;
250 padding: .5em 1em;
251 margin: 0 2em;
252}
253
254/* Sections */
255div.wrap h1 {
256 background: #f5f6f7;
257 padding: 1em 0 0.5em 0;
258 margin: 0px auto;
259}
260
261div.package {
262 background: #f5f6f7;
263 border-bottom: 0.2em solid #dbddec;
264 padding: 0.5em 0.5em 0.3em 0.5em;
265 margin: 0px auto;
266}
267
268div.installation {
269 padding: 0 0.5em 0.3em 0.5em;
270 margin: 0.5em 0 0.5em 0;
271}
272
273div.configuration {
274 background: #fefefe;
275 border-top: 0.2em solid #dbddec;
276 padding: 0.5em;
277 margin: 0.5em 0 .5em 0;
278}
279
280div.content {
281 background: #f5f6f7;
282 border-top: 0.2em solid #dbddec;
283 padding: 0.5em 0.5em 1em 0.5em;
284 margin: 0.5em 0 .5em 0;
285}
286
287div.installation h2, div.content h2 {
288 padding-top: 0.3em;
289 margin: 0;
290}
291
292div.book, div.preface, div.part, div.chapter, div.sect1, div.appendix, div.index {
293 padding-bottom: 0.5em;
294}
295
296div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.appendix h1, div.index h1 {
297 background: #f5f6f7;
298 border-bottom: .1em solid #dbddec;
299 margin: 0px auto;
300 padding: .5em;
301}
302
303div.book h1 {
304 background: #f5f6f7;
305 margin: 0px auto;
306 padding: 0.5em;
307}
308
309div.book h2.subtitle {
310 background: #dbddec;
311 margin: 0px auto;
312 padding: 0.2em;
313}
314div.authorgroup, div p.copyright, div.abstract {
315 background: #f5f6f7;
316 margin: 0px auto;
317 padding: 1em 0.5em;
318}
319
320hr {
321 background: #dbddec;
322 height: .3em;
323 border: 0px;
324 margin: 0px auto;
325 padding: 0;
326}
Note: See TracBrowser for help on using the repository browser.