8accd982aef6867270b8c5835477f64e0e64cb41
[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;
157 line-height: 1.2em;
158 }
159
160 pre {
161 border: 1pt dashed black;
162 white-space: pre;
163 font-size: 8pt;
164 overflow: auto;
165 padding: 1em 0;
166 background: white;
167 color: black;
168 }
169
170 table.listing,
171 table.listing td {
172 border: 1pt solid black;
173 border-collapse: collapse;
174 }
175
176 a {
177 color: black !important;
178 background: none !important;
179 padding: 0 !important;
180 }
181
182 a:link, a:visited {
183 color: #520;
184 background: transparent;
185 text-decoration: underline;
186 }
187
188 #content a.external.text:after,
189 #content a.external.autonumber:after {
190 /* Expand URLs for printing */
191 content: " (" attr(href) ") ";
192 }
193
194 #globalWrapper {
195 width: 100% !important;
196 min-width: 0 !important;
197 }
198
199 #content {
200 background: white;
201 color: black;
202 }
203
204 #column-content {
205 margin: 0 !important;
206 }
207
208 #column-content #content {
209 padding: 1em;
210 margin: 0 !important;
211 }
212
213 /* MSIE/Win doesn't understand 'inherit' */
214 a,
215 a.external,
216 a.new,
217 a.stub {
218 color: black !important;
219 text-decoration: none !important;
220 }
221
222 /* Continue ... */
223 a,
224 a.external,
225 a.new,
226 a.stub {
227 color: inherit !important;
228 text-decoration: inherit !important;
229 }
230
231 img {
232 border: none;
233 vertical-align: middle;
234 }
235
236 /* math */
237 span.texhtml {
238 font-family: serif;
239 }
240
241 #siteNotice {
242 display: none;
243 }
244
245 /* Galleries (see shared.css for more info) */
246 li.gallerybox {
247 vertical-align: top;
248 border: solid 2px white;
249 display: -moz-inline-box;
250 display: inline-block;
251 }
252
253 ul.gallery, li.gallerybox {
254 zoom: 1;
255 *display: inline;
256 }
257
258 ul.gallery {
259 margin: 2px;
260 padding: 2px;
261 display: block;
262 }
263
264 li.gallerycaption {
265 font-weight: bold;
266 text-align: center;
267 display: block;
268 word-wrap: break-word;
269 }
270
271 li.gallerybox div.thumb {
272 text-align: center;
273 border: 1px solid #ccc;
274 margin: 2px;
275 }
276
277 div.gallerytext {
278 overflow: hidden;
279 font-size: 94%;
280 padding: 2px 4px;
281 word-wrap: break-word;
282 }
283
284 /**
285 * Diff rendering
286 */
287 table.diff {
288 background: white;
289 }
290 td.diff-otitle {
291 background: #ffffff;
292 }
293 td.diff-ntitle {
294 background: #ffffff;
295 }
296 td.diff-addedline {
297 background: #ccffcc;
298 font-size: smaller;
299 border: solid 2px black;
300 }
301 td.diff-deletedline {
302 background: #ffffaa;
303 font-size: smaller;
304 border: dotted 2px black;
305 }
306 td.diff-context {
307 background: #eeeeee;
308 font-size: smaller;
309 }
310 .diffchange {
311 color: silver;
312 font-weight: bold;
313 text-decoration: underline;
314 }
315
316 /**
317 * Table rendering
318 * As on shared.css but with white background.
319 */
320 table.wikitable,
321 table.mw_metadata {
322 margin: 1em 1em 1em 0;
323 border: 1px #aaa solid;
324 background: white;
325 border-collapse: collapse;
326 }
327 .wikitable th, .wikitable td,
328 .mw_metadata th, .mw_metadata td {
329 border: 1px #aaa solid;
330 padding: 0.2em;
331 }
332 .wikitable th,
333 .mw_metadata th {
334 text-align: center;
335 background: white;
336 font-weight: bold;
337 }
338 .wikitable caption,
339 .mw_metadata caption {
340 font-weight: bold;
341 }
342
343 a.sortheader {
344 margin: 0 0.3em;
345 }
346
347 /* Some pagination options */
348 .wikitable, .thumb, img {
349 page-break-inside: avoid;
350 }
351 h2, h3, h4, h5, h6, h7 {
352 page-break-after: avoid;
353 }
354 p {
355 widows: 3;
356 orphans: 3;
357 }
358
359 /**
360 * Categories
361 */
362 .catlinks ul {
363 display: inline;
364 margin: 0;
365 padding: 0;
366 list-style: none;
367 list-style-type: none;
368 list-style-image: none;
369 vertical-align: middle !ie;
370 }
371
372 .catlinks li {
373 display: inline-block;
374 line-height: 1.15em;
375 padding: 0 .4em;
376 border-left: 1px solid #AAA;
377 margin: 0.1em 0;
378 zoom: 1;
379 display: inline !ie;
380 }
381
382 .catlinks li:first-child {
383 padding-left: .2em;
384 border-left: none;
385 }