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