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