Merge "filebackend: avoiding computing file SHA-1 hashes unless needed"
[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 .autocomment a,
158 .autocomment a:visited {
159 color: #4b4b4b;
160 }
161
162 img {
163 border: 0;
164 }
165
166 .toc {
167 border: 1px solid #bba;
168 background-color: #f7f8ff;
169 padding: 7px;
170 font-size: 95%;
171 text-align: center;
172 display: inline-block;
173 display: table;
174
175 /* IE7 and earlier */
176 zoom: 1;
177 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
178 }
179
180 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
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 padding: 0;
188 }
189
190 .toc h2 {
191 display: inline;
192 border: 0;
193 padding: 0;
194 font-size: 100%;
195 font-weight: bold;
196 }
197
198 .toc ul {
199 list-style-type: none;
200 list-style-image: none;
201 padding: 0;
202 text-align: left;
203 }
204
205 .toc ul ul {
206 margin: 0 0 0 2em;
207 }
208
209 .error {
210 color: #f00;
211 font-size: larger;
212 }
213
214 /* Preference page with js-generated toc */
215 .mw-prefs-buttons {
216 clear: left;
217 float: left;
218 margin-top: 1em;
219 }
220
221 div.htmlform-tip {
222 font-size: 94%;
223 margin-top: 0.4em;
224 color: #666;
225 }
226
227 /* emulate center */
228 .center {
229 width: 100%;
230 text-align: center;
231 }
232
233 *.center * {
234 margin-left: auto;
235 margin-right: auto;
236 }
237
238 /* small for tables and similar */
239 .small {
240 font-size: 94%;
241 }
242
243 table.small {
244 font-size: 100%;
245 }
246
247 /* use this instead of .toc for page content */
248 .toccolours {
249 border: 1px solid #aaa;
250 background-color: #f9f9f9;
251 padding: 5px;
252 font-size: 95%;
253 }
254
255 #siteNotice {
256 border: 1px solid #aaa;
257 padding-left: 0.5em;
258 padding-right: 0.5em;
259 }
260
261 .sharedUploadNotice {
262 font-style: italic;
263 }
264
265 span.unpatrolled {
266 font-weight: bold;
267 color: #f00;
268 }
269
270 div.gallerybox {
271 width: 150px;
272 }
273
274 span.comment {
275 font-style: italic;
276 }
277
278 .previewnote {
279 text-align: center;
280 color: #c00;
281 }
282
283 .editExternally {
284 border: 1px solid #808080;
285 background: #fff;
286 padding: 3px;
287 margin-top: 0.5em;
288 float: left;
289 font-size: small;
290 text-align: center;
291 }
292
293 .editExternallyHelp {
294 font-style: italic;
295 color: #808080;
296 }
297
298 li span.deleted {
299 text-decoration: line-through;
300 color: #888;
301 font-style: italic;
302 }
303
304 /* Classes for Exif data display */
305 table.mw_metadata {
306 margin-left: 0.5em;
307 border: 0;
308 border-collapse: collapse;
309 }
310
311 table.mw_metadata caption {
312 font-weight: bold;
313 }
314
315 table.mw_metadata td,
316 table.mw_metadata th {
317 border: 1px solid #aaa;
318 padding-left: 4px;
319 padding-right: 4px;
320 }
321
322 table.mw_metadata th {
323 background-color: #f9f9f9;
324 font-weight: normal;
325 }
326
327 table.mw_metadata td {
328 background-color: #fcfcfc;
329 padding-top: 0.1em;
330 padding-bottom: 0.1em;
331 }
332
333 table.mw_metadata td.spacer {
334 background: inherit;
335 border-width: 0 1px;
336 }
337
338 .visualClear {
339 clear: both;
340 }
341
342 #jump-to-nav {
343 display: none;
344 }
345
346 div.multipageimagenavbox {
347 border: 1px solid #c0c0c0;
348 padding: 4px;
349 margin: 1em;
350 background: #f0f0f0;
351 }
352
353 div.multipageimagenavbox div.thumb {
354 border: 0;
355 margin-left: 2em;
356 margin-right: 2em;
357 }
358
359 div.multipageimagenavbox hr {
360 margin: 6px;
361 }
362
363 table.multipageimage td {
364 text-align: center;
365 }
366
367 .templatesUsed {
368 margin-top: 1em;
369 }
370
371 .MediaTransformError {
372 border: thin solid #777;
373 background-color: #ccc;
374 padding: 0.1em;
375 }
376
377 .MediaTransformError td {
378 text-align: center;
379 vertical-align: middle;
380 font-size: 90%;
381 }
382
383 form#specialpages {
384 display: inline;
385 }
386
387 body {
388 direction: ltr;
389 unicode-bidi: embed;
390 background-color: #ffffec;
391 }
392
393 body.ns-0 {
394 background-color: #fff;
395 }
396
397 /** RTL specific CSS starts here **/
398
399 /**
400 * Lists:
401 * The following lines don't have a visible effect on non-Gecko browsers
402 * They fix a problem with Gecko browsers rendering lists to the right of
403 * left-floated objects in an RTL layout.
404 */
405 /* @noflip */
406 html > body.rtl div#article ul {
407 display: table;
408 }
409
410 /* @noflip */
411 html > body.rtl .mw-body ul#filetoc {
412 display: block;
413 }
414
415 /** RTL specific CSS ends here **/