Merge "Get to the point about howto download Vector :p"
[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 /* Use same SVG support hack as mediawiki.legacy's shared.css */
123 background: url(images/magnify-clip-ltr.png) center center no-repeat;
124 /* @embed */
125 background-image: -webkit-linear-gradient(transparent, transparent), url(images/magnify-clip-ltr.svg);
126 /* @embed */
127 background-image: linear-gradient(transparent, transparent), url(images/magnify-clip-ltr.svg);
128 /* Don't annoy people who copy-paste everything too much */
129 -moz-user-select: none;
130 -webkit-user-select: none;
131 -ms-user-select: none;
132 user-select: none;
133 }
134
135 /* @noflip */
136 div.tright {
137 clear: right;
138 float: right;
139 border-width: .5em 0 .8em 1.4em;
140 }
141
142 /* @noflip */
143 div.tleft {
144 float: left;
145 clear: left;
146 margin-right: .5em;
147 border-width: .5em 1.4em .8em 0;
148 }
149
150 img.thumbborder {
151 border: 1px solid #dddddd;
152 }
153
154 /* Page history styling */
155 /* the auto-generated edit comments */
156 .autocomment {
157 color: #4b4b4b;
158 }
159
160 img {
161 border: none;
162 }
163
164 #toc,
165 .toc {
166 border: 1px solid #bba;
167 background-color: #f7f8ff;
168 padding: 5px;
169 font-size: 95%;
170 text-align: center;
171 display: -moz-inline-block;
172 display: inline-block;
173 display: table;
174
175 /* IE7 and earlier */
176 zoom: 1;
177 *display: inline;
178
179 padding: 7px;
180 }
181
182 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
183 table#toc,
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 table.toc td {
191 padding: 0;
192 }
193
194 #toc h2,
195 .toc h2 {
196 display: inline;
197 border: none;
198 padding: 0;
199 font-size: 100%;
200 font-weight: bold;
201 }
202
203 #toc ul,
204 .toc ul {
205 list-style-type: none;
206 list-style-image: none;
207 padding: 0;
208 text-align: left;
209 }
210
211 #toc ul ul,
212 .toc ul ul {
213 margin: 0 0 0 2em;
214 }
215
216 #toc .toctoggle,
217 .toc .toctoggle {
218 font-size: 94%;
219 }
220
221 .error {
222 color: red;
223 font-size: larger;
224 }
225
226 /* preference page with js-genrated toc */
227 #preftoc {
228 float: left;
229 margin: 1em 1em 1em 1em;
230 width: 13em;
231 }
232
233 #preftoc li {
234 border: 1px solid White;
235 }
236
237 #preftoc li.selected {
238 background-color: #f9f9f9;
239 border: 1px dashed #aaaaaa;
240 }
241
242 #preftoc a,
243 #preftoc a:active {
244 display: block;
245 color: #005189;
246 }
247
248 .mw-prefs-buttons {
249 clear: left;
250 float: left;
251 margin-top: 1em;
252 }
253
254 div.htmlform-tip {
255 font-size: 94%;
256 margin-top: 0.4em;
257 color: #666;
258 }
259
260 fieldset.prefsection {
261 margin-top: 1em;
262 }
263
264 fieldset.operaprefsection {
265 margin-left: 15em;
266 }
267
268 /* emulate center */
269 .center {
270 width: 100%;
271 text-align: center;
272 }
273
274 *.center * {
275 margin-left: auto;
276 margin-right: auto;
277 }
278
279 /* small for tables and similar */
280 .small {
281 font-size: 94%;
282 }
283
284 table.small {
285 font-size: 100%;
286 }
287
288 /* use this instead of #toc for page content */
289 .toccolours {
290 border: 1px solid #aaaaaa;
291 background-color: #f9f9f9;
292 padding: 5px;
293 font-size: 95%;
294 }
295
296 #siteNotice {
297 border: 1px solid #aaaaaa;
298 padding-left: 0.5em;
299 padding-right: 0.5em;
300 }
301
302 .sharedUploadNotice {
303 font-style: italic;
304 }
305
306 span.unpatrolled {
307 font-weight: bold;
308 color: red;
309 }
310
311 span.updatedmarker {
312 color: black;
313 background-color: #00FF00;
314 }
315
316 div.gallerybox {
317 width: 150px;
318 }
319
320 span.comment {
321 font-style: italic;
322 }
323
324 span.changedby {
325 font-size: 95%;
326 }
327
328 .previewnote {
329 text-align: center;
330 color: #cc0000;
331 }
332
333 .editExternally {
334 border-style: solid;
335 border-width: 1px;
336 border-color: gray;
337 background: #ffffff;
338 padding: 3px;
339 margin-top: 0.5em;
340 float: left;
341 font-size: small;
342 text-align: center;
343 }
344
345 .editExternallyHelp {
346 font-style: italic;
347 color: gray;
348 }
349
350 li span.deleted {
351 text-decoration: line-through;
352 color: #888;
353 font-style: italic;
354 }
355
356 /* Classes for Exif data display */
357 table.mw_metadata {
358 margin-left: 0.5em;
359 }
360
361 table.mw_metadata caption {
362 font-weight: bold;
363 }
364
365 table.mw_metadata th {
366 font-weight: normal;
367 }
368
369 table.mw_metadata td {
370 padding: 0.1em;
371 }
372
373 table.mw_metadata {
374 border: none;
375 border-collapse: collapse;
376 }
377
378 table.mw_metadata td,
379 table.mw_metadata th {
380 border: 1px solid #aaaaaa;
381 padding-left: 4px;
382 padding-right: 4px;
383 }
384
385 table.mw_metadata th {
386 background-color: #f9f9f9;
387 }
388
389 table.mw_metadata td {
390 background-color: #fcfcfc;
391 }
392
393 table.mw_metadata td.spacer {
394 background: inherit;
395 border-top: none;
396 border-bottom: none;
397 }
398
399 .visualClear {
400 clear: both;
401 }
402
403 /* Allmessages table */
404 #allmessagestable th {
405 background-color: #b2b2ff;
406 }
407
408 #allmessagestable tr.orig {
409 background-color: #ffe2e2;
410 }
411
412 #allmessagestable tr.new {
413 background-color: #e2ffe2;
414 }
415
416 #allmessagestable tr.def {
417 background-color: #f0f0ff;
418 }
419
420 #jump-to-nav {
421 display: none;
422 }
423
424 div.multipageimagenavbox {
425 border: solid 1px silver;
426 padding: 4px;
427 margin: 1em;
428 background: #f0f0f0;
429 }
430
431 div.multipageimagenavbox div.thumb {
432 border: none;
433 margin-left: 2em;
434 margin-right: 2em;
435 }
436
437 div.multipageimagenavbox hr {
438 margin: 6px;
439 }
440
441 table.multipageimage td {
442 text-align: center;
443 }
444
445 .templatesUsed {
446 margin-top: 1em;
447 }
448
449 .MediaTransformError {
450 border: thin solid #777;
451 background-color: #ccc;
452 padding: 0.1em;
453 }
454
455 .MediaTransformError td {
456 text-align: center;
457 vertical-align: middle;
458 font-size: 90%;
459 }
460
461 form#specialpages {
462 display: inline;
463 }
464
465 body {
466 direction: ltr;
467 unicode-bidi: embed;
468 background-color: #ffffec;
469 }
470
471 body.ns-0 {
472 background-color: white;
473 }
474
475 /** RTL specific CSS starts here **/
476
477 /**
478 * Lists:
479 * The following lines don't have a visible effect on non-Gecko browsers
480 * They fix a problem with Gecko browsers rendering lists to the right of
481 * left-floated objects in an RTL layout.
482 */
483 /* @noflip */
484 html > body.rtl div#article ul {
485 display: table;
486 }
487
488 /* @noflip */
489 html > body.rtl .mw-body ul#filetoc {
490 display: block;
491 }
492
493 /* RTL specific CSS ends here **/