source: stylesheets/lfs.css@ bc37722c

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 6.0 6.1 6.1.1 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since bc37722c was bc37722c, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Some changes in the CSS code to apetease IE6.
Changed the output matkup for admonitions.

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

  • Property mode set to 100644
File size: 4.8 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}
68
69div.navheader ul li.prev, div.navfooter ul li.prev {
70 position: absolute;
71 display: block;
72 left: 0;
73 text-align: left;
74 padding: 0.2em 1em;
75 margin-left: 6px;
76}
77
78div.navheader ul li.next, div.navfooter ul li.next {
79 position: absolute;
80 display: block;
81 text-align: right;
82 right: 5px;
83 padding: 0.2em 0.5em;
84 margin-right: 7px;
85}
86
87div.navheader ul li.prev p, div.navfooter ul li.prev p,
88div.navheader ul li.next p, div.navfooter ul li.next p {
89 padding: 0;
90 margin: 1px 0px;
91}
92
93div.navheader ul li.home, div.navheader ul li.up,
94div.navfooter ul li.home, div.navfooter ul li.up {
95 text-align: center;
96 padding: 0;
97 margin: 0px auto;
98 display: block;
99 color: #dbddec;
100}
101
102/* TOC & Index*/
103
104div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
105 list-style: none;
106}
107
108div.toc, div.dedication {
109 padding-left: 1em;
110}
111
112li.preface {
113 margin-left: 1em;
114}
115
116div.toc ul li h3, div.toc ul li h4 {
117 margin: .4em;
118}
119
120.item {
121 width: 15em;
122 float: left;
123}
124
125.secitem {
126 font-weight: normal;
127 width: 14em;
128 float: left;
129}
130
131/* Admonitions */
132div.note, div.tip {
133 background-color: #fffff6;
134 border: 2px solid #dbddec;
135 width: 90%;
136 margin: .5em auto;
137}
138
139div.important, div.warning, div.caution {
140 background-color: #fffff6;
141 border: medium solid #400;
142 width: 90%;
143 margin: .5em auto;
144 color: #600;
145 font-size: larger;
146}
147
148div.important h3, div.warning h3, div.caution h3 {
149 color: #900;
150}
151
152div.admonhead img {
153 padding: .3em;
154}
155
156div.admonhead h3 {
157 display: inline;
158 margin-left: 1.5em;
159}
160
161div.admonbody {
162 margin: .5em;
163}
164
165div.important em, div.warning em, div.caution em {
166 color: #000;
167 font-weight: bold;
168}
169
170div.important tt, div.warning tt, div.caution tt {
171 font-weight: bold;
172}
173
174/* variablelist & segmentedlist */
175dl {
176 margin: 0;
177 padding: 0;
178}
179
180dt {
181 font-weight: bold;
182 margin: .33em 0 0 1em;
183 padding: 0;
184}
185
186dd {
187 margin: 0 0 1em 3em;
188 padding: 0;
189}
190div.variablelist dd {
191 margin-bottom: 1em;
192}
193
194div.variablelist dd p {
195 margin-top: 0px;
196}
197
198dl.materials dd {
199 margin-left: 0px;
200}
201
202div.segmentedlist {
203 margin-top: 1em;
204}
205
206div.segmentedlist p {
207 margin: 0px auto;
208}
209
210/* Indented blocks */
211p, ul, dl, code, blockquote {
212 padding-left: 1em;
213}
214
215/* Monospaced elements */
216tt, code, kbd, pre, .command {
217 font-family: monospace;
218}
219
220pre.screen {
221 color: #101310;
222 background-color: #e5e5e5;
223 border: 1px solid #050505;
224 padding: .5em 1em;
225 margin: 0 2em;
226 font-weight: bold;
227}
228
229/* Sections */
230div.wrap h1 {
231 background: #f5f6f7;
232 padding: 1em 0 0.5em 0;
233 margin: 0px auto;
234}
235
236div.package {
237 background: #f5f6f7;
238 border-bottom: 0.2em solid #dbddec;
239 padding: 0.5em 0.5em 0.3em 0.5em;
240 margin: 0px auto;
241}
242
243div.installation {
244 padding: 0 0.5em 0.3em 0.5em;
245 margin: 0.5em 0 0.5em 0;
246}
247
248div.configuration {
249 background: #fefefe;
250 border-top: 0.2em solid #dbddec;
251 padding: 0.5em;
252 margin: 0.5em 0 .5em 0;
253}
254
255div.content {
256 background: #f5f6f7;
257 border-top: 0.2em solid #dbddec;
258 padding: 0.5em 0.5em 1em 0.5em;
259 margin: 0.5em 0 .5em 0;
260}
261
262div.installation h2, div.content h2 {
263 padding-top: 0.3em;
264 margin: 0;
265}
266
267div.book, div.preface, div.part, div.chapter, div.sect1, div.index {
268 padding-bottom: 0.5em;
269}
270
271div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.index h1 {
272 background: #f5f6f7;
273 border-bottom: .1em solid #dbddec;
274 margin: 0px auto;
275 padding: .5em;
276}
277
278div.book h1 {
279 background: #f5f6f7;
280 margin: 0px auto;
281 padding: 0.5em;
282}
283
284div.book h2.subtitle {
285 background: #dbddec;
286 margin: 0px auto;
287 padding: 0.2em;
288}
289div.authorgroup, div p.copyright, div.abstract {
290 background: #f5f6f7;
291 margin: 0px auto;
292 padding: 1em 0.5em;
293}
294
295hr {
296 background: #dbddec;
297 height: .3em;
298 border: 0px;
299 margin: 0px auto;
300 padding: 0;
301}
Note: See TracBrowser for help on using the repository browser.