Removed MultiWriteBagOStuff::replace
[mediawiki.git] / resources / src / mediawiki.legacy / oldshared.css
blob4424fbdd7d3dca03100b28ddf78b4409da2ef767
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 /* @embed */
123 background: url(images/magnify-clip-ltr.png) center center no-repeat;
124 /* Don't annoy people who copy-paste everything too much */
125 -moz-user-select: none;
126 -webkit-user-select: none;
127 -ms-user-select: none;
128 user-select: none;
131 /* Temporary WMF deployment hack, to be removed before 1.24 release */
132 div.magnify img {
133 display: none;
136 /* @noflip */
137 div.tright {
138 clear: right;
139 float: right;
140 border-width: .5em 0 .8em 1.4em;
143 /* @noflip */
144 div.tleft {
145 float: left;
146 clear: left;
147 margin-right: .5em;
148 border-width: .5em 1.4em .8em 0;
151 img.thumbborder {
152 border: 1px solid #dddddd;
155 /* Page history styling */
156 /* the auto-generated edit comments */
157 .autocomment {
158 color: #4b4b4b;
161 img {
162 border: none;
165 #toc,
166 .toc {
167 border: 1px solid #bba;
168 background-color: #f7f8ff;
169 padding: 5px;
170 font-size: 95%;
171 text-align: center;
172 display: -moz-inline-block;
173 display: inline-block;
174 display: table;
176 /* IE7 and earlier */
177 zoom: 1;
178 *display: inline;
180 padding: 7px;
183 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
184 table#toc,
185 table.toc {
186 border-collapse: collapse;
189 /* Remove additional paddings inside table-cells that are not present in <div>s */
190 table#toc td,
191 table.toc td {
192 padding: 0;
195 #toc h2,
196 .toc h2 {
197 display: inline;
198 border: none;
199 padding: 0;
200 font-size: 100%;
201 font-weight: bold;
204 #toc ul,
205 .toc ul {
206 list-style-type: none;
207 list-style-image: none;
208 padding: 0;
209 text-align: left;
212 #toc ul ul,
213 .toc ul ul {
214 margin: 0 0 0 2em;
217 #toc .toctoggle,
218 .toc .toctoggle {
219 font-size: 94%;
222 .error {
223 color: red;
224 font-size: larger;
227 /* preference page with js-genrated toc */
228 #preftoc {
229 float: left;
230 margin: 1em 1em 1em 1em;
231 width: 13em;
234 #preftoc li {
235 border: 1px solid White;
238 #preftoc li.selected {
239 background-color: #f9f9f9;
240 border: 1px dashed #aaaaaa;
243 #preftoc a,
244 #preftoc a:active {
245 display: block;
246 color: #005189;
249 .mw-prefs-buttons {
250 clear: left;
251 float: left;
252 margin-top: 1em;
255 div.htmlform-tip {
256 font-size: 94%;
257 margin-top: 0.4em;
258 color: #666;
261 fieldset.prefsection {
262 margin-top: 1em;
265 fieldset.operaprefsection {
266 margin-left: 15em;
269 /* emulate center */
270 .center {
271 width: 100%;
272 text-align: center;
275 *.center * {
276 margin-left: auto;
277 margin-right: auto;
280 /* small for tables and similar */
281 .small {
282 font-size: 94%;
285 table.small {
286 font-size: 100%;
289 /* use this instead of #toc for page content */
290 .toccolours {
291 border: 1px solid #aaaaaa;
292 background-color: #f9f9f9;
293 padding: 5px;
294 font-size: 95%;
297 #siteNotice {
298 border: 1px solid #aaaaaa;
299 padding-left: 0.5em;
300 padding-right: 0.5em;
303 .sharedUploadNotice {
304 font-style: italic;
307 span.unpatrolled {
308 font-weight: bold;
309 color: red;
312 span.updatedmarker {
313 color: black;
314 background-color: #00FF00;
317 div.gallerybox {
318 width: 150px;
321 span.comment {
322 font-style: italic;
325 span.changedby {
326 font-size: 95%;
329 .previewnote {
330 text-align: center;
331 color: #cc0000;
334 .editExternally {
335 border-style: solid;
336 border-width: 1px;
337 border-color: gray;
338 background: #ffffff;
339 padding: 3px;
340 margin-top: 0.5em;
341 float: left;
342 font-size: small;
343 text-align: center;
346 .editExternallyHelp {
347 font-style: italic;
348 color: gray;
351 li span.deleted {
352 text-decoration: line-through;
353 color: #888;
354 font-style: italic;
357 /* Classes for Exif data display */
358 table.mw_metadata {
359 margin-left: 0.5em;
362 table.mw_metadata caption {
363 font-weight: bold;
366 table.mw_metadata th {
367 font-weight: normal;
370 table.mw_metadata td {
371 padding: 0.1em;
374 table.mw_metadata {
375 border: none;
376 border-collapse: collapse;
379 table.mw_metadata td,
380 table.mw_metadata th {
381 border: 1px solid #aaaaaa;
382 padding-left: 4px;
383 padding-right: 4px;
386 table.mw_metadata th {
387 background-color: #f9f9f9;
390 table.mw_metadata td {
391 background-color: #fcfcfc;
394 table.mw_metadata td.spacer {
395 background: inherit;
396 border-top: none;
397 border-bottom: none;
400 .visualClear {
401 clear: both;
404 /* Allmessages table */
405 #allmessagestable th {
406 background-color: #b2b2ff;
409 #allmessagestable tr.orig {
410 background-color: #ffe2e2;
413 #allmessagestable tr.new {
414 background-color: #e2ffe2;
417 #allmessagestable tr.def {
418 background-color: #f0f0ff;
421 #jump-to-nav {
422 display: none;
425 div.multipageimagenavbox {
426 border: solid 1px silver;
427 padding: 4px;
428 margin: 1em;
429 background: #f0f0f0;
432 div.multipageimagenavbox div.thumb {
433 border: none;
434 margin-left: 2em;
435 margin-right: 2em;
438 div.multipageimagenavbox hr {
439 margin: 6px;
442 table.multipageimage td {
443 text-align: center;
446 .templatesUsed {
447 margin-top: 1em;
450 .MediaTransformError {
451 border: thin solid #777;
452 background-color: #ccc;
453 padding: 0.1em;
456 .MediaTransformError td {
457 text-align: center;
458 vertical-align: middle;
459 font-size: 90%;
462 form#specialpages {
463 display: inline;
466 body {
467 direction: ltr;
468 unicode-bidi: embed;
469 background-color: #ffffec;
472 body.ns-0 {
473 background-color: white;
476 /** RTL specific CSS starts here **/
479 * Lists:
480 * The following lines don't have a visible effect on non-Gecko browsers
481 * They fix a problem with Gecko browsers rendering lists to the right of
482 * left-floated objects in an RTL layout.
484 /* @noflip */
485 html > body.rtl div#article ul {
486 display: table;
489 /* @noflip */
490 html > body.rtl .mw-body ul#filetoc {
491 display: block;
494 /* RTL specific CSS ends here **/