Merge "Remove not used private member variable mParserWarnings from OutputPage"
[mediawiki.git] / resources / src / mediawiki.legacy / oldshared.css
blob5d637da0876e497f735a2c19f44e5f583abfc66c
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 * http://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, h2, h3, h4, h5, h6 {
36 font-weight: bolder;
39 /* Now the custom parts */
41 #footer {
42 clear: both;
45 /* images */
46 /* @noflip */
47 div.floatright {
48 float: right;
49 clear: right;
50 margin: 0 0 1em 1em;
53 /* @noflip */
54 div.floatright p {
55 font-style: italic;
58 /* @noflip */
59 div.floatleft {
60 float: left;
61 clear: left;
62 margin: 0.3em 0.5em 0.5em 0;
65 /* @noflip */
66 div.floatleft p {
67 font-style: italic;
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;
79 /* thumbnails */
80 div.thumb {
81 margin-bottom: .5em;
82 border-style: solid;
83 border-color: white;
84 width: auto;
87 div.thumbinner {
88 border: 1px solid #ccc;
89 padding: 3px;
90 background-color: #f9f9f9;
91 font-size: 94%;
92 text-align: center;
93 overflow: hidden;
96 html .thumbimage {
97 border: 1px solid #ccc;
100 html .thumbcaption {
101 border: none;
102 line-height: 1.4em;
103 padding: 3px;
104 font-size: 94%;
105 text-align: left;
108 div.magnify {
109 float: right;
110 margin-left: 3px;
113 div.magnify a {
114 display: block;
115 /* Hide the text… */
116 text-indent: 15px;
117 white-space: nowrap;
118 overflow: hidden;
119 /* …and replace it with the image */
120 width: 15px;
121 height: 11px;
122 /* Use same SVG support hack as mediawiki.legacy's shared.css */
123 background: url(images/magnify-clip-ltr.png) center center no-repeat;
124 /* @embed */
125 background-image: linear-gradient(transparent, transparent), url(images/magnify-clip-ltr.svg);
126 /* Don't annoy people who copy-paste everything too much */
127 -moz-user-select: none;
128 -webkit-user-select: none;
129 -ms-user-select: none;
130 user-select: none;
133 /* @noflip */
134 div.tright {
135 clear: right;
136 float: right;
137 border-width: .5em 0 .8em 1.4em;
140 /* @noflip */
141 div.tleft {
142 float: left;
143 clear: left;
144 margin-right: .5em;
145 border-width: .5em 1.4em .8em 0;
148 img.thumbborder {
149 border: 1px solid #dddddd;
152 /* Page history styling */
153 /* the auto-generated edit comments */
154 .autocomment {
155 color: #4b4b4b;
158 img {
159 border: none;
162 #toc,
163 .toc {
164 border: 1px solid #bba;
165 background-color: #f7f8ff;
166 padding: 5px;
167 font-size: 95%;
168 text-align: center;
169 display: inline-block;
170 display: table;
172 /* IE7 and earlier */
173 zoom: 1;
174 *display: inline;
176 padding: 7px;
179 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
180 table#toc,
181 table.toc {
182 border-collapse: collapse;
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;
191 #toc h2,
192 .toc h2 {
193 display: inline;
194 border: none;
195 padding: 0;
196 font-size: 100%;
197 font-weight: bold;
200 #toc ul,
201 .toc ul {
202 list-style-type: none;
203 list-style-image: none;
204 padding: 0;
205 text-align: left;
208 #toc ul ul,
209 .toc ul ul {
210 margin: 0 0 0 2em;
213 .error {
214 color: red;
215 font-size: larger;
218 /* preference page with js-genrated toc */
219 #preftoc {
220 float: left;
221 margin: 1em 1em 1em 1em;
222 width: 13em;
225 #preftoc li {
226 border: 1px solid White;
229 #preftoc li.selected {
230 background-color: #f9f9f9;
231 border: 1px dashed #aaaaaa;
234 #preftoc a,
235 #preftoc a:active {
236 display: block;
237 color: #005189;
240 .mw-prefs-buttons {
241 clear: left;
242 float: left;
243 margin-top: 1em;
246 div.htmlform-tip {
247 font-size: 94%;
248 margin-top: 0.4em;
249 color: #666;
252 /* emulate center */
253 .center {
254 width: 100%;
255 text-align: center;
258 *.center * {
259 margin-left: auto;
260 margin-right: auto;
263 /* small for tables and similar */
264 .small {
265 font-size: 94%;
268 table.small {
269 font-size: 100%;
272 /* use this instead of #toc for page content */
273 .toccolours {
274 border: 1px solid #aaaaaa;
275 background-color: #f9f9f9;
276 padding: 5px;
277 font-size: 95%;
280 #siteNotice {
281 border: 1px solid #aaaaaa;
282 padding-left: 0.5em;
283 padding-right: 0.5em;
286 .sharedUploadNotice {
287 font-style: italic;
290 span.unpatrolled {
291 font-weight: bold;
292 color: red;
295 span.updatedmarker {
296 color: black;
297 background-color: #00FF00;
300 div.gallerybox {
301 width: 150px;
304 span.comment {
305 font-style: italic;
308 .previewnote {
309 text-align: center;
310 color: #cc0000;
313 .editExternally {
314 border-style: solid;
315 border-width: 1px;
316 border-color: gray;
317 background: #ffffff;
318 padding: 3px;
319 margin-top: 0.5em;
320 float: left;
321 font-size: small;
322 text-align: center;
325 .editExternallyHelp {
326 font-style: italic;
327 color: gray;
330 li span.deleted {
331 text-decoration: line-through;
332 color: #888;
333 font-style: italic;
336 /* Classes for Exif data display */
337 table.mw_metadata {
338 margin-left: 0.5em;
341 table.mw_metadata caption {
342 font-weight: bold;
345 table.mw_metadata th {
346 font-weight: normal;
349 table.mw_metadata td {
350 padding: 0.1em;
353 table.mw_metadata {
354 border: none;
355 border-collapse: collapse;
358 table.mw_metadata td,
359 table.mw_metadata th {
360 border: 1px solid #aaaaaa;
361 padding-left: 4px;
362 padding-right: 4px;
365 table.mw_metadata th {
366 background-color: #f9f9f9;
369 table.mw_metadata td {
370 background-color: #fcfcfc;
373 table.mw_metadata td.spacer {
374 background: inherit;
375 border-top: none;
376 border-bottom: none;
379 .visualClear {
380 clear: both;
383 /* Allmessages table */
384 #allmessagestable th {
385 background-color: #b2b2ff;
388 #allmessagestable tr.orig {
389 background-color: #ffe2e2;
392 #allmessagestable tr.new {
393 background-color: #e2ffe2;
396 #allmessagestable tr.def {
397 background-color: #f0f0ff;
400 #jump-to-nav {
401 display: none;
404 div.multipageimagenavbox {
405 border: solid 1px silver;
406 padding: 4px;
407 margin: 1em;
408 background: #f0f0f0;
411 div.multipageimagenavbox div.thumb {
412 border: none;
413 margin-left: 2em;
414 margin-right: 2em;
417 div.multipageimagenavbox hr {
418 margin: 6px;
421 table.multipageimage td {
422 text-align: center;
425 .templatesUsed {
426 margin-top: 1em;
429 .MediaTransformError {
430 border: thin solid #777;
431 background-color: #ccc;
432 padding: 0.1em;
435 .MediaTransformError td {
436 text-align: center;
437 vertical-align: middle;
438 font-size: 90%;
441 form#specialpages {
442 display: inline;
445 body {
446 direction: ltr;
447 unicode-bidi: embed;
448 background-color: #ffffec;
451 body.ns-0 {
452 background-color: white;
455 /** RTL specific CSS starts here **/
458 * Lists:
459 * The following lines don't have a visible effect on non-Gecko browsers
460 * They fix a problem with Gecko browsers rendering lists to the right of
461 * left-floated objects in an RTL layout.
463 /* @noflip */
464 html > body.rtl div#article ul {
465 display: table;
468 /* @noflip */
469 html > body.rtl .mw-body ul#filetoc {
470 display: block;
473 /* RTL specific CSS ends here **/