Slight improvements to links with the print style and a typo fix
[clinton/website/src/unknownlamer.org.git] / default.css
... / ...
CommitLineData
1/* General Styling */
2body
3{
4 font-family: serif;
5}
6
7@media screen
8{
9 body
10 {
11 background-color: #D9D9D9;
12 color: #222222;
13 max-width: 8in;
14 }
15}
16
17@media print
18{
19 p, table, blockquote, code, dt, dd, li
20 {
21 font-size: 10pt;
22 }
23}
24
25.verse, .src, .image, blockquote
26{
27 clear: right; /* Clear the contents box usually */
28}
29
30.src
31{
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
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
60p
61{
62 text-align: justify;
63}
64
65.verse
66{
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
75@media screen
76{
77 .verse
78 {
79 background-color: #BBBBBB;
80 color: #111111;
81 }
82}
83
84blockquote
85{
86 padding: 1em;
87 border: 2px solid black;
88 width: 80%;
89 margin-right: auto;
90 margin-left: auto;
91}
92
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
111code
112{
113 white-space: pre;
114 width: auto;
115 color: #000000;
116}
117
118table
119{
120 margin: 1ex 1em;
121}
122
123table, td, tr
124{
125 border: 1px solid black;
126 border-collapse: collapse;
127 background-color: #CFCFCF;
128}
129
130a
131{
132 font-style: italic;
133 text-decoration: none;
134}
135
136a:link
137{
138 color: #3333FF;
139}
140
141a:visited
142{
143 color: #DA3333;
144}
145
146@media print
147{
148 a[href]:after
149 {
150 content: " <" attr(href) "> ";
151 }
152}
153
154h1,h2,h3,h4,h5
155{
156 font-variant: small-caps;
157}
158
159/* Table of Contents */
160div.contents
161{
162 border: 2px solid #222222;
163 background-color: #999999;
164 width: 40%;
165 padding: 0.5em;
166 margin-left: 2em;
167 margin-bottom: 1em;
168 float: right;
169}
170
171div.contents:before
172{
173 content: "Contents";
174 font-size: x-large;
175 font-weight: bold;
176 font-variant: small-caps;
177}
178
179/* control spacing of contents in konqueror */
180div.contents dl
181{
182 margin-top: 0.2em;
183 margin-bottom: 0.2em;
184}
185
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
199/* Images */
200table.image, p.image
201{
202 border: 2px solid #222222;
203 width: auto;
204 padding: 0.1em;
205 margin-left: auto;
206 margin-right: auto;
207}
208
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
225/* Force spacing between image boxes */
226table.image + table.image, p.image + p.image
227{
228 margin-top: 1em;
229}
230
231table.image tr td img
232{
233 border: 1px solid #111111;
234}
235
236table.image tr td.image-caption
237{
238 font-style: italic;
239}
240
241img.latex-display
242{
243 display: block;
244 margin-left: auto;
245 margin-right: auto;
246 margin-top: 1ex;
247 margin-bottom: 1ex;
248}
249
250img.latex-inline
251{
252 display: inline;
253}
254
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
272@media print
273{
274 .rating-good
275 {
276 color: #000000;
277 }
278
279 .rating-bad
280 {
281 color: #CCCCCC;
282 }
283}
284
285/* Footer template */
286p.cke-footer
287{
288 white-space: pre;
289 font-family: monospace;
290 font-style: italic;
291 font-size: small;
292}
293
294p.cke-timestamp
295{
296 font-family: monospace;
297 font-size: x-small;
298}
299
300p.cke-buttons img
301{
302 border: 0px;
303}
304
305@media print
306{
307 p.cke-buttons, p.cke-footer
308 {
309 display: none;
310 }
311}