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