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