Mercurial > hgbook
comparison en/hgbook.css @ 149:16f02802f448
Start to produce saner HTML and CSS.
Drop the "beta" targets for now (forever?).
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 08 Mar 2007 22:51:50 -0800 |
parents | |
children | 44f233544e9e |
comparison
equal
deleted
inserted
replaced
148:6a5864c09879 | 149:16f02802f448 |
---|---|
1 body { | |
2 font: 12px/1.5 Verdana, sans-serif; | |
3 padding-top: 50px; | |
4 padding-left: 80px; | |
5 padding-right: 80px; | |
6 padding-bottom: 90px; | |
7 } | |
8 .ptmr7t- { | |
9 font-family: monospace; | |
10 } | |
11 .ptmr7t-x-x-172 { | |
12 font-size: 172%; | |
13 font-family: monospace; | |
14 } | |
15 .ptmr7t-x-x-172 { | |
16 font-family: monospace; | |
17 } | |
18 .ptmr7t-x-x-120 { | |
19 font-size: 120%; | |
20 font-family: monospace; | |
21 } | |
22 .ptmr7t-x-x-120 { | |
23 font-family: monospace; | |
24 } | |
25 .zpzccmry-x-x-120 { | |
26 font-size: 120%; | |
27 font-weight: bold; | |
28 font-style: italic; | |
29 } | |
30 .zpzccmry-x-x-120 { | |
31 font-weight: bold; | |
32 font-style: italic; | |
33 } | |
34 .pcrr7tn- { | |
35 font-family: monospace; | |
36 } | |
37 .ptmri7t- { | |
38 font-style: italic; | |
39 } | |
40 .ptmr7t-x-x-50 { | |
41 font-size: 50%; | |
42 font-family: monospace; | |
43 } | |
44 .ptmr7t-x-x-50 { | |
45 font-family: monospace; | |
46 } | |
47 .ptmb7t- { | |
48 font-weight: bold; | |
49 } | |
50 .zptmcmr- { | |
51 font-style: italic; | |
52 } | |
53 .zptmcmrm- { | |
54 font-style: italic; | |
55 } | |
56 .zpzccmry- { | |
57 font-weight: bold; | |
58 font-style: italic; | |
59 } | |
60 .pcrb7t- { | |
61 font-family: monospace; | |
62 font-weight: bold; | |
63 } | |
64 .pcrro7t- { | |
65 font-family: monospace; | |
66 font-style: oblique; | |
67 } | |
68 p.noindent { | |
69 text-indent: 0em; | |
70 margin: 0em; | |
71 } | |
72 p.nopar { | |
73 text-indent: 0em; | |
74 } | |
75 p.indent { | |
76 text-indent: 1.5em; | |
77 margin: 0em; | |
78 } | |
79 a img { | |
80 border-top: 0; | |
81 border-left: 0; | |
82 border-right: 0; | |
83 } | |
84 center { | |
85 margin-top: 1em; | |
86 margin-bottom: 1em; | |
87 } | |
88 td center { | |
89 margin-top: 0em; | |
90 margin-bottom: 0em; | |
91 } | |
92 .Canvas { | |
93 position: relative; | |
94 } | |
95 img.math { | |
96 vertical-align: middle; | |
97 } | |
98 li p.indent { | |
99 text-indent: 0em; | |
100 } | |
101 .enumerate1 { | |
102 list-style-type: decimal; | |
103 } | |
104 .enumerate2 { | |
105 list-style-type: lower-alpha; | |
106 } | |
107 .enumerate3 { | |
108 list-style-type: lower-roman; | |
109 } | |
110 .enumerate4 { | |
111 list-style-type: upper-alpha; | |
112 } | |
113 div.newtheorem { | |
114 margin-bottom: 2em; | |
115 margin-top: 2em; | |
116 } | |
117 .obeylines-h,.obeylines-v { | |
118 white-space: nowrap; | |
119 } | |
120 div.obeylines-v p { | |
121 margin-top: 0; | |
122 margin-bottom: 0; | |
123 } | |
124 .overline { | |
125 text-decoration: overline; | |
126 } | |
127 .overline img { | |
128 border-top: 1px solid black; | |
129 } | |
130 td.displaylines { | |
131 text-align: center; | |
132 white-space: nowrap; | |
133 } | |
134 .centerline { | |
135 text-align: center; | |
136 } | |
137 .rightline { | |
138 text-align: right; | |
139 } | |
140 div.verbatim { | |
141 font-family: monospace; | |
142 white-space: nowrap; | |
143 } | |
144 table.verbatim { | |
145 width: 100%; | |
146 } | |
147 .fbox { | |
148 background: url(note.png) no-repeat #cec; | |
149 padding-left: 58px; | |
150 padding-top: 1em; | |
151 padding-bottom: 1em; | |
152 padding-right: 1em; | |
153 text-indent: 0pt; | |
154 border: dotted black 1px; | |
155 } | |
156 div.center div.fbox { | |
157 text-align: center; | |
158 clear: both; | |
159 padding-left: 3.0pt; | |
160 padding-right: 3.0pt; | |
161 text-indent: 0pt; | |
162 border: solid black 0.4pt; | |
163 } | |
164 table.minipage { | |
165 width: 100%; | |
166 } | |
167 div.center, div.center div.center { | |
168 text-align: center; | |
169 margin-left: 1em; | |
170 margin-right: 1em; | |
171 } | |
172 div.center div { | |
173 text-align: left; | |
174 } | |
175 div.flushright, div.flushright div.flushright { | |
176 text-align: right; | |
177 } | |
178 div.flushright div { | |
179 text-align: left; | |
180 } | |
181 div.flushleft { | |
182 text-align: left; | |
183 } | |
184 .underline { | |
185 text-decoration: underline; | |
186 } | |
187 .underline img { | |
188 border-bottom: 1px solid black; | |
189 margin-bottom: 1pt; | |
190 } | |
191 .framebox-c, .framebox-l, .framebox-r { | |
192 padding-left: 3.0pt; | |
193 padding-right: 3.0pt; | |
194 text-indent: 0pt; | |
195 border: solid black 0.4pt; | |
196 } | |
197 .framebox-c { | |
198 text-align: center; | |
199 } | |
200 .framebox-l { | |
201 text-align: left; | |
202 } | |
203 .framebox-r { | |
204 text-align: right; | |
205 } | |
206 span.thank-mark { | |
207 vertical-align: super | |
208 } | |
209 span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript { | |
210 font-size: 80%; | |
211 } | |
212 div.tabular, div.center div.tabular { | |
213 text-align: center; | |
214 margin-top: 0.5em; | |
215 margin-bottom: 0.5em; | |
216 } | |
217 table.tabular td p { | |
218 margin-top: 0em; | |
219 } | |
220 table.tabular { | |
221 margin-left: auto; | |
222 margin-right: auto; | |
223 } | |
224 div.td00 { | |
225 margin-left: 0pt; | |
226 margin-right: 0pt; | |
227 } | |
228 div.td01 { | |
229 margin-left: 0pt; | |
230 margin-right: 5pt; | |
231 } | |
232 div.td10 { | |
233 margin-left: 5pt; | |
234 margin-right: 0pt; | |
235 } | |
236 div.td11 { | |
237 margin-left: 5pt; | |
238 margin-right: 5pt; | |
239 } | |
240 table[rules] { | |
241 border-left: solid black 0.4pt; | |
242 border-right: solid black 0.4pt; | |
243 } | |
244 td.td00 { | |
245 padding-left: 0pt; | |
246 padding-right: 0pt; | |
247 } | |
248 td.td01 { | |
249 padding-left: 0pt; | |
250 padding-right: 5pt; | |
251 } | |
252 td.td10 { | |
253 padding-left: 5pt; | |
254 padding-right: 0pt; | |
255 } | |
256 td.td11 { | |
257 padding-left: 5pt; | |
258 padding-right: 5pt; | |
259 } | |
260 table[rules] { | |
261 border-left: solid black 0.4pt; | |
262 border-right: solid black 0.4pt; | |
263 } | |
264 .hline hr, .cline hr { | |
265 height : 1px; | |
266 margin: 0px; | |
267 } | |
268 .tabbing-right { | |
269 text-align: right; | |
270 } | |
271 span.TEX { | |
272 letter-spacing: -0.125em; | |
273 } | |
274 span.TEX span.E { | |
275 position: relative;top: 0.5ex;left: -0.0417em; | |
276 } | |
277 a span.TEX span.E { | |
278 text-decoration: none; | |
279 } | |
280 span.LATEX span.A { | |
281 position: relative; | |
282 top: -0.5ex; | |
283 left: -0.4em; | |
284 font-size: 85%; | |
285 } | |
286 span.LATEX span.TEX { | |
287 position: relative; | |
288 left: -0.4em; | |
289 } | |
290 div.float img, div.float .caption { | |
291 text-align: center; | |
292 } | |
293 div.figure img, div.figure .caption { | |
294 text-align: center; | |
295 } | |
296 .marginpar { | |
297 width: 20%; | |
298 float: right; | |
299 text-align: left; | |
300 margin-left: auto; | |
301 margin-top: 0.5em; | |
302 font-size: 85%; | |
303 text-decoration: underline; | |
304 } | |
305 .marginpar p { | |
306 margin-top: 0.4em; | |
307 margin-bottom: 0.4em; | |
308 } | |
309 table.equation { | |
310 width: 100%; | |
311 } | |
312 .equation td { | |
313 text-align: center; | |
314 } | |
315 td.equation { | |
316 margin-top: 1em; | |
317 margin-bottom: 1em; | |
318 } | |
319 td.equation-label { | |
320 width: 5%; | |
321 text-align: center; | |
322 } | |
323 td.eqnarray4 { | |
324 width: 5%; | |
325 white-space: normal; | |
326 } | |
327 td.eqnarray2 { | |
328 width: 5%; | |
329 } | |
330 table.eqnarray-star, table.eqnarray { | |
331 width: 100%; | |
332 } | |
333 div.eqnarray { | |
334 text-align: center; | |
335 } | |
336 div.array { | |
337 text-align: center; | |
338 } | |
339 div.pmatrix { | |
340 text-align: center; | |
341 } | |
342 table.pmatrix { | |
343 width: 100%; | |
344 } | |
345 span.pmatrix img { | |
346 vertical-align: middle; | |
347 } | |
348 div.pmatrix { | |
349 text-align: center; | |
350 } | |
351 table.pmatrix { | |
352 width: 100%; | |
353 } | |
354 img.cdots { | |
355 vertical-align: middle; | |
356 } | |
357 .partToc a, .partToc, .likepartToc a, .likepartToc { | |
358 line-height: 200%; | |
359 font-weight: bold; | |
360 font-size: 110%; | |
361 } | |
362 .chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc, .appendixToc a, .appendixToc { | |
363 line-height: 200%; | |
364 font-weight: bold; | |
365 } | |
366 .caption td.id { | |
367 font-weight: bold; | |
368 white-space: nowrap; | |
369 } | |
370 table.caption { | |
371 text-align: center; | |
372 } | |
373 h1.partHead { | |
374 text-align: center; | |
375 } | |
376 p.bibitem { | |
377 text-indent: -2em; | |
378 margin-left: 2em; | |
379 margin-top: 0.6em; | |
380 margin-bottom: 0.6em; | |
381 } | |
382 p.bibitem-p { | |
383 text-indent: 0em; | |
384 margin-left: 2em; | |
385 margin-top: 0.6em; | |
386 margin-bottom: 0.6em; | |
387 } | |
388 .paragraphHead, .likeparagraphHead { | |
389 margin-top: 2em; | |
390 font-weight: bold; | |
391 } | |
392 .subparagraphHead, .likesubparagraphHead { | |
393 font-weight: bold; | |
394 } | |
395 .quote { | |
396 margin-bottom: 0.25em; | |
397 margin-top: 0.25em; | |
398 margin-left: 1em; | |
399 margin-right: 1em; | |
400 text-align: justify; | |
401 } | |
402 .verse { | |
403 white-space: nowrap; | |
404 margin-left: 2em} | |
405 div.maketitle { | |
406 text-align: center; | |
407 } | |
408 h2.titleHead { | |
409 text-align: center; | |
410 } | |
411 div.maketitle { | |
412 margin-bottom: 2em; | |
413 } | |
414 div.author, div.date { | |
415 text-align: center; | |
416 } | |
417 div.thanks { | |
418 text-align: left; | |
419 margin-left: 10%; | |
420 font-size: 85%; | |
421 font-style: italic; | |
422 } | |
423 div.author { | |
424 white-space: nowrap; | |
425 } | |
426 .quotation { | |
427 margin-bottom: 0.25em; | |
428 margin-top: 0.25em; | |
429 margin-left: 1em; | |
430 } | |
431 h1.partHead { | |
432 text-align: center; | |
433 } | |
434 img.graphics { | |
435 margin-left: 10%; | |
436 } | |
437 .figure { | |
438 width: 100%; | |
439 } | |
440 P.fancyvrb { | |
441 white-space: nowrap; | |
442 } | |
443 hr { | |
444 border: 0; | |
445 height: 1px; | |
446 } | |
447 div#fancyvrb { | |
448 white-space: nowrap; | |
449 background: #eee; | |
450 padding: 1em; | |
451 } |