9decba9f |
1 | /* General Styling */ |
68f63263 |
2 | body |
3 | { |
4 | font-family: serif; |
68f63263 |
5 | } |
6 | |
37636d3b |
7 | @media screen |
8 | { |
9 | body |
10 | { |
11 | background-color: #D9D9D9; |
12 | color: #222222; |
2a20d6fd |
13 | max-width: 8in; |
14 | } |
15 | } |
16 | |
17 | @media print |
18 | { |
19 | p, table, blockquote, code, dt, dd, li |
20 | { |
21 | font-size: 10pt; |
37636d3b |
22 | } |
23 | } |
24 | |
de5e55d5 |
25 | .verse, .src, .image, blockquote |
26 | { |
27 | clear: right; /* Clear the contents box usually */ |
28 | } |
29 | |
68f63263 |
30 | .src |
31 | { |
68f63263 |
32 | margin-right: auto; |
33 | margin-left: auto; |
34 | width: 95%; |
35 | border: 2px solid black; |
36 | padding: 1em; |
37 | |
38 | white-space: pre-wrap; /* css-3 */ |
39 | white-space: -moz-pre-wrap; /* Mozilla */ |
40 | } |
41 | |
37636d3b |
42 | @media screen |
43 | { |
44 | .src |
45 | { |
46 | color: #e3e3e3; |
47 | background-color: #444444; |
48 | } |
49 | } |
50 | |
51 | @media print |
52 | { |
53 | .src |
54 | { |
55 | color: #535353; |
56 | background-color: #888888; |
57 | } |
58 | } |
59 | |
68f63263 |
60 | p |
61 | { |
62 | text-align: justify; |
63 | } |
64 | |
65 | .verse |
66 | { |
68f63263 |
67 | padding: 1em; |
68 | border: 2px solid #999999; |
69 | width: 60%; |
70 | margin-right: auto; |
71 | margin-left: auto; |
72 | font-size: smaller; |
73 | } |
74 | |
37636d3b |
75 | @media screen |
76 | { |
77 | .verse |
78 | { |
79 | background-color: #BBBBBB; |
80 | color: #111111; |
81 | } |
82 | } |
83 | |
68f63263 |
84 | blockquote |
85 | { |
68f63263 |
86 | padding: 1em; |
87 | border: 2px solid black; |
88 | width: 80%; |
89 | margin-right: auto; |
90 | margin-left: auto; |
91 | } |
92 | |
37636d3b |
93 | @media screen |
94 | { |
95 | blockquote |
96 | { |
97 | background-color: #AAAAAA; |
98 | color: #111111; |
99 | } |
100 | } |
101 | |
102 | @media print |
103 | { |
104 | blockquote |
105 | { |
106 | background-color: #DDDDDD; |
107 | color: #000000; |
108 | } |
109 | } |
110 | |
68f63263 |
111 | code |
112 | { |
113 | white-space: pre; |
114 | width: auto; |
115 | color: #000000; |
116 | } |
117 | |
2a20d6fd |
118 | table |
119 | { |
120 | margin: 1ex 1em; |
121 | } |
122 | |
123 | table, td, tr |
124 | { |
125 | border: 1px solid black; |
126 | border-collapse: collapse; |
127 | background-color: #CFCFCF; |
128 | } |
129 | |
68f63263 |
130 | a |
131 | { |
132 | font-style: italic; |
6d57bafa |
133 | text-decoration: none; |
68f63263 |
134 | } |
135 | |
136 | a:link |
137 | { |
138 | color: #3333FF; |
139 | } |
140 | |
141 | a:visited |
142 | { |
143 | color: #DA3333; |
144 | } |
145 | |
979a8002 |
146 | @media print |
147 | { |
148 | a[href]:after |
149 | { |
150 | content: " <" attr(href) "> "; |
151 | } |
152 | } |
153 | |
68f63263 |
154 | h1,h2,h3,h4,h5 |
155 | { |
156 | font-variant: small-caps; |
157 | } |
158 | |
9decba9f |
159 | /* Table of Contents */ |
68f63263 |
160 | div.contents |
161 | { |
162 | border: 2px solid #222222; |
163 | background-color: #999999; |
164 | width: 40%; |
165 | padding: 0.5em; |
166 | margin-left: 2em; |
de5e55d5 |
167 | margin-bottom: 1em; |
68f63263 |
168 | float: right; |
169 | } |
170 | |
171 | div.contents:before |
172 | { |
173 | content: "Contents"; |
174 | font-size: x-large; |
175 | font-weight: bold; |
176 | font-variant: small-caps; |
177 | } |
178 | |
6a61b233 |
179 | /* control spacing of contents in konqueror */ |
180 | div.contents dl |
181 | { |
182 | margin-top: 0.2em; |
183 | margin-bottom: 0.2em; |
184 | } |
185 | |
37636d3b |
186 | @media print |
187 | { |
188 | div.contents |
189 | { |
190 | background-color: #CCCCCC; |
191 | } |
192 | |
193 | div.contents dt |
194 | { |
195 | font-size: 6pt; |
196 | } |
197 | } |
198 | |
6a61b233 |
199 | /* Images */ |
68f63263 |
200 | table.image, p.image |
201 | { |
202 | border: 2px solid #222222; |
68f63263 |
203 | width: auto; |
48c1c5d1 |
204 | padding: 0.1em; |
68f63263 |
205 | margin-left: auto; |
206 | margin-right: auto; |
207 | } |
208 | |
37636d3b |
209 | @media screen |
210 | { |
211 | table.image, p.image |
212 | { |
213 | background-color: #999999; |
214 | } |
215 | } |
216 | |
217 | @media print |
218 | { |
219 | table.image, p.image |
220 | { |
221 | background-color: #CCCCCC; |
222 | } |
223 | } |
224 | |
48c1c5d1 |
225 | /* Force spacing between image boxes */ |
226 | table.image + table.image, p.image + p.image |
227 | { |
228 | margin-top: 1em; |
229 | } |
230 | |
68f63263 |
231 | table.image tr td img |
232 | { |
233 | border: 1px solid #111111; |
234 | } |
235 | |
236 | table.image tr td.image-caption |
237 | { |
238 | font-style: italic; |
239 | } |
240 | |
3876739f |
241 | img.latex-display |
242 | { |
243 | display: block; |
244 | margin-left: auto; |
245 | margin-right: auto; |
246 | margin-top: 1ex; |
247 | margin-bottom: 1ex; |
248 | } |
249 | |
250 | img.latex-inline |
251 | { |
252 | display: inline; |
253 | } |
254 | |
677f573a |
255 | /* Ratings (Book List)*/ |
256 | .rating-good |
257 | { |
258 | color: #222222; |
259 | font-weight: bold; |
260 | font-size: larger; |
261 | letter-spacing: 0.2em; |
262 | } |
263 | |
264 | .rating-bad |
265 | { |
266 | color: #FFFFFF; |
267 | font-weight: bold; |
268 | font-size: larger; |
269 | letter-spacing: 0.2em; |
270 | } |
271 | |
37636d3b |
272 | @media print |
273 | { |
274 | .rating-good |
275 | { |
979a8002 |
276 | color: #000000; |
37636d3b |
277 | } |
278 | |
279 | .rating-bad |
280 | { |
281 | color: #CCCCCC; |
282 | } |
283 | } |
284 | |
677f573a |
285 | /* Footer template */ |
68f63263 |
286 | p.cke-footer |
287 | { |
288 | white-space: pre; |
289 | font-family: monospace; |
290 | font-style: italic; |
291 | font-size: small; |
292 | } |
293 | |
294 | p.cke-timestamp |
295 | { |
296 | font-family: monospace; |
297 | font-size: x-small; |
298 | } |
299 | |
300 | p.cke-buttons img |
301 | { |
302 | border: 0px; |
37636d3b |
303 | } |
304 | |
305 | @media print |
306 | { |
307 | p.cke-buttons, p.cke-footer |
308 | { |
309 | display: none; |
310 | } |
68f63263 |
311 | } |