]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - skins/monobook/main.css
MediaWiki 1.11.0
[autoinstalls/mediawiki.git] / skins / monobook / main.css
1 /*
2 ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
5 **
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
10 */
11
12 #column-content {
13         width: 100%;
14         float: right;
15         margin: 0 0 .6em -12.2em;
16         padding: 0;
17 }
18 #content {
19         margin: 2.8em 0 0 12.2em;
20         padding: 0 1em 1.5em 1em;
21         position: relative;
22         z-index: 2;
23 }
24 #column-one {
25         padding-top: 160px;
26 }
27 #content {
28         background: white;
29         color: black;
30         border: 1px solid #aaa;
31         border-right: none;
32         line-height: 1.5em;
33 }
34 /* the left column width is specified in class .portlet */
35
36 /* Font size:
37 ** We take advantage of keyword scaling- browsers won't go below 9px
38 ** More at http://www.w3.org/2003/07/30-font-size
39 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
40 */
41
42 body {
43         font: x-small sans-serif;
44         background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
45         color: black;
46         margin: 0;
47         padding: 0;
48 }
49
50 /* scale back up to a sane default */
51 #globalWrapper {
52         font-size: 127%;
53         width: 100%;
54         margin: 0;
55         padding: 0;
56 }
57 .visualClear {
58         clear: both;
59 }
60
61 /* general styles */
62
63 table {
64         font-size: 100%;
65         color: black;
66         /* we don't want the bottom borders of <h2>s to be visible through
67            floated tables */
68         background-color: white;
69 }
70 a {
71         text-decoration: none;
72         color: #002bb8;
73         background: none;
74 }
75 a:visited {
76         color: #5a3696;
77 }
78 a:active {
79         color: #faa700;
80 }
81 a:hover {
82         text-decoration: underline;
83 }
84 a.stub {
85         color: #772233;
86 }
87 a.new, #p-personal a.new {
88         color: #ba0000;
89 }
90 a.new:visited, #p-personal a.new:visited {
91         color: #a55858;
92 }
93
94 img {
95         border: none;
96         vertical-align: middle;
97 }
98 p {
99         margin: .4em 0 .5em 0;
100         line-height: 1.5em;
101 }
102 p img {
103         margin: 0;
104 }
105
106 hr {
107         height: 1px;
108         color: #aaa;
109         background-color: #aaa;
110         border: 0;
111         margin: .2em 0 .2em 0;
112 }
113
114 h1, h2, h3, h4, h5, h6 {
115         color: black;
116         background: none;
117         font-weight: normal;
118         margin: 0;
119         padding-top: .5em;
120         padding-bottom: .17em;
121         border-bottom: 1px solid #aaa;
122 }
123 h1 { font-size: 188%; }
124 h1 .editsection { font-size: 53%; }
125 h2 { font-size: 150%; }
126 h2 .editsection { font-size: 67%; }
127 h3, h4, h5, h6 {
128         border-bottom: none;
129         font-weight: bold;
130 }
131 h3 { font-size: 132%; }
132 h3 .editsection { font-size: 76%; font-weight: normal; }
133 h4 { font-size: 116%; }
134 h4 .editsection { font-size: 86%; font-weight: normal; }
135 h5 { font-size: 100%; }
136 h5 .editsection { font-weight: normal; }
137 h6 { font-size: 80%;  }
138 h6 .editsection { font-size: 125%; font-weight: normal; }
139
140 ul {
141         line-height: 1.5em;
142         list-style-type: square;
143         margin: .3em 0 0 1.5em;
144         padding: 0;
145         list-style-image: url(bullet.gif);
146 }
147 ol {
148         line-height: 1.5em;
149         margin: .3em 0 0 3.2em;
150         padding: 0;
151         list-style-image: none;
152 }
153 li {
154         margin-bottom: .1em;
155 }
156 dt {
157         font-weight: bold;
158         margin-bottom: .1em;
159 }
160 dl {
161         margin-top: .2em;
162         margin-bottom: .5em;
163 }
164 dd {
165         line-height: 1.5em;
166         margin-left: 2em;
167         margin-bottom: .1em;
168 }
169
170 fieldset {
171         border: 1px solid #2f6fab;
172         margin: 1em 0 1em 0;
173         padding: 0 1em 1em;
174         line-height: 1.5em;
175 }
176 legend {
177         padding: .5em;
178         font-size: 95%;
179 }
180 form {
181         border: none;
182         margin: 0;
183 }
184
185 textarea {
186         width: 100%;
187         padding: .1em;
188 }
189
190 input.historysubmit {
191         padding: 0 .3em .3em .3em !important;
192         font-size: 94%;
193         cursor: pointer;
194         height: 1.7em !important;
195         margin-left: 1.6em;
196 }
197 select {
198         vertical-align: top;
199 }
200 abbr, acronym, .explain {
201         border-bottom: 1px dotted black;
202         color: black;
203         background: none;
204         cursor: help;
205 }
206 q {
207         font-family: Times, "Times New Roman", serif;
208         font-style: italic;
209 }
210 /* disabled for now
211 blockquote {
212         font-family: Times, "Times New Roman", serif;
213         font-style: italic;
214 }*/
215 code {
216         background-color: #f9f9f9;
217 }
218 pre {
219         padding: 1em;
220         border: 1px dashed #2f6fab;
221         color: black;
222         background-color: #f9f9f9;
223         line-height: 1.1em;
224 }
225
226 /*
227 ** the main content area
228 */
229
230 #siteSub {
231         display: none;
232 }
233 #jump-to-nav {
234         display: none;
235 }
236
237 #contentSub, #contentSub2 {
238         font-size: 84%;
239         line-height: 1.2em;
240         margin: 0 0 1.4em 1em;
241         color: #7d7d7d;
242         width: auto;
243 }
244 span.subpages {
245         display: block;
246 }
247
248 /* Some space under the headers in the content area */
249 #bodyContent h1, #bodyContent h2 {
250         margin-bottom: .6em;
251 }
252 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
253         margin-bottom: .3em;
254 }
255 .firstHeading {
256         margin-bottom: .1em;
257 }
258
259 /* user notification thing */
260 .usermessage {
261         background-color: #ffce7b;
262         border: 1px solid #ffa500;
263         color: black;
264         font-weight: bold;
265         margin: 2em 0 1em;
266         padding: .5em 1em;
267         vertical-align: middle;
268 }
269 #siteNotice {
270         text-align: center;
271         font-size: 95%;
272         padding: 0 .9em;
273 }
274 #siteNotice p {
275         margin: 0;
276         padding: 0;
277 }
278 .error {
279         color: red;
280         font-size: larger;
281 }
282 .errorbox, .successbox {
283         font-size: larger;
284         border: 2px solid;
285         padding: .5em 1em;
286         float: left;
287         margin-bottom: 2em;
288         color: #000;
289 }
290 .errorbox {
291         border-color: red;
292         background-color: #fff2f2;
293 }
294 .successbox {
295         border-color: green;
296         background-color: #dfd;
297 }
298 .errorbox h2, .successbox h2 {
299         font-size: 1em;
300         font-weight: bold;
301         display: inline;
302         margin: 0 .5em 0 0;
303         border: none;
304 }
305
306 #catlinks {
307         border: 1px solid #aaa;
308         background-color: #f9f9f9;
309         padding: 5px;
310         margin-top: 1em;
311         clear: both;
312 }
313 /* currently unused, intended to be used by a metadata box
314 in the bottom-right corner of the content area */
315 .documentDescription {
316         /* The summary text describing the document */
317         font-weight: bold;
318         display: block;
319         margin: 1em 0;
320         line-height: 1.5em;
321 }
322 .documentByLine {
323         text-align: right;
324         font-size: 90%;
325         clear: both;
326         font-weight: normal;
327         color: #76797c;
328 }
329
330 /* emulate center */
331 .center {
332         width: 100%;
333         text-align: center;
334 }
335 *.center * {
336         margin-left: auto;
337         margin-right: auto;
338 }
339 /* small for tables and similar */
340 .small, .small * {
341         font-size: 94%;
342 }
343 table.small {
344         font-size: 100%;
345 }
346
347 /*
348 ** content styles
349 */
350
351 #toc,
352 .toc,
353 .mw-warning {
354         border: 1px solid #aaa;
355         background-color: #f9f9f9;
356         padding: 5px;
357         font-size: 95%;
358 }
359 #toc h2,
360 .toc h2 {
361         display: inline;
362         border: none;
363         padding: 0;
364         font-size: 100%;
365         font-weight: bold;
366 }
367 #toc #toctitle,
368 .toc #toctitle,
369 #toc .toctitle,
370 .toc .toctitle {
371         text-align: center;
372 }
373 #toc ul,
374 .toc ul {
375         list-style-type: none;
376         list-style-image: none;
377         margin-left: 0;
378         padding-left: 0;
379         text-align: left;
380 }
381 #toc ul ul,
382 .toc ul ul {
383         margin: 0 0 0 2em;
384 }
385 #toc .toctoggle,
386 .toc .toctoggle {
387         font-size: 94%;
388 }
389
390 .mw-warning {
391         margin-left: 50px;
392         margin-right: 50px;
393         text-align: center;
394 }
395
396 /* images */
397 div.floatright, table.floatright {
398         clear: right;
399         float: right;
400         position: relative;
401         margin: 0 0 .5em .5em;
402         border: 0;
403 /*
404         border: .5em solid white;
405         border-width: .5em 0 .8em 1.4em;
406 */
407 }
408 div.floatright p { font-style: italic; }
409 div.floatleft, table.floatleft {
410         float: left;
411         clear: left;
412         position: relative;
413         margin: 0 .5em .5em 0;
414         border: 0;
415 /*
416         margin: .3em .5em .5em 0;
417         border: .5em solid white;
418         border-width: .5em 1.4em .8em 0;
419 */
420 }
421 div.floatleft p { font-style: italic; }
422 /* thumbnails */
423 div.thumb {
424         margin-bottom: .5em;
425         border-style: solid;
426         border-color: white;
427         width: auto;
428 }
429 div.thumbinner {
430         border: 1px solid #ccc;
431         padding: 3px !important;
432         background-color: #f9f9f9;
433         font-size: 94%;
434         text-align: center;
435         overflow: hidden;
436 }
437 html .thumbimage {
438         border: 1px solid #ccc;
439 }
440 html .thumbcaption {
441         border: none;
442         text-align: left;
443         line-height: 1.4em;
444         padding: 3px !important;
445         font-size: 94%;
446 }
447 div.magnify {
448         float: right;
449         border: none !important;
450         background: none !important;
451 }
452 div.magnify a, div.magnify img {
453         display: block;
454         border: none !important;
455         background: none !important;
456 }
457 div.tright {
458         clear: right;
459         float: right;
460         border-width: .5em 0 .8em 1.4em;
461 }
462 div.tleft {
463         float: left;
464         clear: left;
465         margin-right: .5em;
466         border-width: .5em 1.4em .8em 0;
467 }
468 img.thumbborder {
469         border: 1px solid #dddddd;
470 }
471 .hiddenStructure {
472         display: none;
473 }
474
475 /* Have a checkered background on images on the description pages and in galleries
476    to make transparency visible
477
478 #file img, .gallerybox .thumb img {
479         background: url(Checker-16x16.png) repeat;
480 }
481 */
482
483 /*
484 ** classes for special content elements like town boxes
485 ** intended to be referenced directly from the wiki src
486 */
487
488 /*
489 ** User styles
490 */
491 /* table standards */
492 table.rimage {
493         float: right;
494         position: relative;
495         margin-left: 1em;
496         margin-bottom: 1em;
497         text-align: center;
498 }
499 .toccolours {
500         border: 1px solid #aaa;
501         background-color: #f9f9f9;
502         padding: 5px;
503         font-size: 95%;
504 }
505 div.townBox {
506         position: relative;
507         float: right;
508         background: white;
509         margin-left: 1em;
510         border: 1px solid gray;
511         padding: .3em;
512         width: 200px;
513         overflow: hidden;
514         clear: right;
515 }
516 div.townBox dl {
517         padding: 0;
518         margin: 0 0 .3em;
519         font-size: 96%;
520 }
521 div.townBox dl dt {
522         background: none;
523         margin: .4em 0 0;
524 }
525 div.townBox dl dd {
526         margin: .1em 0 0 1.1em;
527         background-color: #f3f3f3;
528 }
529
530 /*
531 ** edit views etc
532 */
533 .special li {
534         line-height: 1.4em;
535         margin: 0;
536         padding: 0;
537 }
538
539 /* Page history styling */
540 /* the auto-generated edit comments */
541 .autocomment {
542         color: gray;
543 }
544 #pagehistory span.user {
545         margin-left: 1.4em;
546         margin-right: .4em;
547 }
548 #pagehistory span.minor {
549         font-weight: bold;
550 }
551 #pagehistory li {
552         border: 1px solid white;
553 }
554 #pagehistory li.selected {
555         background-color: #f9f9f9;
556         border: 1px dashed #aaa;
557 }
558
559 /*
560 ** keep the whitespace in front of the ^=, hides rule from konqueror
561 ** this is css3, the validator doesn't like it when validating as css2
562 */
563 #bodyContent a.external,
564 #bodyContent a[href ^="gopher://"] {
565         background: url(external.png) center right no-repeat;
566         padding-right: 13px;
567 }
568 #bodyContent a[href ^="https://"],
569 .link-https {
570         background: url(lock_icon.gif) center right no-repeat;
571         padding-right: 16px;
572 }
573 #bodyContent a[href ^="mailto:"],
574 .link-mailto {
575         background: url(mail_icon.gif) center right no-repeat;
576         padding-right: 18px;
577 }
578 #bodyContent a[href ^="news://"] {
579         background: url(news_icon.png) center right no-repeat;
580         padding-right: 18px;
581 }
582 #bodyContent a[href ^="ftp://"],
583 .link-ftp {
584         background: url(file_icon.gif) center right no-repeat;
585         padding-right: 18px;
586 }
587 #bodyContent a[href ^="irc://"],
588 .link-irc {
589         background: url(discussionitem_icon.gif) center right no-repeat;
590         padding-right: 18px;
591 }
592 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
593 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
594 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
595 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
596 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
597 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
598 .link-audio {
599         background: url("audio.png") center right no-repeat;
600         padding-right: 13px;
601 }
602 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
603 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
604 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
605 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
606 .link-video {
607         background: url("video.png") center right no-repeat;
608         padding-right: 13px;
609 }
610 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
611 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
612 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
613 .link-document {
614         background: url("document.png") center right no-repeat;
615         padding-right: 12px;
616 }
617
618 /* disable interwiki styling */
619 #bodyContent a.extiw,
620 #bodyContent a.extiw:active {
621         color: #36b;
622         background: none;
623         padding: 0;
624 }
625 #bodyContent a.external {
626         color: #36b;
627 }
628 /* this can be used in the content area to switch off
629 special external link styling */
630 #bodyContent .plainlinks a {
631         background: none !important;
632         padding: 0 !important;
633 }
634 /*
635 ** Structural Elements
636 */
637
638 /*
639 ** general portlet styles (elements in the quickbar)
640 */
641 .portlet {
642         border: none;
643         margin: 0 0 .5em;
644         padding: 0;
645         float: none;
646         width: 11.6em;
647         overflow: hidden;
648 }
649 .portlet h4 {
650         font-size: 95%;
651         font-weight: normal;
652         white-space: nowrap;
653 }
654 .portlet h5 {
655         background: transparent;
656         padding: 0 1em 0 .5em;
657         display: inline;
658         height: 1em;
659         text-transform: lowercase;
660         font-size: 91%;
661         font-weight: normal;
662         white-space: nowrap;
663 }
664 .portlet h6 {
665         background: #ffae2e;
666         border: 1px solid #2f6fab;
667         border-style: solid solid none solid;
668         padding: 0 1em 0 1em;
669         text-transform: lowercase;
670         display: block;
671         font-size: 1em;
672         height: 1.2em;
673         font-weight: normal;
674         white-space: nowrap;
675 }
676 .pBody {
677         font-size: 95%;
678         background-color: white;
679         color: black;
680         border-collapse: collapse;
681         border: 1px solid #aaa;
682         padding: 0 .8em .3em .5em;
683 }
684 .portlet h1,
685 .portlet h2,
686 .portlet h3,
687 .portlet h4 {
688         margin: 0;
689         padding: 0;
690 }
691 .portlet ul {
692         line-height: 1.5em;
693         list-style-type: square;
694         list-style-image: url(bullet.gif);
695         font-size: 95%;
696 }
697 .portlet li {
698         padding: 0;
699         margin: 0;
700 }
701
702 /*
703 ** Logo properties
704 */
705
706 #p-logo {
707         top: 0;
708         left: 0;
709         position: absolute; /*needed to use z-index */
710         z-index: 3;
711         height: 155px;
712         width: 12em;
713         overflow: visible;
714 }
715 #p-logo h5 {
716         display: none;
717 }
718 #p-logo a,
719 #p-logo a:hover {
720         display: block;
721         height: 155px;
722         width: 12.2em;
723         background-repeat: no-repeat;
724         background-position: 35% 50% !important;
725         text-decoration: none;
726 }
727 /*
728 ** the navigation portlet
729 */
730
731 #p-navigation {
732         position: relative;
733         z-index: 3;
734 }
735 #p-navigation a {
736         display: block;
737 }
738 #p-navigation li.active a, #p-navigation li.active a:hover {
739         display: inline;
740 }
741
742 #p-navigation .pBody {
743         padding-right: 0;
744 }
745
746 #p-navigation li.active a, #p-navigation li.active a:hover {
747         text-decoration: none;
748         font-weight: bold;
749 }
750
751
752 /*
753 ** Search portlet
754 */
755 #p-search {
756         position: relative;
757         z-index: 3;
758 }
759 input.searchButton {
760         margin-top: 1px;
761         font-size: 95%;
762 }
763 #searchGoButton {
764         padding-left: .5em;
765         padding-right: .5em;
766         font-weight: bold;
767 }
768 #searchInput {
769         width: 10.9em;
770         margin: 0;
771         font-size: 95%;
772 }
773 #p-search .pBody {
774         padding: .5em .4em .4em .4em;
775         text-align: center;
776 }
777
778 /*
779 ** the personal toolbar
780 */
781 #p-personal {
782         position: absolute;
783         left: 0;
784         top: 0;
785         z-index: 0;
786 }
787 #p-personal {
788         width: 100%;
789         white-space: nowrap;
790         padding: 0;
791         margin: 0;
792         border: none;
793         background: none;
794         overflow: visible;
795         line-height: 1.2em;
796 }
797 #p-personal h5 {
798         display: none;
799 }
800 #p-personal .portlet,
801 #p-personal .pBody {
802         z-index: 0;
803         padding: 0;
804         margin: 0;
805         border: none;
806         overflow: visible;
807         background: none;
808 }
809 /* this is the ul contained in the portlet */
810 #p-personal ul {
811         border: none;
812         line-height: 1.4em;
813         color: #2f6fab;
814         padding: 0 2em 0 3em;
815         margin: 0;
816         text-align: right;
817         list-style: none;
818         z-index: 0;
819         background: none;
820         cursor: default;
821 }
822 #p-personal li {
823         z-index: 0;
824         border: none;
825         padding: 0;
826         display: inline;
827         color: #2f6fab;
828         margin-left: 1em;
829         line-height: 1.2em;
830         background: none;
831 }
832 #p-personal li a {
833         text-decoration: none;
834         color: #005896;
835         padding-bottom: .2em;
836         background: none;
837 }
838 #p-personal li a:hover {
839         background-color: white;
840         padding-bottom: .2em;
841         text-decoration: none;
842 }
843 #p-personal li.active a:hover {
844         background-color: transparent;
845 }
846 /* the icon in front of the user name, single quotes
847 in bg url to hide it from iemac */
848 li#pt-userpage,
849 li#pt-anonuserpage,
850 li#pt-login {
851         background: url(user.gif) top left no-repeat;
852         padding-left: 20px;
853         text-transform: none;
854 }
855 #p-personal ul {
856         text-transform: lowercase;
857 }
858 #p-personal li.active {
859         font-weight: bold;
860 }
861 /*
862 ** the page-related actions- page/talk, edit etc
863 */
864 #p-cactions {
865         position: absolute;
866         top: 1.3em;
867         left: 11.5em;
868         margin: 0;
869         white-space: nowrap;
870         width: 76%;
871         line-height: 1.1em;
872         overflow: visible;
873         background: none;
874         border-collapse: collapse;
875         padding-left: 1em;
876         list-style: none;
877         font-size: 95%;
878 }
879 #p-cactions ul {
880         list-style: none;
881 }
882 #p-cactions li {
883         display: inline;
884         border: 1px solid #aaa;
885         border-bottom: none;
886         padding: 0 0 .1em 0;
887         margin: 0 .3em 0 0;
888         overflow: visible;
889         background: white;
890 }
891 #p-cactions li.selected {
892         border-color: #fabd23;
893         padding: 0 0 .2em 0;
894         font-weight: bold;
895 }
896 #p-cactions li a {
897         background-color: #fbfbfb;
898         color: #002bb8;
899         border: none;
900         padding: 0 .8em .3em;
901         position: relative;
902         z-index: 0;
903         margin: 0;
904         text-decoration: none;
905 }
906 #p-cactions li.selected a {
907         z-index: 3;
908         padding: 0 1em .2em!important;
909         background-color: white;
910 }
911 #p-cactions .new a {
912         color: #ba0000;
913 }
914 #p-cactions li a:hover {
915         z-index: 3;
916         text-decoration: none;
917         background-color: white;
918 }
919 #p-cactions h5 {
920         display: none;
921 }
922 #p-cactions li.istalk {
923         margin-right: 0;
924 }
925 #p-cactions li.istalk a {
926         padding-right: .5em;
927 }
928 #p-cactions #ca-addsection a {
929         padding-left: .4em;
930         padding-right: .4em;
931 }
932 /* offsets to distinguish the tab groups */
933 li#ca-talk {
934         margin-right: 1.6em;
935 }
936 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
937         margin-left: 1.6em;
938 }
939 #p-cactions .pBody {
940         font-size: 1em;
941         background-color: transparent;
942         color: inherit;
943         border-collapse: inherit;
944         border: 0;
945         padding: 0;
946 }
947 #p-cactions .hiddenStructure {
948         display: none;
949 }
950 #p-cactions li a {
951         text-transform: lowercase;
952 }
953
954 /*
955 ** the remaining portlets
956 */
957 #p-tbx,
958 #p-lang {
959         position: relative;
960         z-index: 3;
961 }
962
963 /* TODO: #t-iscite is only used by the Cite extension, come up with some
964  * system which allows extensions to add to this file on the fly
965  */
966 #t-ispermalink, #t-iscite {
967         color: #999;
968 }
969 /*
970 ** footer
971 */
972 #footer {
973         background-color: white;
974         border-top: 1px solid #fabd23;
975         border-bottom: 1px solid #fabd23;
976         margin: .6em 0 1em 0;
977         padding: .4em 0 1.2em 0;
978         text-align: center;
979         font-size: 90%;
980 }
981 #footer li {
982         display: inline;
983         margin: 0 1.3em;
984 }
985 #f-poweredbyico, #f-copyrightico {
986         margin: 0 8px;
987         position: relative;
988         top: -2px; /* Bump it up just a tad */
989 }
990 #f-poweredbyico {
991         float: right;
992         height: 1%;
993 }
994 #f-copyrightico {
995         float: left;
996         height: 1%;
997 }
998
999 /* js pref toc */
1000 #preftoc {
1001         margin: 0;
1002         padding: 0;
1003         width: 100%;
1004         clear: both;
1005 }
1006 #preftoc li {
1007         background-color: #f0f0f0;
1008         color: #000;
1009 }
1010 #preftoc li {
1011         margin: 1px -2px 1px 2px;
1012         float: left;
1013         padding: 2px 0 3px 0;
1014         border: 1px solid #fff;
1015         border-right-color: #716f64;
1016         border-bottom: 0;
1017         position: relative;
1018         white-space: nowrap;
1019         list-style-type: none;
1020         list-style-image: none;
1021         z-index: 3;
1022 }
1023 #preftoc li.selected {
1024         font-weight: bold;
1025         background-color: #f9f9f9;
1026         border: 1px solid #aaa;
1027         border-bottom: none;
1028         cursor: default;
1029         top: 1px;
1030         padding-top: 2px;
1031         margin-right: -3px;
1032 }
1033 #preftoc > li.selected {
1034         top: 2px;
1035 }
1036 #preftoc a,
1037 #preftoc a:active {
1038         display: block;
1039         color: #000;
1040         padding: 0 .7em;
1041         position: relative;
1042         text-decoration: none;
1043 }
1044 #preftoc li.selected a {
1045         cursor: default;
1046         text-decoration: none;
1047 }
1048 #prefcontrol {
1049         padding-top: 2em;
1050         clear: both;
1051 }
1052 #preferences {
1053         margin: 0;
1054         border: 1px solid #aaa;
1055         clear: both;
1056         padding: 1.5em;
1057         background-color: #F9F9F9;
1058 }
1059 .prefsection {
1060         border: none;
1061         padding: 0;
1062         margin: 0;
1063 }
1064 .prefsection fieldset {
1065         border: 1px solid #aaa;
1066         float: left;
1067         margin-right: 2em;
1068 }
1069 .prefsection legend {
1070         font-weight: bold;   
1071 }
1072 .prefsection table, .prefsection legend {
1073         background-color: #F9F9F9;
1074 }
1075 .mainLegend {
1076         display: none;
1077 }
1078 div.prefsectiontip {
1079         font-size: x-small;
1080         padding: .2em 2em;
1081         color: #666;
1082 }
1083 .btnSavePrefs {
1084         font-weight: bold;
1085         padding-left: .3em;
1086         padding-right: .3em;
1087 }
1088
1089 .preferences-login {
1090         clear: both;
1091         margin-bottom: 1.5em;
1092 }
1093
1094 .prefcache {
1095         font-size: 90%;
1096         margin-top: 2em;
1097 }
1098
1099 div#userloginForm form,
1100 div#userlogin form#userlogin2 {
1101         margin: 0 3em 1em 0;
1102         border: 1px solid #aaa;
1103         clear: both;
1104         padding: 1.5em 2em;
1105         background-color: #f9f9f9;
1106         float: left;
1107 }
1108
1109 div#userloginForm table,
1110 div#userlogin form#userlogin2 table {
1111         background-color: #f9f9f9;
1112 }
1113
1114 div#userloginForm h2,
1115 div#userlogin form#userlogin2 h2 {
1116         padding-top: 0;
1117 }
1118
1119 div#userlogin .captcha,
1120 div#userloginForm .captcha {
1121         border: 1px solid #bbb;
1122         padding: 1.5em 2em;
1123         background-color: white;
1124 }
1125
1126
1127 #userloginprompt, #languagelinks {
1128         font-size: 85%;
1129 }
1130
1131 #login-sectiontip {
1132         font-size: 85%;
1133         line-height: 1.2;
1134         padding-top: 2em;
1135 }
1136
1137 #userlogin .loginText, #userlogin .loginPassword {
1138         width: 12em;
1139 }
1140
1141 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1142         font-weight: bold;
1143 }
1144
1145 /*
1146 ** IE/Mac fixes, hope to find a validating way to move this
1147 ** to a separate stylesheet. This would work but doesn't validate:
1148 ** @import("IEMacFixes.css");
1149 */
1150 /* tabs: border on the a, not the div */
1151 * > html #p-cactions li { border: none; }
1152 * > html #p-cactions li a {
1153         border: 1px solid #aaa;
1154         border-bottom: none;
1155 }
1156 * > html #p-cactions li.selected a { border-color: #fabd23; }
1157 /* footer icons need a fixed width */
1158 * > html #f-poweredbyico,
1159 * > html #f-copyrightico { width: 88px; }
1160 * > html #bodyContent,
1161 * > html #bodyContent pre {
1162         overflow-x: auto;
1163         width: 100%;
1164         padding-bottom: 25px;
1165 }
1166
1167 /* more IE fixes */
1168 /* float/negative margin brokenness */
1169 * html #footer {margin-top: 0;}
1170 * html #column-content {
1171         display: inline;
1172         margin-bottom: 0;
1173 }
1174 * html div.editsection { font-size: smaller; }
1175 #pagehistory li.selected { position: relative; }
1176
1177 /* Mac IE 5.0 fix; floated content turns invisible */
1178 * > html #column-content {
1179         float: none;
1180 }
1181 * > html #column-one {
1182         position: absolute;
1183         left: 0;
1184         top: 0;
1185 }
1186 * > html #footer {
1187         margin-left: 13.2em;
1188 }
1189 .redirectText {
1190         font-size: 150%;
1191         margin: 5px;
1192 }
1193
1194 .printfooter {
1195         display: none;
1196 }
1197
1198 .not-patrolled {
1199         background-color: #ffa;
1200 }
1201 div.patrollink {
1202         font-size: 75%;
1203         text-align: right;
1204 }
1205 span.newpage, span.minor, span.searchmatch, span.bot {
1206         font-weight: bold;
1207 }
1208 span.unpatrolled {
1209         font-weight: bold;
1210         color: red;
1211 }
1212
1213 span.searchmatch {
1214         color: red;
1215 }
1216 .sharedUploadNotice {
1217         font-style: italic;
1218 }
1219
1220 span.updatedmarker {
1221         color: black;
1222         background-color: #0f0;
1223 }
1224
1225 table.gallery {
1226         border: 1px solid #ccc;
1227         margin: 2px;
1228         padding: 2px;
1229         background-color: white;
1230 }
1231
1232 table.gallery tr {
1233         vertical-align: top;
1234 }
1235
1236 table.gallery td {
1237         vertical-align: top;
1238         background-color: #f9f9f9;
1239         border: solid 2px white;
1240 }
1241 /* Keep this temporarily so that cached pages will display right */
1242 table.gallery td.galleryheader {
1243     text-align: center;
1244         font-weight: bold;
1245 }
1246 table.gallery caption {
1247         font-weight: bold;
1248 }
1249
1250 div.gallerybox {
1251         margin: 2px;
1252 }
1253
1254 div.gallerybox div.thumb {
1255         text-align: center;
1256         border: 1px solid #ccc;
1257         margin: 2px;
1258 }
1259
1260 div.gallerytext {
1261         overflow: hidden;
1262         font-size: 94%;
1263         padding: 2px 4px;
1264 }
1265
1266 span.comment {
1267         font-style: italic;
1268 }
1269
1270 span.changedby {
1271         font-size: 95%;
1272 }
1273
1274 .previewnote {
1275         text-indent: 3em;
1276         color: #c00;
1277         border-bottom: 1px solid #aaa;
1278         padding-bottom: 1em;
1279         margin-bottom: 1em;
1280 }
1281
1282 .previewnote p {
1283         margin: 0;
1284         padding: 0;
1285 }
1286
1287 .editExternally {
1288         border: 1px solid gray;
1289         background-color: #ffffff;
1290         padding: 3px;
1291         margin-top: 0.5em;
1292         float: left;
1293         font-size: small;
1294         text-align: center;
1295 }
1296 .editExternallyHelp {
1297         font-style: italic;
1298         color: gray;
1299 }
1300
1301 li span.deleted, span.history-deleted {
1302         text-decoration: line-through;
1303         color: #888;
1304         font-style: italic;
1305 }
1306
1307 .toggle {
1308         margin-left: 2em;
1309         text-indent: -2em;
1310 }
1311
1312 /* Classes for EXIF data display */
1313 table.mw_metadata {
1314         font-size: 0.8em;
1315         margin-left: 0.5em;
1316         margin-bottom: 0.5em;
1317         width: 300px;
1318 }
1319
1320 table.mw_metadata caption {
1321         font-weight: bold;
1322 }
1323
1324 table.mw_metadata th {
1325         font-weight: normal;
1326 }
1327
1328 table.mw_metadata td {
1329         padding: 0.1em;
1330 }
1331
1332 table.mw_metadata {
1333         border: none;
1334         border-collapse: collapse;
1335 }
1336
1337 table.mw_metadata td, table.mw_metadata th {
1338         text-align: center;
1339         border: 1px solid #aaaaaa;
1340         padding-left: 0.1em;
1341         padding-right: 0.1em;
1342 }
1343
1344 table.mw_metadata th {
1345         background-color: #f9f9f9;
1346 }
1347
1348 table.mw_metadata td {
1349         background-color: #fcfcfc;
1350 }
1351
1352 table.collapsed tr.collapsable {
1353         display: none;
1354 }
1355
1356
1357 /* filetoc */
1358 ul#filetoc {
1359         text-align: center;
1360         border: 1px solid #aaaaaa;
1361         background-color: #f9f9f9;
1362         padding: 5px;
1363         font-size: 95%;
1364         margin-bottom: 0.5em;
1365         margin-left: 0;
1366         margin-right: 0;
1367 }
1368
1369 #filetoc li {
1370         display: inline;
1371         list-style-type: none;
1372         padding-right: 2em;
1373 }
1374
1375 input#wpSummary {
1376         width: 80%;
1377 }
1378
1379 /* @bug 1714 */
1380 input#wpSave, input#wpDiff {
1381         margin-right: 0.33em;
1382 }
1383
1384 #editform .editOptions {
1385         display: inline;
1386 }
1387
1388 #wpSave {
1389         font-weight: bold;
1390 }
1391
1392 /* Classes for article validation */
1393
1394 table.revisionform_default {
1395         border: 1px solid #000000;
1396 }
1397
1398 table.revisionform_focus {
1399         border: 1px solid #000000;
1400         background-color:#00BBFF;
1401 }
1402
1403 tr.revision_tr_default {
1404         background-color:#EEEEEE;
1405 }
1406
1407 tr.revision_tr_first {
1408         background-color:#DDDDDD;
1409 }
1410
1411 p.revision_saved {
1412         color: green;
1413         font-weight:bold;
1414 }
1415
1416 #mw_trackbacks {
1417         border: solid 1px #bbbbff;
1418         background-color: #eeeeff;
1419         padding: 0.2em;
1420 }
1421
1422
1423 /* Allmessages table */
1424
1425 #allmessagestable th {
1426         background-color: #b2b2ff;
1427 }
1428
1429 #allmessagestable tr.orig {
1430         background-color: #ffe2e2;
1431 }
1432
1433 #allmessagestable tr.new {
1434         background-color: #e2ffe2;
1435 }
1436
1437 #allmessagestable tr.def {
1438         background-color: #f0f0ff;
1439 }
1440
1441
1442 /* noarticletext */
1443 div.noarticletext {
1444         border: 1px solid #ccc;
1445         background: #fff;
1446         padding: .2em 1em;
1447         color: #000;
1448 }
1449
1450 div#searchTargetContainer {
1451         left:       10px;
1452         top:        10px;
1453         width:      90%;
1454         background: white;
1455 }
1456
1457 div#searchTarget {
1458         padding:    3px;
1459         margin:     5px;
1460         background: #F0F0F0;
1461         border:     solid 1px blue;
1462 }
1463
1464 div#searchTarget ul li {
1465         list-style: none;
1466 }
1467
1468 div#searchTarget ul li:before {
1469         color: orange;
1470         content: "\00BB \0020";
1471 }
1472
1473 div.multipageimagenavbox {
1474    border: solid 1px silver;
1475    padding: 4px;
1476    margin: 1em;
1477    -moz-border-radius: 6px;
1478    background: #f0f0f0;
1479 }
1480
1481 div.multipageimagenavbox div.thumb {
1482    border: none;
1483    margin-left: 2em;
1484    margin-right: 2em;
1485 }
1486
1487 div.multipageimagenavbox hr {
1488    margin: 6px;
1489 }
1490
1491 table.multipageimage td {
1492    text-align: center;
1493 }
1494
1495 /** Special:Version */
1496
1497 table#sv-ext, table#sv-hooks {
1498         margin: 1em;
1499         padding:0em;
1500 }
1501
1502 #sv-ext td, #sv-hooks td,
1503 #sv-ext th, #sv-hooks th {
1504         border: 1px solid #A0A0A0;
1505         padding: 0 0.15em 0 0.15em;
1506 }
1507 #sv-ext th, #sv-hooks th {
1508         background-color: #F0F0F0;
1509         color: black;
1510         padding: 0 0.15em 0 0.15em;
1511 }
1512 tr.sv-space{
1513         height: 0.8em;
1514         border:none;
1515 }
1516 tr.sv-space td { display: none; }
1517
1518 /*
1519   Table pager (e.g. Special:Imagelist)
1520   - remove underlines from the navigation link
1521   - collapse borders
1522   - set the borders to outsets (similar to Special:Allmessages)
1523   - remove line wrapping for all td and th, set background color
1524   - restore line wrapping for the last two table cells (description and size)
1525 */
1526 .TablePager_nav a { text-decoration: none; }
1527 .TablePager { border-collapse: collapse; }
1528 .TablePager, .TablePager td, .TablePager th { 
1529         border: 1px solid #aaaaaa;
1530         padding: 0 0.15em 0 0.15em;
1531 }
1532 .TablePager th { background-color: #eeeeff }
1533 .TablePager td { background-color: #ffffff }
1534 .TablePager tr:hover td { background-color: #eeeeff }
1535
1536 .imagelist td, .imagelist th { white-space: nowrap }
1537 .imagelist .TablePager_col_links { background-color: #eeeeff }
1538 .imagelist .TablePager_col_img_description { white-space: normal }
1539 .imagelist th.TablePager_sort { background-color: #ccccff }
1540
1541 .templatesUsed { margin-top: 1.5em; }
1542
1543 .mw-summary-preview {
1544         margin: 0.1em 0;
1545 }
1546
1547 /* Convenience links on Special:Ipblocklist */
1548 p.mw-ipb-conveniencelinks {
1549         font-size: 90%;
1550         float: right;
1551 }
1552
1553 /* Friendlier slave lag warnings */
1554 div.mw-lag-warn-normal,
1555 div.mw-lag-warn-high {
1556         padding: 3px;
1557         text-align: center;
1558         margin: 3px auto;
1559 }
1560 div.mw-lag-warn-normal {
1561         border: 1px solid #FFCC66;
1562         background-color: #FFFFCC;
1563 }
1564 div.mw-lag-warn-high {
1565         font-weight: bold;
1566         border: 2px solid #FF0033;
1567         background-color: #FFCCCC;
1568 }
1569
1570 /* Recreating-deleted-page warning and log entries */
1571 div#mw-recreate-deleted-warn {
1572         padding: 3px;
1573         margin-bottom: 3px;
1574         border: 2px solid #2F6FAB;
1575 }
1576 div#mw-recreate-deleted-warn ul li {
1577         font-size: 90%;
1578 }
1579 .MediaTransformError {
1580         background-color: #ccc;
1581         padding: 0.1em;
1582 }
1583 .MediaTransformError td {
1584         text-align: center;
1585         vertical-align: middle;
1586         font-size: 90%;
1587 }