Oops forgot the water there
[clinton/website/src/unknownlamer.org.git] / default.css
CommitLineData
9decba9f 1/* General Styling */
68f63263 2body
3{
4 font-family: serif;
68f63263 5}
6
4e8c3ce7 7p
8{
9 text-align: justify;
10}
11
12h1,h2,h3,h4,h5
13{
14 font-variant: small-caps;
15}
16
37636d3b 17@media screen
18{
19 body
20 {
21 background-color: #D9D9D9;
22 color: #222222;
2a20d6fd 23 max-width: 8in;
24 }
25}
26
27@media print
28{
29 p, table, blockquote, code, dt, dd, li
30 {
31 font-size: 10pt;
37636d3b 32 }
37636d3b 33
4e8c3ce7 34 dd, table, blockquote, code, .verse, .src, .image
35 {
36 page-break-inside: avoid;
37 }
68f63263 38
4e8c3ce7 39 h1, h2, h3, h4, h5
40 {
41 page-break-before: auto;
42 page-break-after: avoid;
37636d3b 43 }
37636d3b 44
4e8c3ce7 45 h1 + p, h2 + p, h3 + p, h4 + p, h5 + p
46 {
47 page-break-before: avoid;
48 page-break-after: auto;
37636d3b 49 }
68f63263 50}
51
52.verse
53{
68f63263 54 padding: 1em;
68f63263 55 width: 60%;
56 margin-right: auto;
57 margin-left: auto;
58 font-size: smaller;
59}
60
37636d3b 61@media screen
62{
63 .verse
64 {
4e8c3ce7 65 border: 2px solid #999999;
37636d3b 66 background-color: #BBBBBB;
67 color: #111111;
68 }
69}
70
68f63263 71blockquote
72{
68f63263 73 padding: 1em;
68f63263 74 width: 80%;
75 margin-right: auto;
76 margin-left: auto;
77}
78
37636d3b 79@media screen
80{
81 blockquote
82 {
4e8c3ce7 83 border: 2px solid black;
37636d3b 84 background-color: #AAAAAA;
85 color: #111111;
86 }
87}
88
89@media print
90{
91 blockquote
92 {
93 background-color: #DDDDDD;
94 color: #000000;
95 }
96}
97
68f63263 98code
99{
da76b7c7 100 white-space: pre-wrap; /* css-3 */
101 white-space: -moz-pre-wrap; /* Mozilla */
68f63263 102 width: auto;
103 color: #000000;
104}
105
2a20d6fd 106table
107{
108 margin: 1ex 1em;
109}
110
111table, td, tr
112{
113 border: 1px solid black;
114 border-collapse: collapse;
115 background-color: #CFCFCF;
116}
117
68f63263 118a
119{
120 font-style: italic;
6d57bafa 121 text-decoration: none;
68f63263 122}
123
124a:link
125{
126 color: #3333FF;
127}
128
129a:visited
130{
131 color: #DA3333;
132}
133
979a8002 134@media print
135{
136 a[href]:after
137 {
1d058f46 138 content: " <" attr(href) ">";
979a8002 139 }
140}
141
9decba9f 142/* Table of Contents */
68f63263 143div.contents
144{
145 border: 2px solid #222222;
68f63263 146 width: 40%;
147 padding: 0.5em;
de5e55d5 148 margin-bottom: 1em;
68f63263 149}
150
151div.contents:before
152{
153 content: "Contents";
154 font-size: x-large;
155 font-weight: bold;
156 font-variant: small-caps;
157}
158
6a61b233 159/* control spacing of contents in konqueror */
160div.contents dl
161{
4e8c3ce7 162 margin: 0.2em auto;
163}
164
165div.contents dl, div.contents dt
166{
167 margin-left: 0px;
168}
169
170div.contents dd
171{
172 margin-left: 1.5em;
173}
174
175@media screen
176{
177 div.contents
178 {
179 background-color: #999999;
180 margin-left: 2em;
181 float: right;
182 }
183
184 .verse, .src, .image, blockquote
185 {
186 clear: right; /* Clear the contents box */
187 }
6a61b233 188}
189
37636d3b 190@media print
191{
192 div.contents
193 {
4e8c3ce7 194 background-color: #DFDFDF;
62e96183 195 border-width: 0.5mm;
4e8c3ce7 196 float: left;
197 margin-right: 2em;
37636d3b 198 }
199
4e8c3ce7 200 .verse, .src, .image, blockquote
201 {
202 clear: left; /* Clear the contents box */
203 }
204
37636d3b 205 div.contents dt
206 {
207 font-size: 6pt;
4e8c3ce7 208 page-break-after: avoid;
209 }
210
211 div.contents > dd
212 {
213 page-break-inside: auto;
214 }
215
216 div.contents > dd > dl
217 {
218 page-break-inside: avoid;
219 page-break-before: auto;
220 page-break-after: auto;
221 }
222
223 div.contents > dd > dl dl
224 {
225 page-break-inside: avoid;
226 page-break-before: avoid;
227 page-break-after: avoid;
37636d3b 228 }
229}
230
6a61b233 231/* Images */
4e8c3ce7 232.image
68f63263 233{
234 border: 2px solid #222222;
68f63263 235 width: auto;
48c1c5d1 236 padding: 0.1em;
68f63263 237 margin-left: auto;
238 margin-right: auto;
239}
240
48c1c5d1 241/* Force spacing between image boxes */
4e8c3ce7 242.image + .image
48c1c5d1 243{
244 margin-top: 1em;
245}
246
68f63263 247table.image tr td img
248{
249 border: 1px solid #111111;
250}
251
252table.image tr td.image-caption
253{
254 font-style: italic;
255}
256
4e8c3ce7 257@media screen
258{
259 .image
260 {
261 background-color: #999999;
262 }
263}
264
265@media print
266{
267 .image
268 {
269 background-color: #CCCCCC;
62e96183 270 border-width: 0.5mm;
4e8c3ce7 271 page-break-inside: avoid;
272 page-break-after: auto;
273 page-break-before: auto;
274 }
275
276 .image img
277 {
278 max-width: 80%;
279 page-break-inside: avoid;
280 page-break-after: auto;
281 }
282}
283
3876739f 284img.latex-display
285{
286 display: block;
287 margin-left: auto;
288 margin-right: auto;
289 margin-top: 1ex;
290 margin-bottom: 1ex;
291}
292
293img.latex-inline
294{
295 display: inline;
296}
297
677f573a 298/* Ratings (Book List)*/
299.rating-good
300{
301 color: #222222;
302 font-weight: bold;
303 font-size: larger;
304 letter-spacing: 0.2em;
305}
306
307.rating-bad
308{
309 color: #FFFFFF;
310 font-weight: bold;
311 font-size: larger;
312 letter-spacing: 0.2em;
313}
314
37636d3b 315@media print
316{
317 .rating-good
318 {
979a8002 319 color: #000000;
37636d3b 320 }
321
322 .rating-bad
323 {
d85dd00e 324 display: none;
37636d3b 325 }
326}
327
677f573a 328/* Footer template */
68f63263 329p.cke-footer
330{
331 white-space: pre;
332 font-family: monospace;
333 font-style: italic;
334 font-size: small;
335}
336
337p.cke-timestamp
338{
339 font-family: monospace;
340 font-size: x-small;
341}
342
343p.cke-buttons img
344{
345 border: 0px;
37636d3b 346}
347
348@media print
349{
350 p.cke-buttons, p.cke-footer
351 {
352 display: none;
353 }
4e8c3ce7 354}
355
356.src
357{
358 font-family: monospace;
359 margin-right: auto;
360 margin-left: auto;
361 width: 95%;
362 border: 2px solid black;
363 padding: 1em;
364
365 white-space: pre-wrap; /* css-3 */
366 white-space: -moz-pre-wrap; /* Mozilla */
367}
368
369@media screen
370{
371 .src
372 {
373 color: #e3e3e3;
374 background-color: #444444;
375 }
376}
377
378@media print
379{
380 .src
381 {
382 color: #000000;
383 background-color: #F5F5F5;
62e96183 384 border-width: 0.5mm;
4e8c3ce7 385 font-size: 8pt;
386 }
387}
388
389/* emacs faces */
390@media screen
391{
392 .emacs-face-builtin { color: #b0c4de; }
393 .emacs-face-comment { color: #ff7f24; }
394 .emacs-face-comment-delimiter { color: #ff7f24; }
395 .emacs-face-doc { color: #b3b3b3; }
396 .emacs-face-function-name { color: #87cefa; }
397 .emacs-face-keyword { color: #b9d3ee; }
398 .emacs-face-negation-char { }
399 .emacs-face-regexp-grouping-backslash { font-weight: bold; }
400 .emacs-face-regexp-grouping-construct { font-weight: bold; }
401 .emacs-face-string { color: #b3b3b3; }
402 .emacs-face-type { color: #98fb98; }
403 .emacs-face-variable-name { color: #eedd82; }
404 .emacs-face-warning { color: #ffc0cb;
405 font-weight: bold; }
406}
407
408@media print
409{
410 .emacs-face-builtin { color: #0b4ced; }
411 .emacs-face-comment { color: #ff7f24; font-style: italic; }
412 .emacs-face-comment-delimiter { color: #ff7f24; }
413 .emacs-face-doc { color: #5b5b5b; }
414 .emacs-face-function-name { color: #34a8aa; font-style: italic; }
415 .emacs-face-keyword { color: #0B0B0B; font-weight: bold; }
416 .emacs-face-negation-char { }
417 .emacs-face-regexp-grouping-backslash { font-weight: bold; }
418 .emacs-face-regexp-grouping-construct { font-weight: bold; }
419 .emacs-face-string { color: #3b3b3b; font-style: italic; }
420 .emacs-face-type { color: #579b57; font-variant: small-caps; }
421 .emacs-face-variable-name { color: #554406; font-style: italic; }
422 .emacs-face-warning { color: #990767;
423 font-weight: bold; }
68f63263 424}