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