(bug 47070) check content model namespace on import.
[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 .mw-editsection,
115 .mw-editsection-like,
116 .toctoggle,
117 .tochidden,
118 div#f-poweredbyico,
119 div#f-copyrightico,
120 li#viewcount,
121 li#about,
122 li#disclaimer,
123 li#mobileview,
124 li#privacy,
125 #footer-places,
126 .mw-hidden-catlinks,
127 tr.mw-metadata-show-hide-extended,
128 span.mw-filepage-other-resolutions,
129 #filetoc,
130 .usermessage,
131 .patrollink,
132 #mw-navigation {
133 /* Hides all the elements irrelevant for printing */
134 display: none;
135 }
136
137 ul {
138 list-style-type: square;
139 }
140
141 #content {
142 background: none;
143 border: none !important;
144 padding: 0 !important;
145 margin: 0 !important;
146 direction: ltr;
147 }
148 #footer {
149 background : white;
150 color : black;
151 margin-top: 1em;
152 border-top: 1px solid #AAA;
153 direction: ltr;
154 }
155
156 h1, h2, h3, h4, h5, h6 {
157 font-weight: bold;
158 }
159
160 p {
161 margin: 1em 0;
162 line-height: 1.2em;
163 }
164
165 pre, .mw-code {
166 border: 1pt dashed black;
167 white-space: pre;
168 font-size: 8pt;
169 overflow: auto;
170 padding: 1em 0;
171 background: white;
172 color: black;
173 }
174
175 table.listing,
176 table.listing td {
177 border: 1pt solid black;
178 border-collapse: collapse;
179 }
180
181 a {
182 color: black !important;
183 background: none !important;
184 padding: 0 !important;
185 }
186
187 a:link, a:visited {
188 color: #520;
189 background: transparent;
190 text-decoration: underline;
191 }
192
193 #content a.external.text:after,
194 #content a.external.autonumber:after {
195 /* Expand URLs for printing */
196 content: " (" attr(href) ")";
197 }
198
199 #globalWrapper {
200 width: 100% !important;
201 min-width: 0 !important;
202 }
203
204 #content {
205 background: white;
206 color: black;
207 }
208
209 #column-content {
210 margin: 0 !important;
211 }
212
213 #column-content #content {
214 padding: 1em;
215 margin: 0 !important;
216 }
217
218 /* MSIE/Win doesn't understand 'inherit' */
219 a,
220 a.external,
221 a.new,
222 a.stub {
223 color: black !important;
224 text-decoration: none !important;
225 }
226
227 /* Continue ... */
228 a,
229 a.external,
230 a.new,
231 a.stub {
232 color: inherit !important;
233 text-decoration: inherit !important;
234 }
235
236 img {
237 border: none;
238 vertical-align: middle;
239 }
240
241 /* math */
242 span.texhtml {
243 font-family: serif;
244 }
245
246 #siteNotice {
247 display: none;
248 }
249
250 /* Galleries (see shared.css for more info) */
251 li.gallerybox {
252 vertical-align: top;
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 0;
327 border: 1px #aaa solid;
328 background: white;
329 border-collapse: collapse;
330 }
331 table.wikitable > tr > th, table.wikitable > tr > td,
332 table.wikitable > * > tr > th, table.wikitable > * > tr > td,
333 .mw_metadata th, .mw_metadata td {
334 border: 1px #aaa solid;
335 padding: 0.2em;
336 }
337 table.wikitable > tr > th,
338 table.wikitable > * > tr > th,
339 .mw_metadata th {
340 text-align: center;
341 background: white;
342 font-weight: bold;
343 }
344 table.wikitable > caption,
345 .mw_metadata caption {
346 font-weight: bold;
347 }
348
349 a.sortheader {
350 margin: 0 0.3em;
351 }
352
353 /* Some pagination options */
354 .wikitable, .thumb, img {
355 page-break-inside: avoid;
356 }
357 h2, h3, h4, h5, h6 {
358 page-break-after: avoid;
359 }
360 p {
361 widows: 3;
362 orphans: 3;
363 }
364
365 /**
366 * Categories
367 */
368 .catlinks ul {
369 display: inline;
370 margin: 0;
371 padding: 0;
372 list-style: none;
373 list-style-type: none;
374 list-style-image: none;
375 vertical-align: middle !ie;
376 }
377
378 .catlinks li {
379 display: inline-block;
380 line-height: 1.15em;
381 padding: 0 .4em;
382 border-left: 1px solid #AAA;
383 margin: 0.1em 0;
384 zoom: 1;
385 display: inline !ie;
386 }
387
388 .catlinks li:first-child {
389 padding-left: .2em;
390 border-left: none;
391 }