Merge "Rewrite DumpRev to not always fatal out"
[lhc/web/wiklou.git] / resources / src / mediawiki.legacy / oldshared.css
1 /**
2 * oldshared.css
3 * This file contains CSS settings common to Wikistandard, Nostalgia and
4 * CologneBlue, the old pre-Monobook skins
5 */
6
7 /* For clarity, explicitly state some recommendations from
8 * https://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right
9 */
10
11 h1 {
12 font-size: 2em;
13 }
14
15 h2 {
16 font-size: 1.5em;
17 }
18
19 h3 {
20 font-size: 1.17em;
21 }
22
23 h4 {
24 font-size: 1.11em;
25 }
26
27 h5 {
28 font-size: 1.05em;
29 }
30
31 h6 {
32 font-size: 1em;
33 }
34
35 h1,
36 h2,
37 h3,
38 h4,
39 h5,
40 h6 {
41 font-weight: bolder;
42 }
43
44 /* Now the custom parts */
45
46 #footer {
47 clear: both;
48 }
49
50 /* images */
51 /* @noflip */
52 div.floatright {
53 float: right;
54 clear: right;
55 margin: 0 0 1em 1em;
56 }
57
58 /* @noflip */
59 div.floatright p {
60 font-style: italic;
61 }
62
63 /* @noflip */
64 div.floatleft {
65 float: left;
66 clear: left;
67 margin: 0.3em 0.5em 0.5em 0;
68 }
69
70 /* @noflip */
71 div.floatleft p {
72 font-style: italic;
73 }
74
75 /* table standards */
76 table.rimage {
77 float: right;
78 margin-left: 1em;
79 margin-bottom: 1em;
80 text-align: center;
81 font-size: smaller;
82 }
83
84 /* thumbnails */
85 div.thumb {
86 margin-bottom: 0.5em;
87 border-style: solid;
88 border-color: #fff;
89 width: auto;
90 }
91
92 div.thumbinner {
93 border: 1px solid #ccc;
94 padding: 3px;
95 background-color: #f9f9f9;
96 font-size: 94%;
97 text-align: center;
98 /* new block formatting context,
99 * to clear background from floating content */
100 overflow: hidden;
101 }
102
103 html .thumbimage {
104 border: 1px solid #ccc;
105 }
106
107 html .thumbcaption {
108 border: 0;
109 line-height: 1.4em;
110 padding: 3px;
111 font-size: 94%;
112 text-align: left;
113 }
114
115 div.magnify {
116 float: right;
117 margin-left: 3px;
118 }
119
120 div.magnify a {
121 display: block;
122 /* Hide the text… */
123 text-indent: 15px;
124 white-space: nowrap;
125 overflow: hidden;
126 /* …and replace it with the image */
127 width: 15px;
128 height: 11px;
129 /* Use same SVG support hack as mediawiki.legacy's shared.css */
130 background: url( images/magnify-clip-ltr.png ) center center no-repeat;
131 /* @embed */
132 background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
133 /* Don't annoy people who copy-paste everything too much */
134 -moz-user-select: none;
135 -webkit-user-select: none;
136 -ms-user-select: none;
137 user-select: none;
138 }
139
140 /* @noflip */
141 div.tright {
142 clear: right;
143 float: right;
144 border-width: 0.5em 0 0.8em 1.4em;
145 }
146
147 /* @noflip */
148 div.tleft {
149 float: left;
150 clear: left;
151 margin-right: 0.5em;
152 border-width: 0.5em 1.4em 0.8em 0;
153 }
154
155 img.thumbborder {
156 border: 1px solid #ddd;
157 }
158
159 /* Page history styling */
160 /* the auto-generated edit comments */
161 .autocomment {
162 color: #4b4b4b;
163 }
164
165 img {
166 border: 0;
167 }
168
169 .toc {
170 border: 1px solid #bba;
171 background-color: #f7f8ff;
172 padding: 7px;
173 font-size: 95%;
174 text-align: center;
175 display: inline-block;
176 display: table;
177
178 /* IE7 and earlier */
179 zoom: 1;
180 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
181 }
182
183 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
184 table.toc {
185 border-collapse: collapse;
186 }
187
188 /* Remove additional paddings inside table-cells that are not present in <div>s */
189 table.toc td {
190 padding: 0;
191 }
192
193 .toc h2 {
194 display: inline;
195 border: 0;
196 padding: 0;
197 font-size: 100%;
198 font-weight: bold;
199 }
200
201 .toc ul {
202 list-style-type: none;
203 list-style-image: none;
204 padding: 0;
205 text-align: left;
206 }
207
208 .toc ul ul {
209 margin: 0 0 0 2em;
210 }
211
212 .error {
213 color: #f00;
214 font-size: larger;
215 }
216
217 /* preference page with js-genrated toc */
218 #preftoc {
219 float: left;
220 margin: 1em 1em 1em 1em;
221 width: 13em;
222 }
223
224 #preftoc li {
225 border: 1px solid #fff;
226 }
227
228 #preftoc li.selected {
229 background-color: #f9f9f9;
230 border: 1px dashed #aaa;
231 }
232
233 #preftoc a,
234 #preftoc a:active {
235 display: block;
236 color: #005189;
237 }
238
239 .mw-prefs-buttons {
240 clear: left;
241 float: left;
242 margin-top: 1em;
243 }
244
245 div.htmlform-tip {
246 font-size: 94%;
247 margin-top: 0.4em;
248 color: #666;
249 }
250
251 /* emulate center */
252 .center {
253 width: 100%;
254 text-align: center;
255 }
256
257 *.center * {
258 margin-left: auto;
259 margin-right: auto;
260 }
261
262 /* small for tables and similar */
263 .small {
264 font-size: 94%;
265 }
266
267 table.small {
268 font-size: 100%;
269 }
270
271 /* use this instead of .toc for page content */
272 .toccolours {
273 border: 1px solid #aaa;
274 background-color: #f9f9f9;
275 padding: 5px;
276 font-size: 95%;
277 }
278
279 #siteNotice {
280 border: 1px solid #aaa;
281 padding-left: 0.5em;
282 padding-right: 0.5em;
283 }
284
285 .sharedUploadNotice {
286 font-style: italic;
287 }
288
289 span.unpatrolled {
290 font-weight: bold;
291 color: #f00;
292 }
293
294 div.gallerybox {
295 width: 150px;
296 }
297
298 span.comment {
299 font-style: italic;
300 }
301
302 .previewnote {
303 text-align: center;
304 color: #c00;
305 }
306
307 .editExternally {
308 border: 1px solid #808080;
309 background: #fff;
310 padding: 3px;
311 margin-top: 0.5em;
312 float: left;
313 font-size: small;
314 text-align: center;
315 }
316
317 .editExternallyHelp {
318 font-style: italic;
319 color: #808080;
320 }
321
322 li span.deleted {
323 text-decoration: line-through;
324 color: #888;
325 font-style: italic;
326 }
327
328 /* Classes for Exif data display */
329 table.mw_metadata {
330 margin-left: 0.5em;
331 border: 0;
332 border-collapse: collapse;
333 }
334
335 table.mw_metadata caption {
336 font-weight: bold;
337 }
338
339 table.mw_metadata td,
340 table.mw_metadata th {
341 border: 1px solid #aaa;
342 padding-left: 4px;
343 padding-right: 4px;
344 }
345
346 table.mw_metadata th {
347 background-color: #f9f9f9;
348 font-weight: normal;
349 }
350
351 table.mw_metadata td {
352 background-color: #fcfcfc;
353 padding-top: 0.1em;
354 padding-bottom: 0.1em;
355 }
356
357 table.mw_metadata td.spacer {
358 background: inherit;
359 border-width: 0 1px;
360 }
361
362 .visualClear {
363 clear: both;
364 }
365
366 /* Allmessages table */
367 #allmessagestable th {
368 background-color: #b2b2ff;
369 }
370
371 #allmessagestable tr.orig {
372 background-color: #ffe2e2;
373 }
374
375 #allmessagestable tr.new {
376 background-color: #e2ffe2;
377 }
378
379 #allmessagestable tr.def {
380 background-color: #f0f0ff;
381 }
382
383 #jump-to-nav {
384 display: none;
385 }
386
387 div.multipageimagenavbox {
388 border: 1px solid #c0c0c0;
389 padding: 4px;
390 margin: 1em;
391 background: #f0f0f0;
392 }
393
394 div.multipageimagenavbox div.thumb {
395 border: 0;
396 margin-left: 2em;
397 margin-right: 2em;
398 }
399
400 div.multipageimagenavbox hr {
401 margin: 6px;
402 }
403
404 table.multipageimage td {
405 text-align: center;
406 }
407
408 .templatesUsed {
409 margin-top: 1em;
410 }
411
412 .MediaTransformError {
413 border: thin solid #777;
414 background-color: #ccc;
415 padding: 0.1em;
416 }
417
418 .MediaTransformError td {
419 text-align: center;
420 vertical-align: middle;
421 font-size: 90%;
422 }
423
424 form#specialpages {
425 display: inline;
426 }
427
428 body {
429 direction: ltr;
430 unicode-bidi: embed;
431 background-color: #ffffec;
432 }
433
434 body.ns-0 {
435 background-color: #fff;
436 }
437
438 /** RTL specific CSS starts here **/
439
440 /**
441 * Lists:
442 * The following lines don't have a visible effect on non-Gecko browsers
443 * They fix a problem with Gecko browsers rendering lists to the right of
444 * left-floated objects in an RTL layout.
445 */
446 /* @noflip */
447 html > body.rtl div#article ul {
448 display: table;
449 }
450
451 /* @noflip */
452 html > body.rtl .mw-body ul#filetoc {
453 display: block;
454 }
455
456 /** RTL specific CSS ends here **/