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