Merge "Improve sorting on SpecialWanted*-Pages"
[mediawiki.git] / resources / src / mediawiki.legacy / oldshared.css
blob7c4dbb1ce71ca05e5e468b24b6bfcc4f5908f60d
1 /**
2 * oldshared.css
3 * This file contains CSS settings common to Wikistandard, Nostalgia and
4 * CologneBlue, the old pre-Monobook skins
5 */
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 */
11 h1 {
12 font-size: 2em;
15 h2 {
16 font-size: 1.5em;
19 h3 {
20 font-size: 1.17em;
23 h4 {
24 font-size: 1.11em;
27 h5 {
28 font-size: 1.05em;
31 h6 {
32 font-size: 1em;
35 h1,
36 h2,
37 h3,
38 h4,
39 h5,
40 h6 {
41 font-weight: bolder;
44 /* Now the custom parts */
46 #footer {
47 clear: both;
50 /* images */
51 /* @noflip */
52 div.floatright {
53 float: right;
54 clear: right;
55 margin: 0 0 1em 1em;
58 /* @noflip */
59 div.floatright p {
60 font-style: italic;
63 /* @noflip */
64 div.floatleft {
65 float: left;
66 clear: left;
67 margin: 0.3em 0.5em 0.5em 0;
70 /* @noflip */
71 div.floatleft p {
72 font-style: italic;
75 /* table standards */
76 table.rimage {
77 float: right;
78 margin-left: 1em;
79 margin-bottom: 1em;
80 text-align: center;
81 font-size: smaller;
84 /* thumbnails */
85 div.thumb {
86 margin-bottom: 0.5em;
87 border-style: solid;
88 border-color: #fff;
89 width: auto;
92 div.thumbinner {
93 border: 1px solid #ccc;
94 padding: 3px;
95 background-color: #f9f9f9;
96 font-size: 94%;
97 text-align: center;
98 /* new block formatting context,
99 * to clear background from floating content */
100 overflow: hidden;
103 html .thumbimage {
104 border: 1px solid #ccc;
107 html .thumbcaption {
108 border: 0;
109 line-height: 1.4em;
110 padding: 3px;
111 font-size: 94%;
112 text-align: left;
115 div.magnify {
116 float: right;
117 margin-left: 3px;
120 div.magnify a {
121 display: block;
122 /* Hide the text… */
123 text-indent: 15px;
124 white-space: nowrap;
125 overflow: hidden;
126 /* …and replace it with the image */
127 width: 15px;
128 height: 11px;
129 /* Use same SVG support hack as mediawiki.legacy's shared.css */
130 background: url( images/magnify-clip-ltr.png ) center center no-repeat;
131 /* @embed */
132 background-image: linear-gradient( transparent, transparent ), url( images/magnify-clip-ltr.svg );
133 /* Don't annoy people who copy-paste everything too much */
134 -moz-user-select: none;
135 -webkit-user-select: none;
136 -ms-user-select: none;
137 user-select: none;
140 /* @noflip */
141 div.tright {
142 clear: right;
143 float: right;
144 border-width: 0.5em 0 0.8em 1.4em;
147 /* @noflip */
148 div.tleft {
149 float: left;
150 clear: left;
151 margin-right: 0.5em;
152 border-width: 0.5em 1.4em 0.8em 0;
155 img.thumbborder {
156 border: 1px solid #ddd;
159 /* Page history styling */
160 /* the auto-generated edit comments */
161 .autocomment {
162 color: #4b4b4b;
165 img {
166 border: 0;
169 #toc,
170 .toc {
171 border: 1px solid #bba;
172 background-color: #f7f8ff;
173 padding: 7px;
174 font-size: 95%;
175 text-align: center;
176 display: inline-block;
177 display: table;
179 /* IE7 and earlier */
180 zoom: 1;
181 *display: inline; /* stylelint-disable-line declaration-block-no-duplicate-properties */
184 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
185 table#toc,
186 table.toc {
187 border-collapse: collapse;
190 /* Remove additional paddings inside table-cells that are not present in <div>s */
191 table#toc td,
192 table.toc td {
193 padding: 0;
196 #toc h2,
197 .toc h2 {
198 display: inline;
199 border: 0;
200 padding: 0;
201 font-size: 100%;
202 font-weight: bold;
205 #toc ul,
206 .toc ul {
207 list-style-type: none;
208 list-style-image: none;
209 padding: 0;
210 text-align: left;
213 #toc ul ul,
214 .toc ul ul {
215 margin: 0 0 0 2em;
218 .error {
219 color: #f00;
220 font-size: larger;
223 /* preference page with js-genrated toc */
224 #preftoc {
225 float: left;
226 margin: 1em 1em 1em 1em;
227 width: 13em;
230 #preftoc li {
231 border: 1px solid #fff;
234 #preftoc li.selected {
235 background-color: #f9f9f9;
236 border: 1px dashed #aaa;
239 #preftoc a,
240 #preftoc a:active {
241 display: block;
242 color: #005189;
245 .mw-prefs-buttons {
246 clear: left;
247 float: left;
248 margin-top: 1em;
251 div.htmlform-tip {
252 font-size: 94%;
253 margin-top: 0.4em;
254 color: #666;
257 /* emulate center */
258 .center {
259 width: 100%;
260 text-align: center;
263 *.center * {
264 margin-left: auto;
265 margin-right: auto;
268 /* small for tables and similar */
269 .small {
270 font-size: 94%;
273 table.small {
274 font-size: 100%;
277 /* use this instead of #toc for page content */
278 .toccolours {
279 border: 1px solid #aaa;
280 background-color: #f9f9f9;
281 padding: 5px;
282 font-size: 95%;
285 #siteNotice {
286 border: 1px solid #aaa;
287 padding-left: 0.5em;
288 padding-right: 0.5em;
291 .sharedUploadNotice {
292 font-style: italic;
295 span.unpatrolled {
296 font-weight: bold;
297 color: #f00;
300 div.gallerybox {
301 width: 150px;
304 span.comment {
305 font-style: italic;
308 .previewnote {
309 text-align: center;
310 color: #c00;
313 .editExternally {
314 border: 1px solid #808080;
315 background: #fff;
316 padding: 3px;
317 margin-top: 0.5em;
318 float: left;
319 font-size: small;
320 text-align: center;
323 .editExternallyHelp {
324 font-style: italic;
325 color: #808080;
328 li span.deleted {
329 text-decoration: line-through;
330 color: #888;
331 font-style: italic;
334 /* Classes for Exif data display */
335 table.mw_metadata {
336 margin-left: 0.5em;
337 border: 0;
338 border-collapse: collapse;
341 table.mw_metadata caption {
342 font-weight: bold;
345 table.mw_metadata td,
346 table.mw_metadata th {
347 border: 1px solid #aaa;
348 padding-left: 4px;
349 padding-right: 4px;
352 table.mw_metadata th {
353 background-color: #f9f9f9;
354 font-weight: normal;
357 table.mw_metadata td {
358 background-color: #fcfcfc;
359 padding-top: 0.1em;
360 padding-bottom: 0.1em;
363 table.mw_metadata td.spacer {
364 background: inherit;
365 border-width: 0 1px;
368 .visualClear {
369 clear: both;
372 /* Allmessages table */
373 #allmessagestable th {
374 background-color: #b2b2ff;
377 #allmessagestable tr.orig {
378 background-color: #ffe2e2;
381 #allmessagestable tr.new {
382 background-color: #e2ffe2;
385 #allmessagestable tr.def {
386 background-color: #f0f0ff;
389 #jump-to-nav {
390 display: none;
393 div.multipageimagenavbox {
394 border: 1px solid #c0c0c0;
395 padding: 4px;
396 margin: 1em;
397 background: #f0f0f0;
400 div.multipageimagenavbox div.thumb {
401 border: 0;
402 margin-left: 2em;
403 margin-right: 2em;
406 div.multipageimagenavbox hr {
407 margin: 6px;
410 table.multipageimage td {
411 text-align: center;
414 .templatesUsed {
415 margin-top: 1em;
418 .MediaTransformError {
419 border: thin solid #777;
420 background-color: #ccc;
421 padding: 0.1em;
424 .MediaTransformError td {
425 text-align: center;
426 vertical-align: middle;
427 font-size: 90%;
430 form#specialpages {
431 display: inline;
434 body {
435 direction: ltr;
436 unicode-bidi: embed;
437 background-color: #ffffec;
440 body.ns-0 {
441 background-color: #fff;
444 /** RTL specific CSS starts here **/
447 * Lists:
448 * The following lines don't have a visible effect on non-Gecko browsers
449 * They fix a problem with Gecko browsers rendering lists to the right of
450 * left-floated objects in an RTL layout.
452 /* @noflip */
453 html > body.rtl div#article ul {
454 display: table;
457 /* @noflip */
458 html > body.rtl .mw-body ul#filetoc {
459 display: block;
462 /* RTL specific CSS ends here **/