Remove tocindent and tocinline from print stylesheet. These seem to have been unused...
[lhc/web/wiklou.git] / skins / common / commonPrint.css
1 /**
2 * MediaWiki Print style sheet for CSS2-capable browsers.
3 * Copyright Gabriel Wicke, http://www.aulinx.de/
4 *
5 * Derived from the plone (http://plone.org/) styles
6 * Copyright Alexander Limi
7 */
8
9 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
10 a.stub,
11 a.new {
12 color: #ba0000;
13 text-decoration: none;
14 }
15
16 #toc {
17 border: 1px solid #aaaaaa;
18 background-color: #f9f9f9;
19 padding: 5px;
20 }
21
22 /* images */
23 div.floatright {
24 float: right;
25 clear: right;
26 position: relative;
27 margin: 0.5em 0 0.8em 1.4em;
28 }
29 div.floatright p {
30 font-style: italic;
31 }
32 div.floatleft {
33 float: left;
34 clear: left;
35 position: relative;
36 margin: 0.5em 1.4em 0.8em 0;
37 }
38 div.floatleft p {
39 font-style: italic;
40 }
41 div.center {
42 text-align: center;
43 }
44
45 /* thumbnails */
46 div.thumb {
47 border: none;
48 width: auto;
49 margin-top: 0.5em;
50 margin-bottom: 0.8em;
51 background-color: transparent;
52 }
53 div.thumbinner {
54 border:1px solid #cccccc;
55 padding: 3px !important;
56 background-color: White;
57 font-size: 94%;
58 text-align: center;
59 overflow: hidden;
60 }
61 html .thumbimage {
62 border: 1px solid #cccccc;
63 }
64 html .thumbcaption {
65 border: none;
66 text-align: left;
67 line-height: 1.4em;
68 padding: 3px !important;
69 font-size: 94%;
70 }
71
72 div.magnify {
73 display: none;
74 }
75 /* @noflip */
76 div.tright {
77 float: right;
78 clear: right;
79 margin: 0.5em 0 0.8em 1.4em;
80 }
81 /* @noflip */
82 div.tleft {
83 float: left;
84 clear: left;
85 margin: 0.5em 1.4em 0.8em 0;
86 }
87 img.thumbborder {
88 border: 1px solid #dddddd;
89 }
90
91 /* table standards */
92 table.rimage {
93 float: right;
94 width: 1pt;
95 position: relative;
96 margin-left: 1em;
97 margin-bottom: 1em;
98 text-align: center;
99 }
100
101 body {
102 background: white;
103 color: black;
104 margin: 0;
105 padding: 0;
106 }
107
108 .noprint,
109 div#jump-to-nav,
110 .mw-jump,
111 div.top,
112 div#column-one,
113 #colophon,
114 .editsection,
115 .toctoggle,
116 .tochidden,
117 div#f-poweredbyico,
118 div#f-copyrightico,
119 li#viewcount,
120 li#about,
121 li#disclaimer,
122 li#privacy,
123 #footer-places,
124 .mw-hidden-catlinks,
125 tr.mw-metadata-show-hide-extended,
126 span.mw-filepage-other-resolutions,
127 #filetoc {
128 /* Hides all the elements irrelevant for printing */
129 display: none;
130 }
131
132 ul {
133 list-style-type: square;
134 }
135
136 #content {
137 background: none;
138 border: none !important;
139 padding: 0 !important;
140 margin: 0 !important;
141 direction: ltr;
142 }
143 #footer {
144 background : white;
145 color : black;
146 margin-top: 1em;
147 border-top: 1px solid #AAA;
148 direction: ltr;
149 }
150
151 h1, h2, h3, h4, h5, h6 {
152 font-weight: bold;
153 }
154
155 p, .documentDescription {
156 margin: 1em 0 !important;
157 line-height: 1.2em;
158 }
159
160 .tocindent p {
161 margin: 0 0 0 0 !important;
162 }
163
164 pre {
165 border: 1pt dashed black;
166 white-space: pre;
167 font-size: 8pt;
168 overflow: auto;
169 padding: 1em 0;
170 background: white;
171 color: black;
172 }
173
174 table.listing,
175 table.listing td {
176 border: 1pt solid black;
177 border-collapse: collapse;
178 }
179
180 a {
181 color: black !important;
182 background: none !important;
183 padding: 0 !important;
184 }
185
186 a:link, a:visited {
187 color: #520;
188 background: transparent;
189 text-decoration: underline;
190 }
191
192 #content a.external.text:after,
193 #content a.external.autonumber:after {
194 /* Expand URLs for printing */
195 content: " (" attr(href) ") ";
196 }
197
198 #globalWrapper {
199 width: 100% !important;
200 min-width: 0 !important;
201 }
202
203 #content {
204 background: white;
205 color: black;
206 }
207
208 #column-content {
209 margin: 0 !important;
210 }
211
212 #column-content #content {
213 padding: 1em;
214 margin: 0 !important;
215 }
216
217 /* MSIE/Win doesn't understand 'inherit' */
218 a,
219 a.external,
220 a.new,
221 a.stub {
222 color: black !important;
223 text-decoration: none !important;
224 }
225
226 /* Continue ... */
227 a,
228 a.external,
229 a.new,
230 a.stub {
231 color: inherit !important;
232 text-decoration: inherit !important;
233 }
234
235 img {
236 border: none;
237 vertical-align: middle;
238 }
239
240 /* math */
241 span.texhtml {
242 font-family: serif;
243 }
244
245 #siteNotice {
246 display: none;
247 }
248
249 /* Galleries (see shared.css for more info) */
250 li.gallerybox {
251 vertical-align: top;
252 border: solid 2px white;
253 display: -moz-inline-box;
254 display: inline-block;
255 }
256
257 ul.gallery, li.gallerybox {
258 zoom: 1;
259 *display: inline;
260 }
261
262 ul.gallery {
263 margin: 2px;
264 padding: 2px;
265 display: block;
266 }
267
268 li.gallerycaption {
269 font-weight: bold;
270 text-align: center;
271 display: block;
272 word-wrap: break-word;
273 }
274
275 li.gallerybox div.thumb {
276 text-align: center;
277 border: 1px solid #ccc;
278 margin: 2px;
279 }
280
281 div.gallerytext {
282 overflow: hidden;
283 font-size: 94%;
284 padding: 2px 4px;
285 word-wrap: break-word;
286 }
287
288 /**
289 * Diff rendering
290 */
291 table.diff {
292 background: white;
293 }
294 td.diff-otitle {
295 background: #ffffff;
296 }
297 td.diff-ntitle {
298 background: #ffffff;
299 }
300 td.diff-addedline {
301 background: #ccffcc;
302 font-size: smaller;
303 border: solid 2px black;
304 }
305 td.diff-deletedline {
306 background: #ffffaa;
307 font-size: smaller;
308 border: dotted 2px black;
309 }
310 td.diff-context {
311 background: #eeeeee;
312 font-size: smaller;
313 }
314 .diffchange {
315 color: silver;
316 font-weight: bold;
317 text-decoration: underline;
318 }
319
320 /**
321 * Table rendering
322 * As on shared.css but with white background.
323 */
324 table.wikitable,
325 table.mw_metadata {
326 margin: 1em 1em 1em 0;
327 border: 1px #aaa solid;
328 background: white;
329 border-collapse: collapse;
330 }
331 .wikitable th, .wikitable td,
332 .mw_metadata th, .mw_metadata td {
333 border: 1px #aaa solid;
334 padding: 0.2em;
335 }
336 .wikitable th,
337 .mw_metadata th {
338 text-align: center;
339 background: white;
340 font-weight: bold;
341 }
342 .wikitable caption,
343 .mw_metadata caption {
344 font-weight: bold;
345 }
346
347 a.sortheader {
348 margin: 0 0.3em;
349 }
350
351 /* Some pagination options */
352 .wikitable, .thumb, img {
353 page-break-inside: avoid;
354 }
355 h2, h3, h4, h5, h6, h7 {
356 page-break-after: avoid;
357 }
358 p {
359 widows: 3;
360 orphans: 3;
361 }
362
363 /**
364 * Categories
365 */
366 .catlinks ul {
367 display: inline;
368 margin: 0;
369 padding: 0;
370 list-style: none;
371 list-style-type: none;
372 list-style-image: none;
373 vertical-align: middle !ie;
374 }
375
376 .catlinks li {
377 display: inline-block;
378 line-height: 1.15em;
379 padding: 0 .4em;
380 border-left: 1px solid #AAA;
381 margin: 0.1em 0;
382 zoom: 1;
383 display: inline !ie;
384 }
385
386 .catlinks li:first-child {
387 padding-left: .2em;
388 border-left: none;
389 }