Merge "Set noindex,nofollow on missing (404) pages"
[mediawiki.git] / skins / common / oldshared.css
blob250f15c8d7edb080bb2f0de8d7a1b497b1997d8d
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 !important;
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 text-align: left;
103 line-height: 1.4em;
104 padding: 3px !important;
105 font-size: 94%;
108 div.magnify {
109 float: right;
110 border: none !important;
111 background: none !important;
112 margin-left: 3px;
115 div.magnify a,
116 div.magnify img {
117 display: block;
118 border: none !important;
119 background: none !important;
122 /* @noflip */
123 div.tright {
124 clear: right;
125 float: right;
126 border-width: .5em 0 .8em 1.4em;
129 /* @noflip */
130 div.tleft {
131 float: left;
132 clear: left;
133 margin-right: .5em;
134 border-width: .5em 1.4em .8em 0;
137 img.thumbborder {
138 border: 1px solid #dddddd;
141 /* Page history styling */
142 /* the auto-generated edit comments */
143 .autocomment {
144 color: #4b4b4b;
147 img {
148 border: none;
151 #toc,
152 .toc {
153 border: 1px solid #bba;
154 background-color: #f7f8ff;
155 padding: 5px;
156 font-size: 95%;
157 text-align: center;
158 display: -moz-inline-block;
159 display: inline-block;
160 display: table;
162 /* IE7 and earlier */
163 zoom: 1;
164 *display: inline;
166 padding: 7px;
169 /* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
170 table#toc,
171 table.toc {
172 border-collapse: collapse;
175 /* Remove additional paddings inside table-cells that are not present in <div>s */
176 table#toc td,
177 table.toc td {
178 padding: 0;
181 #toc h2,
182 .toc h2 {
183 display: inline;
184 border: none;
185 padding: 0;
186 font-size: 100%;
187 font-weight: bold;
190 #toc ul,
191 .toc ul {
192 list-style-type: none;
193 list-style-image: none;
194 padding: 0;
195 text-align: left;
198 #toc ul ul,
199 .toc ul ul {
200 margin: 0 0 0 2em;
203 #toc .toctoggle,
204 .toc .toctoggle {
205 font-size: 94%;
208 .error {
209 color: red;
210 font-size: larger;
213 /* preference page with js-genrated toc */
214 #preftoc {
215 float: left;
216 margin: 1em 1em 1em 1em;
217 width: 13em;
220 #preftoc li {
221 border: 1px solid White;
224 #preftoc li.selected {
225 background-color: #f9f9f9;
226 border: 1px dashed #aaaaaa;
229 #preftoc a,
230 #preftoc a:active {
231 display: block;
232 color: #005189;
235 .mw-prefs-buttons {
236 clear: left;
237 float: left;
238 margin-top: 1em;
241 div.htmlform-tip {
242 font-size: 94%;
243 margin-top: 0.4em;
244 color: #666;
247 fieldset.prefsection {
248 margin-top: 1em;
251 fieldset.operaprefsection {
252 margin-left: 15em;
255 /* emulate center */
256 .center {
257 width: 100%;
258 text-align: center;
261 *.center * {
262 margin-left: auto;
263 margin-right: auto;
266 /* small for tables and similar */
267 .small {
268 font-size: 94%;
271 table.small {
272 font-size: 100%;
275 /* use this instead of #toc for page content */
276 .toccolours {
277 border: 1px solid #aaaaaa;
278 background-color: #f9f9f9;
279 padding: 5px;
280 font-size: 95%;
283 #siteNotice {
284 border: 1px solid #aaaaaa;
285 padding-left: 0.5em;
286 padding-right: 0.5em;
289 .redirectText {
290 font-size: 150%;
291 margin: 5px;
294 .sharedUploadNotice {
295 font-style: italic;
298 span.unpatrolled {
299 font-weight: bold;
300 color: red;
303 span.updatedmarker {
304 color: black;
305 background-color: #00FF00;
308 div.gallerybox {
309 width: 150px;
312 span.comment {
313 font-style: italic;
316 span.changedby {
317 font-size: 95%;
320 .previewnote {
321 text-align: center;
322 color: #cc0000;
325 .editExternally {
326 border-style: solid;
327 border-width: 1px;
328 border-color: gray;
329 background: #ffffff;
330 padding: 3px;
331 margin-top: 0.5em;
332 float: left;
333 font-size: small;
334 text-align: center;
337 .editExternallyHelp {
338 font-style: italic;
339 color: gray;
342 li span.deleted {
343 text-decoration: line-through;
344 color: #888;
345 font-style: italic;
348 /* Classes for Exif data display */
349 table.mw_metadata {
350 margin-left: 0.5em;
353 table.mw_metadata caption {
354 font-weight: bold;
357 table.mw_metadata th {
358 font-weight: normal;
361 table.mw_metadata td {
362 padding: 0.1em;
365 table.mw_metadata {
366 border: none;
367 border-collapse: collapse;
370 table.mw_metadata td,
371 table.mw_metadata th {
372 border: 1px solid #aaaaaa;
373 padding-left: 4px;
374 padding-right: 4px;
377 table.mw_metadata th {
378 background-color: #f9f9f9;
381 table.mw_metadata td {
382 background-color: #fcfcfc;
385 table.mw_metadata td.spacer {
386 background: inherit;
387 border-top: none;
388 border-bottom: none;
391 table.collapsed tr.collapsable {
392 display: none;
395 .visualClear {
396 clear: both;
399 /* Allmessages table */
400 #allmessagestable th {
401 background-color: #b2b2ff;
404 #allmessagestable tr.orig {
405 background-color: #ffe2e2;
408 #allmessagestable tr.new {
409 background-color: #e2ffe2;
412 #allmessagestable tr.def {
413 background-color: #f0f0ff;
416 #jump-to-nav {
417 display: none;
420 div.multipageimagenavbox {
421 border: solid 1px silver;
422 padding: 4px;
423 margin: 1em;
424 background: #f0f0f0;
427 div.multipageimagenavbox div.thumb {
428 border: none;
429 margin-left: 2em;
430 margin-right: 2em;
433 div.multipageimagenavbox hr {
434 margin: 6px;
437 table.multipageimage td {
438 text-align: center;
442 Table pager (e.g. Special:Imagelist)
443 - remove underlines from the navigation link
444 - collapse borders
445 - set the borders to outsets (similar to Special:Allmessages)
446 - remove line wrapping for all td and th, set background color
447 - restore line wrapping for the last two table cells (description and size)
449 .TablePager_nav a {
450 text-decoration: none;
453 .TablePager {
454 border-collapse: collapse;
457 .TablePager,
458 .TablePager td,
459 .TablePager th {
460 border: 0.15em solid #777777;
461 padding: 0 0.15em 0 0.15em;
464 .TablePager th {
465 background-color: #eeeeff;
468 .TablePager td {
469 background-color: #ffffff;
472 .TablePager tr:hover td {
473 background-color: #eeeeff;
476 .imagelist td,
477 .imagelist th {
478 white-space: nowrap;
481 .imagelist .TablePager_col_links {
482 background-color: #eeeeff;
485 .imagelist .TablePager_col_img_description {
486 white-space: normal;
489 .imagelist th.TablePager_sort {
490 background-color: #ccccff;
493 .templatesUsed {
494 margin-top: 1em;
497 .MediaTransformError {
498 border: thin solid #777;
499 background-color: #ccc;
500 padding: 0.1em;
503 .MediaTransformError td {
504 text-align: center;
505 vertical-align: middle;
506 font-size: 90%;
509 form#specialpages {
510 display: inline;
513 body {
514 direction: ltr;
515 unicode-bidi: embed;
516 background-color: #ffffec;
519 body.ns-0 {
520 background-color: white;
523 /** RTL specific CSS starts here **/
526 * Lists:
527 * The following lines don't have a visible effect on non-Gecko browsers
528 * They fix a problem with Gecko browsers rendering lists to the right of
529 * left-floated objects in an RTL layout.
531 /* @noflip */
532 html > body.rtl div#article ul {
533 display: table;
536 /* @noflip */
537 html > body.rtl div#bodyContent ul#filetoc {
538 display: block;
541 /* RTL specific CSS ends here **/