Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[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 /* stylelint-disable selector-class-pattern */
8
9 /* For clarity, explicitly state some recommendations from
10 * https://www.w3.org/TR/CSS21/sample.html to make sure the editsection links scale right
11 */
12
13 h1 {
14 font-size: 2em;
15 }
16
17 h2 {
18 font-size: 1.5em;
19 }
20
21 h3 {
22 font-size: 1.17em;
23 }
24
25 h4 {
26 font-size: 1.11em;
27 }
28
29 h5 {
30 font-size: 1.05em;
31 }
32
33 h6 {
34 font-size: 1em;
35 }
36
37 h1,
38 h2,
39 h3,
40 h4,
41 h5,
42 h6 {
43 font-weight: bolder;
44 }
45
46 /* Now the custom parts */
47
48 #footer {
49 clear: both;
50 }
51
52 /* images */
53 /* @noflip */
54 div.floatright {
55 float: right;
56 clear: right;
57 margin: 0 0 1em 1em;
58 }
59
60 /* @noflip */
61 div.floatright p {
62 font-style: italic;
63 }
64
65 /* @noflip */
66 div.floatleft {
67 float: left;
68 clear: left;
69 margin: 0.3em 0.5em 0.5em 0;
70 }
71
72 /* table standards */
73 table.rimage {
74 float: right;
75 margin-left: 1em;
76 margin-bottom: 1em;
77 text-align: center;
78 font-size: smaller;
79 }
80
81 /* thumbnails */
82 div.thumb {
83 margin-bottom: 0.5em;
84 border-style: solid;
85 border-color: #fff;
86 width: auto;
87 }
88
89 div.thumbinner {
90 border: 1px solid #ccc;
91 padding: 3px;
92 background-color: #f9f9f9;
93 font-size: 94%;
94 text-align: center;
95 /* new block formatting context,
96 * to clear background from floating content */
97 overflow: hidden;
98 }
99
100 html .thumbimage {
101 border: 1px solid #ccc;
102 }
103
104 html .thumbcaption {
105 border: 0;
106 line-height: 1.4em;
107 padding: 3px;
108 font-size: 94%;
109 text-align: left;
110 }
111
112 div.magnify {
113 float: right;
114 margin-left: 3px;
115 }
116
117 div.magnify a {
118 display: block;
119 /* Hide the text… */
120 text-indent: 15px;
121 white-space: nowrap;
122 overflow: hidden;
123 /* …and replace it with the image */
124 width: 15px;
125 height: 11px;
126 /* Use same SVG support hack as mediawiki.legacy's shared.css */
127 background: url( images/magnify-clip-ltr.png ) center center no-repeat;
128 /* @embed */
129 background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
130 /* Don't annoy people who copy-paste everything too much */
131 -moz-user-select: none;
132 -webkit-user-select: none;
133 -ms-user-select: none;
134 user-select: none;
135 }
136
137 /* @noflip */
138 div.tright {
139 clear: right;
140 float: right;
141 border-width: 0.5em 0 0.8em 1.4em;
142 }
143
144 /* @noflip */
145 div.tleft {
146 float: left;
147 clear: left;
148 margin-right: 0.5em;
149 border-width: 0.5em 1.4em 0.8em 0;
150 }
151
152 img.thumbborder {
153 border: 1px solid #ddd;
154 }
155
156 /* Page history styling */
157 /* the auto-generated edit comments */
158 .autocomment,
159 .autocomment a,
160 .autocomment a:visited {
161 color: #4b4b4b;
162 }
163
164 img {
165 border: 0;
166 }
167
168 .toc {
169 border: 1px solid #bba;
170 background-color: #f7f8ff;
171 padding: 7px;
172 font-size: 95%;
173 text-align: center;
174 display: inline-block;
175 display: table;
176
177 /* IE7 and earlier */
178 zoom: 1;
179 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
180 }
181
182 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
183 table.toc {
184 border-collapse: collapse;
185 }
186
187 /* Remove additional paddings inside table-cells that are not present in <div>s */
188 table.toc td {
189 padding: 0;
190 }
191
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 list-style-type: none;
202 list-style-image: none;
203 padding: 0;
204 text-align: left;
205 }
206
207 .toc ul ul {
208 margin: 0 0 0 2em;
209 }
210
211 .error {
212 color: #f00;
213 font-size: larger;
214 }
215
216 /* Preference page with js-generated toc */
217 .mw-prefs-buttons {
218 clear: left;
219 float: left;
220 margin-top: 1em;
221 }
222
223 div.htmlform-tip {
224 font-size: 94%;
225 margin-top: 0.4em;
226 color: #666;
227 }
228
229 /* emulate center */
230 .center {
231 width: 100%;
232 text-align: center;
233 }
234
235 *.center * {
236 margin-left: auto;
237 margin-right: auto;
238 }
239
240 /* small for tables and similar */
241 .small {
242 font-size: 94%;
243 }
244
245 table.small {
246 font-size: 100%;
247 }
248
249 /* use this instead of .toc for page content */
250 .toccolours {
251 border: 1px solid #aaa;
252 background-color: #f9f9f9;
253 padding: 5px;
254 font-size: 95%;
255 }
256
257 #siteNotice {
258 border: 1px solid #aaa;
259 padding-left: 0.5em;
260 padding-right: 0.5em;
261 }
262
263 .sharedUploadNotice {
264 font-style: italic;
265 }
266
267 span.unpatrolled {
268 font-weight: bold;
269 color: #f00;
270 }
271
272 div.gallerybox {
273 width: 150px;
274 }
275
276 span.comment {
277 font-style: italic;
278 }
279
280 .previewnote {
281 text-align: center;
282 color: #c00;
283 }
284
285 li span.deleted {
286 text-decoration: line-through;
287 color: #888;
288 font-style: italic;
289 }
290
291 /* Classes for Exif data display */
292 table.mw_metadata {
293 margin-left: 0.5em;
294 border: 0;
295 border-collapse: collapse;
296 }
297
298 table.mw_metadata caption {
299 font-weight: bold;
300 }
301
302 table.mw_metadata td,
303 table.mw_metadata th {
304 border: 1px solid #aaa;
305 padding-left: 4px;
306 padding-right: 4px;
307 }
308
309 table.mw_metadata th {
310 background-color: #f9f9f9;
311 font-weight: normal;
312 }
313
314 table.mw_metadata td {
315 background-color: #fcfcfc;
316 padding-top: 0.1em;
317 padding-bottom: 0.1em;
318 }
319
320 table.mw_metadata td.spacer {
321 background: inherit;
322 border-width: 0 1px;
323 }
324
325 .visualClear {
326 clear: both;
327 }
328
329 #jump-to-nav {
330 display: none;
331 }
332
333 div.multipageimagenavbox {
334 border: 1px solid #c0c0c0;
335 padding: 4px;
336 margin: 1em;
337 background: #f0f0f0;
338 }
339
340 div.multipageimagenavbox div.thumb {
341 border: 0;
342 margin-left: 2em;
343 margin-right: 2em;
344 }
345
346 div.multipageimagenavbox hr {
347 margin: 6px;
348 }
349
350 table.multipageimage td {
351 text-align: center;
352 }
353
354 .templatesUsed {
355 margin-top: 1em;
356 }
357
358 .MediaTransformError {
359 border: thin solid #777;
360 background-color: #ccc;
361 padding: 0.1em;
362 }
363
364 .MediaTransformError td {
365 text-align: center;
366 vertical-align: middle;
367 font-size: 90%;
368 }
369
370 form#specialpages {
371 display: inline;
372 }
373
374 body {
375 direction: ltr;
376 unicode-bidi: embed;
377 background-color: #ffffec;
378 }
379
380 body.ns-0 {
381 background-color: #fff;
382 }
383
384 /** RTL specific CSS starts here **/
385
386 /**
387 * Lists:
388 * The following lines don't have a visible effect on non-Gecko browsers
389 * They fix a problem with Gecko browsers rendering lists to the right of
390 * left-floated objects in an RTL layout.
391 */
392 /* @noflip */
393 html > body.rtl div#article ul {
394 display: table;
395 }
396
397 /* @noflip */
398 html > body.rtl .mw-body ul#filetoc {
399 display: block;
400 }
401
402 /** RTL specific CSS ends here **/