source: stylesheets/lfs.css@ 5592479

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 5592479 was d0eda1b, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Corrected some validation issues in the CSS code.

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

  • Property mode set to 100644
File size: 3.9 KB
RevLine 
[e7392f2]1/* Global settings */
[287ea55]2body {
[e7392f2]3 font-family: sans-serif;
[287ea55]4 text-align: left;
[e7392f2]5 background: #fff;
6 color: #333;
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 {
25 color: #222;
[ded6ddd]26}
27
[e7392f2]28h1 { font-size: 200%; text-align: center; }
29h2 { font-size: 170%; padding-top: 0; margin-top: 0.5em; }
30h2.subtitle { text-align: center; }
31h3 { font-size: 140%; }
32h4 { font-size: 110%;}
33h5, h6 { font-size: 110%; font-style: italic; }
34
35/* Navigation */
36div.headertitles h4 {
[d0eda1b]37 margin-bottom: 0px;
[ded6ddd]38}
39
[e7392f2]40div.headertitles h3 {
[d0eda1b]41 margin-top: 0px;
[ded6ddd]42}
43
[e7392f2]44div.navheader, div.navfooter {
45 background: #ecedef;
46 text-align: center;
47 padding: 0.2em 1em;
48 border-bottom: 1px solid #dbddec;
[287ea55]49}
50
[e7392f2]51div.navfooter {
52 border-bottom: 0;
53 border-top: 1px solid #dbddec;
[287ea55]54}
55
[e7392f2]56div.navheader ul, div.navfooter ul {
57 padding: .3em;
58 text-align: center;
59 position: relative;
60 background: #dbddec;
[287ea55]61}
62
[e7392f2]63div.navheader ul li, div.navfooter ul li {
64 display: inline;
[287ea55]65}
66
[e7392f2]67div.navheader ul li.prev a, div.navfooter ul li.prev a {
68 position: absolute;
69 left: 0;
70 text-align: left;
71 padding: 0 .5em;
[287ea55]72}
73
[e7392f2]74div.navheader ul li.next a, div.navfooter ul li.next a {
75 position: absolute;
76 right: 0;
77 text-align: right;
78 padding: 0 .5em;
79 background: #dbddec;
[287ea55]80}
81
[e7392f2]82div.navheader ul li.home, div.navheader ul li.up,
83div.navfooter ul li.home, div.navfooter ul li.up {
84 padding: 0;
85 margin: 0;
86 display: block;
[287ea55]87}
88
[e7392f2]89/* TOC & Index*/
90
91div.toc ul, div.index ul, div.navheader ul, div.navfooter ul {
92 list-style: none;
[287ea55]93}
94
[e7392f2]95div.toc, div.dedication {
96 padding-left: 1em;
[287ea55]97}
98
[e7392f2]99li.preface {
100 margin-left: 1em;
[287ea55]101}
102
[e7392f2]103div.toc ul li h3, div.toc ul li h4 {
104 margin: .4em;
[287ea55]105}
106
[e7392f2]107.item {
108 width: 15em;
109 float: left;
[287ea55]110}
111
[e7392f2]112.secitem {
113 font-weight: normal;
114 width: 14em;
115 float: left;
[287ea55]116}
117
[e7392f2]118/* Admonitions */
[ded6ddd]119div.admonition {
120 border: medium solid;
121 width: 90%;
122 margin: .5em auto;
[287ea55]123}
124
[e7392f2]125div.admonhead img {
126 padding: .3em;
127}
128
[ded6ddd]129div.admonhead h3 {
[e7392f2]130 display: inline;
131 margin-left: 1.5em;
[287ea55]132}
133
[ded6ddd]134div.admonbody {
[e7392f2]135 margin: .5em;
[287ea55]136}
137
[e7392f2]138/* Monospaced elements */
139tt, code, kbd, pre, .command {
140 font-family: monospace;
141 font-size: 1em;
[287ea55]142}
143
[e7392f2]144pre.screen {
145 color: #600;
146 background-color: #ffffe0;
147 border: 1px solid #eeeed0;
148 padding: .5em 2em;
149 margin: 0;
150 font-weight: bold;
[287ea55]151}
152
[e7392f2]153/* variablelist & segmentedlist */
154div.variablelist dd {
155 margin-bottom: 1em;
[287ea55]156}
[c755815f]157
[e7392f2]158div.variablelist dd p {
159 margin-top: 0px;
160}
161
162div.segmentedlist {
163 margin-top: 1em;
164}
165
166div.segmentedlist p {
167 margin: 0px auto;
168}
169
170dl.materials dd {
[d0eda1b]171 margin-left: 0px;
[c755815f]172}
173
[e7392f2]174/* Indented blocks */
175p, ul, dl, code, blockquote {
176 padding-left: 1em;
177}
178
179/* Sections */
180div.wrap h1 {
181 background: #f5f6f7;
182 padding: 0.8em 0 0.5em 0;
183 margin: 0;
184}
185
186div.package {
187 background: #f5f6f7;
188 border-bottom: .3em solid #dbddec;
189 padding: 0 0.5em 1em 0.5em;
190 margin: 0;
191}
192
193div.installation {
194 background: #fefefe;
195 padding: 0 0.5em 0.5em 0.5em;
196 margin: .5em 0 .5em 0;
197}
198
199div.content {
200 background: #f5f6f7;
201 border-top: .3em solid #dbddec;
202 padding: 1em 0.5em 0.5em 0.5em;
203 margin: .5em 0 .5em 0;
[c755815f]204}
[e7392f2]205
206div.installation h2, div.content h2 {
207 padding-top: 0.4em;
208 margin: 0;
209}
210
211div.book, div.preface, div.part, div.chapter, div.sect1, div.index {
212 background: #fefefe;
213 padding-bottom: 0.5em;
214}
215
216div.preface h1, div.part h1, div.chapter h1, div.sect1 h1, div.index h1 {
217 background: #f5f6f7;
218 border-bottom: .1em solid #dbddec;
219 margin: 0px auto;
220 padding: .5em;
221}
222
223div.book h1 {
224 background: #f5f6f7;
225 margin: 0px auto;
226 padding: 0.5em;
227}
228
229div.book h2.subtitle {
230 background: #dbddec;
231 margin: 0px auto;
232 padding: 0.2em;
233}
234div.authorgroup, div p.copyright, div.abstract {
235 background: #f5f6f7;
236 margin: 0px auto;
237 padding: 0 0.5em;
238}
239
240hr {
241 background: #dbddec;
242 height: .3em;
243 border: 0px;
244 margin: 0px auto;
[d0eda1b]245}
Note: See TracBrowser for help on using the repository browser.