source: stylesheets/lfs.css@ e02afe0

Last change on this file since e02afe0 was 1798edf, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Ported r7357 and r7358 from trunk to alphabetical branch.

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

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