jquery.accessKeyLabel: make modifier info public
[lhc/web/wiklou.git] / resources / src / mediawiki.legacy / 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
11 /**
12 * Hide all the elements irrelevant for printing
13 */
14 .noprint,
15 div#jump-to-nav,
16 .mw-jump,
17 div.top,
18 div#column-one,
19 .mw-editsection,
20 .mw-editsection-like,
21 div#f-poweredbyico,
22 div#f-copyrightico,
23 li#about,
24 li#disclaimer,
25 li#mobileview,
26 li#privacy,
27 #footer-places,
28 .mw-hidden-catlinks,
29 .usermessage,
30 .patrollink,
31 .ns-0 .mw-redirectedfrom,
32 #mw-navigation,
33 #siteNotice {
34 display: none;
35 }
36
37 /**
38 * Pagination
39 */
40 .wikitable, .thumb, img {
41 page-break-inside: avoid;
42 }
43
44 h2, h3, h4, h5, h6 {
45 page-break-after: avoid;
46 }
47
48 p {
49 widows: 3;
50 orphans: 3;
51 }
52
53 /**
54 * Generic HTML elements
55 */
56 body {
57 background: white;
58 color: black;
59 margin: 0;
60 padding: 0;
61 }
62
63 ul {
64 list-style-type: square;
65 }
66
67 h1, h2, h3, h4, h5, h6 {
68 font-weight: bold;
69 }
70
71 dt {
72 font-weight: bold;
73 }
74
75 p {
76 margin: 1em 0;
77 line-height: 1.2em;
78 }
79
80 pre, .mw-code {
81 border: 1pt dashed black;
82 white-space: pre;
83 font-size: 8pt;
84 overflow: auto;
85 padding: 1em 0;
86 background: white;
87 color: black;
88 }
89
90 /**
91 * MediaWiki-specific elements
92 */
93 #globalWrapper {
94 width: 100% !important;
95 min-width: 0 !important;
96 }
97
98 .mw-body {
99 background: white;
100 border: none !important;
101 padding: 0 !important;
102 margin: 0 !important;
103 direction: ltr;
104 color: black;
105 }
106
107 #column-content {
108 margin: 0 !important;
109 }
110
111 #column-content .mw-body {
112 padding: 1em;
113 margin: 0 !important;
114 }
115
116 #toc {
117 border: 1px solid #aaaaaa;
118 background-color: #f9f9f9;
119 padding: 5px;
120 display: inline-block;
121 display: table;
122 /* IE7 and earlier */
123 zoom: 1;
124 *display: inline;
125 }
126
127 /* Separate columns for tocnumber and toctext */
128 /* Ignored by IE7 and lower */
129 .tocnumber,
130 .toctext {
131 display: table-cell;
132 }
133
134 /* Space between the columns for tocnumber and toctext */
135 /* Ignored by IE7 and lower */
136 .tocnumber:after {
137 content: "";
138 padding-right: 0.5em;
139 }
140
141 #footer {
142 background: white;
143 color: black;
144 margin-top: 1em;
145 border-top: 1px solid #AAA;
146 direction: ltr;
147 }
148
149 img {
150 border: none;
151 vertical-align: middle;
152 }
153
154 /**
155 * Links
156 */
157 a {
158 background: none !important;
159 padding: 0 !important;
160 }
161
162 /* Expand URLs for printing */
163 .mw-body a.external.text:after,
164 .mw-body a.external.autonumber:after {
165 content: " (" attr(href) ")";
166 }
167
168 /* Expand protocol-relative URLs for printing */
169 .mw-body a.external.text[href^='//']:after,
170 .mw-body a.external.autonumber[href^='//']:after {
171 content: " (https:" attr(href) ")";
172 }
173
174 /* MSIE/Win doesn't understand 'inherit' */
175 a,
176 a.external,
177 a.new,
178 a.stub {
179 color: black !important;
180 text-decoration: none !important;
181 }
182
183 /* Continue ... */
184 a,
185 a.external,
186 a.new,
187 a.stub {
188 color: inherit !important;
189 text-decoration: inherit !important;
190 }
191
192 /**
193 * Floating divs
194 */
195 /* @noflip */
196 div.floatright {
197 float: right;
198 clear: right;
199 position: relative;
200 margin: 0.5em 0 0.8em 1.4em;
201 }
202
203 div.floatright p {
204 font-style: italic;
205 }
206
207 /* @noflip */
208 div.floatleft {
209 float: left;
210 clear: left;
211 position: relative;
212 margin: 0.5em 1.4em 0.8em 0;
213 }
214
215 div.floatleft p {
216 font-style: italic;
217 }
218
219 div.center {
220 text-align: center;
221 }
222
223 /**
224 * Thumbnails
225 */
226 div.thumb {
227 border: none;
228 width: auto;
229 margin-top: 0.5em;
230 margin-bottom: 0.8em;
231 background-color: transparent;
232 }
233
234 div.thumbinner {
235 border: 1px solid #cccccc;
236 padding: 3px !important;
237 background-color: White;
238 font-size: 94%;
239 text-align: center;
240 overflow: hidden;
241 }
242
243 html .thumbimage {
244 border: 1px solid #cccccc;
245 }
246
247 html .thumbcaption {
248 border: none;
249 text-align: left;
250 line-height: 1.4em;
251 padding: 3px !important;
252 font-size: 94%;
253 }
254
255 div.magnify {
256 display: none;
257 }
258
259 /* @noflip */
260 div.tright {
261 float: right;
262 clear: right;
263 margin: 0.5em 0 0.8em 1.4em;
264 }
265
266 /* @noflip */
267 div.tleft {
268 float: left;
269 clear: left;
270 margin: 0.5em 1.4em 0.8em 0;
271 }
272
273 img.thumbborder {
274 border: 1px solid #dddddd;
275 }
276
277 /**
278 * Table rendering
279 * As on shared.css but with white background.
280 */
281 table.wikitable,
282 table.mw_metadata {
283 margin: 1em 0;
284 border: 1px #aaa solid;
285 background: white;
286 border-collapse: collapse;
287 }
288
289 table.wikitable > tr > th, table.wikitable > tr > td,
290 table.wikitable > * > tr > th, table.wikitable > * > tr > td,
291 .mw_metadata th, .mw_metadata td {
292 border: 1px #aaa solid;
293 padding: 0.2em;
294 }
295
296 table.wikitable > tr > th,
297 table.wikitable > * > tr > th,
298 .mw_metadata th {
299 text-align: center;
300 background: white;
301 font-weight: bold;
302 }
303
304 table.wikitable > caption,
305 .mw_metadata caption {
306 font-weight: bold;
307 }
308
309 table.listing,
310 table.listing td {
311 border: 1pt solid black;
312 border-collapse: collapse;
313 }
314
315 a.sortheader {
316 margin: 0 0.3em;
317 }
318
319 /**
320 * Categories
321 */
322 .catlinks ul {
323 display: inline;
324 margin: 0;
325 padding: 0;
326 list-style: none;
327 list-style-type: none;
328 list-style-image: none;
329 vertical-align: middle !ie;
330 }
331
332 .catlinks li {
333 display: inline-block;
334 line-height: 1.15em;
335 padding: 0 .4em;
336 border-left: 1px solid #AAA;
337 margin: 0.1em 0;
338 zoom: 1;
339 display: inline !ie;
340 }
341
342 .catlinks li:first-child {
343 padding-left: .2em;
344 border-left: none;
345 }
346
347 .printfooter {
348 padding: 1em 0 1em 0;
349 }