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