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