Merge "language: Add generate-normalize-data maintenance script"
[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 /* 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: 0.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: 0.5em 0 0.8em 1.4em;
140 }
141
142 /* @noflip */
143 div.tleft {
144 float: left;
145 clear: left;
146 margin-right: 0.5em;
147 border-width: 0.5em 1.4em 0.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 border: 1px solid #bba;
166 background-color: #f7f8ff;
167 padding: 7px;
168 font-size: 95%;
169 text-align: center;
170 display: inline-block;
171 display: table;
172
173 /* IE7 and earlier */
174 zoom: 1;
175 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
176 }
177
178 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
179 table.toc {
180 border-collapse: collapse;
181 }
182
183 /* Remove additional paddings inside table-cells that are not present in <div>s */
184 table.toc td {
185 padding: 0;
186 }
187
188 .toc h2 {
189 display: inline;
190 border: 0;
191 padding: 0;
192 font-size: 100%;
193 font-weight: bold;
194 }
195
196 .toc ul {
197 list-style-type: none;
198 list-style-image: none;
199 padding: 0;
200 text-align: left;
201 }
202
203 .toc ul ul {
204 margin: 0 0 0 2em;
205 }
206
207 .error {
208 color: #f00;
209 font-size: larger;
210 }
211
212 /* preference page with js-genrated toc */
213 /* TODO: Delete #preftoc when Special:Preferences's non-OOUI mode is disabled */
214 #preftoc {
215 float: left;
216 margin: 1em 1em 1em 1em;
217 width: 13em;
218 }
219
220 #preftoc li {
221 border: 1px solid #fff;
222 }
223
224 #preftoc li.selected {
225 background-color: #f9f9f9;
226 border: 1px dashed #aaa;
227 }
228
229 #preftoc a,
230 #preftoc a:active {
231 display: block;
232 color: #005189;
233 }
234
235 .mw-prefs-buttons {
236 clear: left;
237 float: left;
238 margin-top: 1em;
239 }
240
241 div.htmlform-tip {
242 font-size: 94%;
243 margin-top: 0.4em;
244 color: #666;
245 }
246
247 /* emulate center */
248 .center {
249 width: 100%;
250 text-align: center;
251 }
252
253 *.center * {
254 margin-left: auto;
255 margin-right: auto;
256 }
257
258 /* small for tables and similar */
259 .small {
260 font-size: 94%;
261 }
262
263 table.small {
264 font-size: 100%;
265 }
266
267 /* use this instead of .toc for page content */
268 .toccolours {
269 border: 1px solid #aaa;
270 background-color: #f9f9f9;
271 padding: 5px;
272 font-size: 95%;
273 }
274
275 #siteNotice {
276 border: 1px solid #aaa;
277 padding-left: 0.5em;
278 padding-right: 0.5em;
279 }
280
281 .sharedUploadNotice {
282 font-style: italic;
283 }
284
285 span.unpatrolled {
286 font-weight: bold;
287 color: #f00;
288 }
289
290 div.gallerybox {
291 width: 150px;
292 }
293
294 span.comment {
295 font-style: italic;
296 }
297
298 .previewnote {
299 text-align: center;
300 color: #c00;
301 }
302
303 .editExternally {
304 border: 1px solid #808080;
305 background: #fff;
306 padding: 3px;
307 margin-top: 0.5em;
308 float: left;
309 font-size: small;
310 text-align: center;
311 }
312
313 .editExternallyHelp {
314 font-style: italic;
315 color: #808080;
316 }
317
318 li span.deleted {
319 text-decoration: line-through;
320 color: #888;
321 font-style: italic;
322 }
323
324 /* Classes for Exif data display */
325 table.mw_metadata {
326 margin-left: 0.5em;
327 border: 0;
328 border-collapse: collapse;
329 }
330
331 table.mw_metadata caption {
332 font-weight: bold;
333 }
334
335 table.mw_metadata td,
336 table.mw_metadata th {
337 border: 1px solid #aaa;
338 padding-left: 4px;
339 padding-right: 4px;
340 }
341
342 table.mw_metadata th {
343 background-color: #f9f9f9;
344 font-weight: normal;
345 }
346
347 table.mw_metadata td {
348 background-color: #fcfcfc;
349 padding-top: 0.1em;
350 padding-bottom: 0.1em;
351 }
352
353 table.mw_metadata td.spacer {
354 background: inherit;
355 border-width: 0 1px;
356 }
357
358 .visualClear {
359 clear: both;
360 }
361
362 /* Allmessages table */
363 #allmessagestable th {
364 background-color: #b2b2ff;
365 }
366
367 #allmessagestable tr.orig {
368 background-color: #ffe2e2;
369 }
370
371 #allmessagestable tr.new {
372 background-color: #e2ffe2;
373 }
374
375 #allmessagestable tr.def {
376 background-color: #f0f0ff;
377 }
378
379 #jump-to-nav {
380 display: none;
381 }
382
383 div.multipageimagenavbox {
384 border: 1px solid #c0c0c0;
385 padding: 4px;
386 margin: 1em;
387 background: #f0f0f0;
388 }
389
390 div.multipageimagenavbox div.thumb {
391 border: 0;
392 margin-left: 2em;
393 margin-right: 2em;
394 }
395
396 div.multipageimagenavbox hr {
397 margin: 6px;
398 }
399
400 table.multipageimage td {
401 text-align: center;
402 }
403
404 .templatesUsed {
405 margin-top: 1em;
406 }
407
408 .MediaTransformError {
409 border: thin solid #777;
410 background-color: #ccc;
411 padding: 0.1em;
412 }
413
414 .MediaTransformError td {
415 text-align: center;
416 vertical-align: middle;
417 font-size: 90%;
418 }
419
420 form#specialpages {
421 display: inline;
422 }
423
424 body {
425 direction: ltr;
426 unicode-bidi: embed;
427 background-color: #ffffec;
428 }
429
430 body.ns-0 {
431 background-color: #fff;
432 }
433
434 /** RTL specific CSS starts here **/
435
436 /**
437 * Lists:
438 * The following lines don't have a visible effect on non-Gecko browsers
439 * They fix a problem with Gecko browsers rendering lists to the right of
440 * left-floated objects in an RTL layout.
441 */
442 /* @noflip */
443 html > body.rtl div#article ul {
444 display: table;
445 }
446
447 /* @noflip */
448 html > body.rtl .mw-body ul#filetoc {
449 display: block;
450 }
451
452 /** RTL specific CSS ends here **/