9434ce17ca0f08485b44d66bb567b64d8626e2ad
[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, 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: #fff;
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 /* new block formatting context,
94 * to clear background from floating content */
95 overflow: hidden;
96 }
97
98 html .thumbimage {
99 border: 1px solid #ccc;
100 }
101
102 html .thumbcaption {
103 border: 0;
104 line-height: 1.4em;
105 padding: 3px;
106 font-size: 94%;
107 text-align: left;
108 }
109
110 div.magnify {
111 float: right;
112 margin-left: 3px;
113 }
114
115 div.magnify a {
116 display: block;
117 /* Hide the text… */
118 text-indent: 15px;
119 white-space: nowrap;
120 overflow: hidden;
121 /* …and replace it with the image */
122 width: 15px;
123 height: 11px;
124 /* Use same SVG support hack as mediawiki.legacy's shared.css */
125 background: url( images/magnify-clip-ltr.png ) center center no-repeat;
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 #ddd;
152 }
153
154 /* Page history styling */
155 /* the auto-generated edit comments */
156 .autocomment {
157 color: #4b4b4b;
158 }
159
160 img {
161 border: 0;
162 }
163
164 #toc,
165 .toc {
166 border: 1px solid #bba;
167 background-color: #f7f8ff;
168 padding: 7px;
169 font-size: 95%;
170 text-align: center;
171 display: inline-block;
172 display: table;
173
174 /* IE7 and earlier */
175 zoom: 1;
176 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
177 }
178
179 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
180 table#toc,
181 table.toc {
182 border-collapse: collapse;
183 }
184
185 /* Remove additional paddings inside table-cells that are not present in <div>s */
186 table#toc td,
187 table.toc td {
188 padding: 0;
189 }
190
191 #toc h2,
192 .toc h2 {
193 display: inline;
194 border: 0;
195 padding: 0;
196 font-size: 100%;
197 font-weight: bold;
198 }
199
200 #toc ul,
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 .toc ul ul {
210 margin: 0 0 0 2em;
211 }
212
213 .error {
214 color: #f00;
215 font-size: larger;
216 }
217
218 /* preference page with js-genrated toc */
219 #preftoc {
220 float: left;
221 margin: 1em 1em 1em 1em;
222 width: 13em;
223 }
224
225 #preftoc li {
226 border: 1px solid #fff;
227 }
228
229 #preftoc li.selected {
230 background-color: #f9f9f9;
231 border: 1px dashed #aaa;
232 }
233
234 #preftoc a,
235 #preftoc a:active {
236 display: block;
237 color: #005189;
238 }
239
240 .mw-prefs-buttons {
241 clear: left;
242 float: left;
243 margin-top: 1em;
244 }
245
246 div.htmlform-tip {
247 font-size: 94%;
248 margin-top: 0.4em;
249 color: #666;
250 }
251
252 /* emulate center */
253 .center {
254 width: 100%;
255 text-align: center;
256 }
257
258 *.center * {
259 margin-left: auto;
260 margin-right: auto;
261 }
262
263 /* small for tables and similar */
264 .small {
265 font-size: 94%;
266 }
267
268 table.small {
269 font-size: 100%;
270 }
271
272 /* use this instead of #toc for page content */
273 .toccolours {
274 border: 1px solid #aaa;
275 background-color: #f9f9f9;
276 padding: 5px;
277 font-size: 95%;
278 }
279
280 #siteNotice {
281 border: 1px solid #aaa;
282 padding-left: 0.5em;
283 padding-right: 0.5em;
284 }
285
286 .sharedUploadNotice {
287 font-style: italic;
288 }
289
290 span.unpatrolled {
291 font-weight: bold;
292 color: #f00;
293 }
294
295 div.gallerybox {
296 width: 150px;
297 }
298
299 span.comment {
300 font-style: italic;
301 }
302
303 .previewnote {
304 text-align: center;
305 color: #c00;
306 }
307
308 .editExternally {
309 border: 1px solid #808080;
310 background: #fff;
311 padding: 3px;
312 margin-top: 0.5em;
313 float: left;
314 font-size: small;
315 text-align: center;
316 }
317
318 .editExternallyHelp {
319 font-style: italic;
320 color: #808080;
321 }
322
323 li span.deleted {
324 text-decoration: line-through;
325 color: #888;
326 font-style: italic;
327 }
328
329 /* Classes for Exif data display */
330 table.mw_metadata {
331 margin-left: 0.5em;
332 }
333
334 table.mw_metadata caption {
335 font-weight: bold;
336 }
337
338 table.mw_metadata th {
339 font-weight: normal;
340 }
341
342 table.mw_metadata td {
343 padding: 0.1em;
344 }
345
346 table.mw_metadata {
347 border: 0;
348 border-collapse: collapse;
349 }
350
351 table.mw_metadata td,
352 table.mw_metadata th {
353 border: 1px solid #aaa;
354 padding-left: 4px;
355 padding-right: 4px;
356 }
357
358 table.mw_metadata th {
359 background-color: #f9f9f9;
360 }
361
362 table.mw_metadata td {
363 background-color: #fcfcfc;
364 }
365
366 table.mw_metadata td.spacer {
367 background: inherit;
368 border-width: 0 1px;
369 }
370
371 .visualClear {
372 clear: both;
373 }
374
375 /* Allmessages table */
376 #allmessagestable th {
377 background-color: #b2b2ff;
378 }
379
380 #allmessagestable tr.orig {
381 background-color: #ffe2e2;
382 }
383
384 #allmessagestable tr.new {
385 background-color: #e2ffe2;
386 }
387
388 #allmessagestable tr.def {
389 background-color: #f0f0ff;
390 }
391
392 #jump-to-nav {
393 display: none;
394 }
395
396 div.multipageimagenavbox {
397 border: 1px solid #c0c0c0;
398 padding: 4px;
399 margin: 1em;
400 background: #f0f0f0;
401 }
402
403 div.multipageimagenavbox div.thumb {
404 border: 0;
405 margin-left: 2em;
406 margin-right: 2em;
407 }
408
409 div.multipageimagenavbox hr {
410 margin: 6px;
411 }
412
413 table.multipageimage td {
414 text-align: center;
415 }
416
417 .templatesUsed {
418 margin-top: 1em;
419 }
420
421 .MediaTransformError {
422 border: thin solid #777;
423 background-color: #ccc;
424 padding: 0.1em;
425 }
426
427 .MediaTransformError td {
428 text-align: center;
429 vertical-align: middle;
430 font-size: 90%;
431 }
432
433 form#specialpages {
434 display: inline;
435 }
436
437 body {
438 direction: ltr;
439 unicode-bidi: embed;
440 background-color: #ffffec;
441 }
442
443 body.ns-0 {
444 background-color: #fff;
445 }
446
447 /** RTL specific CSS starts here **/
448
449 /**
450 * Lists:
451 * The following lines don't have a visible effect on non-Gecko browsers
452 * They fix a problem with Gecko browsers rendering lists to the right of
453 * left-floated objects in an RTL layout.
454 */
455 /* @noflip */
456 html > body.rtl div#article ul {
457 display: table;
458 }
459
460 /* @noflip */
461 html > body.rtl .mw-body ul#filetoc {
462 display: block;
463 }
464
465 /* RTL specific CSS ends here **/