]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - skins/monobook/main.css
MediaWiki 1.17.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 div#column-content {
13         width: 100%;
14         float: right;
15         margin: 0 0 .6em -12.2em;
16         padding: 0;
17 }
18 div#content {
19         margin: 2.8em 0 0 12.2em;
20         padding: 0 1em 1em 1em;
21         position: relative;
22         z-index: 2;
23 }
24 div#column-one {
25         padding-top: 160px;
26 }
27 div#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 div#globalWrapper {
52         font-size: 127%;
53         width: 100%;
54         margin: 0;
55         padding: 0;
56 }
57
58 /* general styles */
59
60 table {
61         font-size: 100%;
62 }
63 a {
64         text-decoration: none;
65         color: #002bb8;
66         background: none;
67 }
68 a:visited {
69         color: #5a3696;
70 }
71 a:active {
72         color: #faa700;
73 }
74 a:hover {
75         text-decoration: underline;
76 }
77 a.stub {
78         color: #772233;
79 }
80 a.new, #p-personal a.new {
81         color: #cc2200;
82 }
83 a.new:visited, #p-personal a.new:visited {
84         color: #a55858;
85 }
86
87 img {
88         border: none;
89         vertical-align: middle;
90 }
91 p {
92         margin: .4em 0 .5em 0;
93         line-height: 1.5em;
94 }
95 p img {
96         margin: 0;
97 }
98
99 hr {
100         height: 1px;
101         color: #aaa;
102         background-color: #aaa;
103         border: 0;
104         margin: .2em 0 .2em 0;
105 }
106
107 h1, h2, h3, h4, h5, h6 {
108         color: black;
109         background: none;
110         font-weight: normal;
111         margin: 0;
112         overflow: hidden;
113         padding-top: .5em;
114         padding-bottom: .17em;
115         border-bottom: 1px solid #aaa;
116 }
117 h1 { font-size: 188%; }
118 h1 .editsection { font-size: 53%; }
119 h2 { font-size: 150%; }
120 h2 .editsection { font-size: 67%; }
121 h3, h4, h5, h6 {
122         border-bottom: none;
123         font-weight: bold;
124 }
125 h3 { font-size: 132%; }
126 h3 .editsection { font-size: 76%; font-weight: normal; }
127 h4 { font-size: 116%; }
128 h4 .editsection { font-size: 86%; font-weight: normal; }
129 h5 { font-size: 100%; }
130 h5 .editsection { font-weight: normal; }
131 h6 { font-size: 80%; }
132 h6 .editsection { font-size: 125%; font-weight: normal; }
133
134 ul {
135         line-height: 1.5em;
136         list-style-type: square;
137         margin: .3em 0 0 1.5em;
138         padding: 0;
139         list-style-image: url(bullet.gif);
140 }
141 ol {
142         line-height: 1.5em;
143         margin: .3em 0 0 3.2em;
144         padding: 0;
145         list-style-image: none;
146 }
147 li {
148         margin-bottom: .1em;
149 }
150 dt {
151         font-weight: bold;
152         margin-bottom: .1em;
153 }
154 dl {
155         margin-top: .2em;
156         margin-bottom: .5em;
157 }
158 dd {
159         line-height: 1.5em;
160         margin-left: 2em;
161         margin-bottom: .1em;
162 }
163
164 fieldset {
165         border: 1px solid #2f6fab;
166         margin: 1em 0 1em 0;
167         padding: 0 1em 1em;
168         line-height: 1.5em;
169 }
170 fieldset.nested {
171         margin: 0 0 0.5em 0;
172         padding: 0 0.5em 0.5em;
173 }
174 legend {
175         padding: .5em;
176         font-size: 95%;
177 }
178 form {
179         border: none;
180         margin: 0;
181 }
182
183 textarea {
184         width: 100%;
185         padding: .1em;
186 }
187
188 input.historysubmit {
189         padding: 0 .3em .3em .3em !important;
190         font-size: 94%;
191         cursor: pointer;
192         height: 1.7em !important;
193         margin-left: 1.6em;
194 }
195 select {
196         vertical-align: top;
197 }
198 q {
199         font-family: Times, "Times New Roman", serif;
200         font-style: italic;
201 }
202 /* disabled for now
203 blockquote {
204         font-family: Times, "Times New Roman", serif;
205         font-style: italic;
206 }*/
207 code {
208         background-color: #f9f9f9;
209 }
210 pre {
211         padding: 1em;
212         border: 1px dashed #2f6fab;
213         color: black;
214         background-color: #f9f9f9;
215         line-height: 1.1em;
216 }
217
218 /*
219 ** the main content area
220 */
221
222 #siteSub {
223         display: none;
224 }
225 #jump-to-nav {
226         display: none;
227 }
228
229 #contentSub, #contentSub2 {
230         font-size: 84%;
231         line-height: 1.2em;
232         margin: 0 0 1.4em 1em;
233         color: #7d7d7d;
234         width: auto;
235 }
236 span.subpages {
237         display: block;
238 }
239
240 /* Some space under the headers in the content area */
241 #bodyContent h1, #bodyContent h2 {
242         margin-bottom: .6em;
243 }
244 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
245         margin-bottom: .3em;
246 }
247 #firstHeading {
248         margin-bottom: .1em;
249         /* These two rules hack around bug 2013 (fix for more limited bug 11325).
250            When bug 2013 is fixed properly, they should be removed. */
251         line-height: 1.2em;
252         padding-bottom: 0;
253 }
254
255 /* user notification thing */
256 .usermessage {
257         background-color: #ffce7b;
258         border: 1px solid #ffa500;
259         color: black;
260         font-weight: bold;
261         margin: 2em 0 1em;
262         padding: .5em 1em;
263         vertical-align: middle;
264 }
265 #siteNotice {
266         text-align: center;
267         font-size: 95%;
268         padding: 0 0.9em;
269 }
270 #siteNotice p {
271         margin: 0;
272         padding: 0;
273 }
274
275 .catlinks {
276         border: 1px solid #aaa;
277         background-color: #f9f9f9;
278         padding: 5px;
279         margin-top: 1em;
280         clear: both;
281 }
282 /* currently unused, intended to be used by a metadata box
283 in the bottom-right corner of the content area */
284 .documentDescription {
285         /* The summary text describing the document */
286         font-weight: bold;
287         display: block;
288         margin: 1em 0;
289         line-height: 1.5em;
290 }
291 .documentByLine {
292         text-align: right;
293         font-size: 90%;
294         clear: both;
295         font-weight: normal;
296         color: #76797c;
297 }
298
299 /* emulate center */
300 .center {
301         width: 100%;
302         text-align: center;
303 }
304 *.center * {
305         margin-left: auto;
306         margin-right: auto;
307 }
308 /* small for tables and similar */
309 .small, .small * {
310         font-size: 94%;
311 }
312 table.small {
313         font-size: 100%;
314 }
315
316 /*
317 ** content styles
318 */
319
320 #toc,
321 .toc,
322 .mw-warning {
323         border: 1px solid #aaa;
324         background-color: #f9f9f9;
325         padding: 5px;
326         font-size: 95%;
327 }
328 #toc h2,
329 .toc h2 {
330         display: inline;
331         border: none;
332         padding: 0;
333         font-size: 100%;
334         font-weight: bold;
335 }
336 #toc #toctitle,
337 .toc #toctitle,
338 #toc .toctitle,
339 .toc .toctitle {
340         text-align: center;
341 }
342 #toc ul,
343 .toc ul {
344         list-style-type: none;
345         list-style-image: none;
346         margin-left: 0;
347         padding-left: 0;
348         text-align: left;
349 }
350 #toc ul ul,
351 .toc ul ul {
352         margin: 0 0 0 2em;
353 }
354 #toc .toctoggle,
355 .toc .toctoggle {
356         font-size: 94%;
357 }
358
359 .mw-warning {
360         margin-left: 50px;
361         margin-right: 50px;
362         text-align: center;
363 }
364
365 /* images */
366 div.floatright, table.floatright {
367         clear: right;
368         float: right;
369         position: relative;
370         margin: 0 0 .5em .5em;
371         border: 0;
372 /*
373         border: .5em solid white;
374         border-width: .5em 0 .8em 1.4em;
375 */
376 }
377 div.floatright p { font-style: italic; }
378 div.floatleft, table.floatleft {
379         float: left;
380         clear: left;
381         position: relative;
382         margin: 0 .5em .5em 0;
383         border: 0;
384 /*
385         margin: .3em .5em .5em 0;
386         border: .5em solid white;
387         border-width: .5em 1.4em .8em 0;
388 */
389 }
390 div.floatleft p { font-style: italic; }
391 /* thumbnails */
392 div.thumb {
393         margin-bottom: .5em;
394         width: auto;
395 }
396 div.thumbinner {
397         border: 1px solid #ccc;
398         padding: 3px !important;
399         background-color: #f9f9f9;
400         font-size: 94%;
401         text-align: center;
402         overflow: hidden;
403 }
404 html .thumbimage {
405         border: 1px solid #ccc;
406 }
407 html .thumbcaption {
408         border: none;
409         text-align: left;
410         line-height: 1.4em;
411         padding: 3px !important;
412         font-size: 94%;
413 }
414 div.magnify {
415         float: right;
416         border: none !important;
417         background: none !important;
418 }
419 div.magnify a, div.magnify img {
420         display: block;
421         border: none !important;
422         background: none !important;
423 }
424 div.tright {
425         clear: right;
426         float: right;
427         margin: .5em 0 1.3em 1.4em;
428 }
429 div.tleft {
430         float: left;
431         clear: left;
432         margin: .5em 1.4em 1.3em 0;
433 }
434 img.thumbborder {
435         border: 1px solid #dddddd;
436 }
437 .hiddenStructure {
438         display: none;
439 }
440
441 /*
442 ** classes for special content elements like town boxes
443 ** intended to be referenced directly from the wiki src
444 */
445
446 /*
447 ** User styles
448 */
449 /* table standards */
450 table.rimage {
451         float: right;
452         position: relative;
453         margin-left: 1em;
454         margin-bottom: 1em;
455         text-align: center;
456 }
457 .toccolours {
458         border: 1px solid #aaa;
459         background-color: #f9f9f9;
460         padding: 5px;
461         font-size: 95%;
462 }
463
464 /*
465 ** edit views etc
466 */
467 .special li {
468         line-height: 1.4em;
469         margin: 0;
470         padding: 0;
471 }
472
473 /*
474 ** keep the whitespace in front of the ^=, hides rule from konqueror
475 ** this is css3, the validator doesn't like it when validating as css2
476 */
477 #bodyContent a.external,
478 #bodyContent a.external[href ^="gopher://"] {
479         background: url(external.png) center right no-repeat;
480         padding: 0 13px;
481 }
482 .rtl #bodyContent a.external,
483 .rtl #bodyContent a.external[href ^="gopher://"] {
484         background-image: url(external-rtl.png);
485 }
486 #bodyContent a.external[href ^="https://"],
487 .link-https {
488         background: url(lock_icon.gif) center right no-repeat;
489         padding: 0 16px;
490 }
491 #bodyContent a.external[href ^="mailto:"],
492 .link-mailto {
493         background: url(mail_icon.gif) center right no-repeat;
494         padding: 0 18px;
495 }
496 #bodyContent a.external[href ^="news://"] {
497         background: url(news_icon.png) center right no-repeat;
498         padding: 0 18px;
499 }
500 #bodyContent a.external[href ^="ftp://"],
501 .link-ftp {
502         background: url(file_icon.gif) center right no-repeat;
503         padding: 0 18px;
504 }
505 #bodyContent a.external[href ^="irc://"],
506 .link-irc {
507         background: url(discussionitem_icon.gif) center right no-repeat;
508         padding: 0 18px;
509 }
510 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
511 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
512 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
513 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
514 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
515 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
516 .link-audio {
517         background: url("audio.png") center right no-repeat;
518         padding: 0 13px;
519 }
520 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
521 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
522 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
523 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
524 .link-video {
525         background: url("video.png") center right no-repeat;
526         padding: 0 13px;
527 }
528 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
529 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
530 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
531 .link-document {
532         background: url("document.png") center right no-repeat;
533         padding: 0 12px;
534 }
535
536 /* for rtl wikis */
537 .rtl #bodyContent a.external {
538         background-position: left;
539         padding-right: 0;
540 }
541 .rtl a.feedlink {
542         background-position: right;
543         padding-right: 16px;
544         padding-left: 0;
545 }
546
547 /* correction for ltr wikis */
548 .ltr #bodyContent a.external {
549         padding-left: 0;
550 }
551
552 /* disable interwiki styling */
553 #bodyContent a.extiw,
554 #bodyContent a.extiw:active {
555         color: #36b;
556 }
557 #bodyContent a.external {
558         color: #36b;
559 }
560 /*
561 ** Structural Elements
562 */
563
564 /*
565 ** general portlet styles (elements in the quickbar)
566 */
567 .portlet {
568         border: none;
569         margin: 0 0 .5em;
570         padding: 0;
571         float: none;
572         width: 11.6em;
573         overflow: hidden;
574 }
575 .portlet h4 {
576         font-size: 95%;
577         font-weight: normal;
578         white-space: nowrap;
579 }
580 .portlet h5 {
581         background: transparent;
582         padding: 0 1em 0 .5em;
583         display: inline;
584         height: 1em;
585         text-transform: lowercase;
586         font-size: 91%;
587         font-weight: normal;
588         white-space: nowrap;
589 }
590 .portlet h6 {
591         background: #ffae2e;
592         border: 1px solid #2f6fab;
593         border-style: solid solid none solid;
594         padding: 0 1em 0 1em;
595         text-transform: lowercase;
596         display: block;
597         font-size: 1em;
598         height: 1.2em;
599         font-weight: normal;
600         white-space: nowrap;
601 }
602 .pBody {
603         font-size: 95%;
604         background-color: white;
605         color: black;
606         border-collapse: collapse;
607         border: 1px solid #aaa;
608         padding: 0 .8em .3em .5em;
609 }
610 .portlet h1,
611 .portlet h2,
612 .portlet h3,
613 .portlet h4 {
614         margin: 0;
615         padding: 0;
616 }
617 .portlet ul {
618         line-height: 1.5em;
619         list-style-type: square;
620         list-style-image: url(bullet.gif);
621         font-size: 95%;
622 }
623 .portlet li {
624         padding: 0;
625         margin: 0;
626 }
627
628 /*
629 ** Logo properties
630 */
631
632 #p-logo {
633         top: 0;
634         left: 0;
635         position: absolute; /*needed to use z-index */
636         z-index: 3;
637         height: 155px;
638         width: 12em;
639         overflow: visible;
640 }
641 #p-logo h5 {
642         display: none;
643 }
644 #p-logo a,
645 #p-logo a:hover {
646         display: block;
647         height: 155px;
648         width: 12.2em;
649         background-repeat: no-repeat;
650         background-position: 35% 50% !important;
651         text-decoration: none;
652 }
653
654 /*
655 ** Search portlet
656 */
657 #p-search {
658         position: relative;
659         z-index: 3;
660 }
661 input.searchButton {
662         margin-top: 1px;
663         font-size: 95%;
664 }
665 #searchGoButton {
666         padding-left: .5em;
667         padding-right: .5em;
668         font-weight: bold;
669 }
670 #searchInput {
671         width: 10.9em;
672         margin: 0;
673         font-size: 95%;
674 }
675 #p-search .pBody {
676         padding: .5em .4em .4em .4em;
677         text-align: center;
678 }
679 #p-search #searchform div div {
680         margin-top: .4em;
681         font-size: 95%;
682 }
683 /*
684 ** the personal toolbar
685 */
686 #p-personal {
687         position: absolute;
688         left: 0;
689         top: 0;
690         z-index: 0;
691 }
692 #p-personal {
693         width: 100%;
694         white-space: nowrap;
695         padding: 0;
696         margin: 0;
697         border: none;
698         background: none;
699         overflow: visible;
700         line-height: 1.2em;
701 }
702 #p-personal h5 {
703         display: none;
704 }
705 #p-personal .portlet,
706 #p-personal .pBody {
707         z-index: 0;
708         padding: 0;
709         margin: 0;
710         border: none;
711         overflow: visible;
712         background: none;
713 }
714 /* this is the ul contained in the portlet */
715 #p-personal ul {
716         border: none;
717         line-height: 1.4em;
718         color: #2f6fab;
719         padding: 0 2em 0 3em;
720         margin: 0;
721         text-align: right;
722         list-style: none;
723         z-index: 0;
724         background: none;
725         cursor: default;
726 }
727 #p-personal li {
728         z-index: 0;
729         border: none;
730         padding: 0;
731         display: inline;
732         color: #2f6fab;
733         margin-left: 1em;
734         line-height: 1.2em;
735         background: none;
736 }
737 #p-personal li a {
738         text-decoration: none;
739         color: #005896;
740         padding-bottom: .2em;
741         background: none;
742 }
743 #p-personal li a:hover {
744         background-color: white;
745         padding-bottom: .2em;
746         text-decoration: none;
747 }
748 #p-personal li.active a:hover {
749         background-color: transparent;
750 }
751 /* the icon in front of the user name, single quotes
752 in bg url to hide it from iemac */
753 li#pt-userpage,
754 li#pt-anonuserpage,
755 li#pt-login {
756         background: url(user.gif) top left no-repeat;
757         padding-left: 20px;
758         text-transform: none;
759 }
760 #p-personal ul {
761         text-transform: lowercase;
762 }
763 #p-personal li.active {
764         font-weight: bold;
765 }
766 /*
767 ** the page-related actions- page/talk, edit etc
768 */
769 #p-cactions {
770         position: absolute;
771         top: 1.3em;
772         left: 11.5em;
773         margin: 0;
774         white-space: nowrap;
775         width: 76%;
776         line-height: 1.1em;
777         overflow: visible;
778         background: none;
779         border-collapse: collapse;
780         padding-left: 1em;
781         list-style: none;
782         font-size: 95%;
783 }
784 #p-cactions ul {
785         list-style: none;
786 }
787 #p-cactions li {
788         display: inline;
789         border: 1px solid #aaa;
790         border-bottom: none;
791         padding: 0 0 .1em 0;
792         margin: 0 .3em 0 0;
793         overflow: visible;
794         background: white;
795 }
796 #p-cactions li.selected {
797         border-color: #fabd23;
798         padding: 0 0 .2em 0;
799         font-weight: bold;
800 }
801 #p-cactions li a {
802         background-color: #fbfbfb;
803         color: #002bb8;
804         border: none;
805         padding: 0 .8em .3em;
806         position: relative;
807         z-index: 0;
808         margin: 0;
809         text-decoration: none;
810 }
811 #p-cactions li.selected a {
812         z-index: 3;
813         background-color: white;
814 }
815 #p-cactions .new a {
816         color: #ba0000;
817 }
818 #p-cactions li a:hover {
819         z-index: 3;
820         text-decoration: none;
821         background-color: white;
822 }
823 #p-cactions h5 {
824         display: none;
825 }
826 #p-cactions li.istalk {
827         margin-right: 0;
828 }
829 #p-cactions li.istalk a {
830         padding-right: .5em;
831 }
832 #p-cactions #ca-addsection a {
833         padding-left: .4em;
834         padding-right: .4em;
835 }
836 /* offsets to distinguish the tab groups */
837 li#ca-talk {
838         margin-right: 1.6em;
839 }
840 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
841         margin-left: 1.6em;
842 }
843 #p-cactions .pBody {
844         font-size: 1em;
845         background-color: transparent;
846         color: inherit;
847         border-collapse: inherit;
848         border: 0;
849         padding: 0;
850 }
851 #p-cactions .hiddenStructure {
852         display: none;
853 }
854 #p-cactions li a {
855         text-transform: lowercase;
856 }
857
858 #p-lang {
859         position: relative;
860         z-index: 3;
861 }
862
863 /* Override text-transform on languages where capitalization is significant */
864 .capitalize-all-nouns .portlet h5,
865 .capitalize-all-nouns .portlet h6,
866 .capitalize-all-nouns #p-personal ul,
867 .capitalize-all-nouns #p-cactions ul li a {
868         text-transform: none;
869 }
870
871 /* TODO: #t-iscite is only used by the Cite extension, come up with some
872  * system which allows extensions to add to this file on the fly
873  */
874 #t-ispermalink, #t-iscite {
875         color: #999;
876 }
877 /*
878 ** footer
879 */
880 div#footer {
881         background-color: white;
882         border-top: 1px solid #fabd23;
883         border-bottom: 1px solid #fabd23;
884         margin: .6em 0 1em 0;
885         padding: .4em 0 1.2em 0;
886         text-align: center;
887         font-size: 90%;
888 }
889 div#footer li {
890         display: inline;
891         margin: 0 1.3em;
892 }
893 #f-poweredbyico, #f-copyrightico {
894         margin: 0 8px;
895         position: relative;
896         top: -2px; /* Bump it up just a tad */
897 }
898 #f-poweredbyico {
899         float: right;
900         height: 1%;
901 }
902 #f-copyrightico {
903         float: left;
904         height: 1%;
905 }
906
907 .mw-htmlform-submit {
908         font-weight: bold;
909         padding-left: .3em;
910         padding-right: .3em;
911         margin-right: 2em;
912 }
913
914 /* js pref toc */
915 #preftoc {
916         margin: 0;
917         padding: 0;
918         width: 100%;
919         clear: both;
920 }
921 #preftoc li {
922         background-color: #f0f0f0;
923         color: #000;
924 }
925 #preftoc li {
926         margin: 1px -2px 1px 2px;
927         float: left;
928         padding: 2px 0 3px 0;
929         border: 1px solid #fff;
930         border-right-color: #716f64;
931         border-bottom: 0;
932         position: relative;
933         white-space: nowrap;
934         list-style-type: none;
935         list-style-image: none;
936         z-index: 3;
937 }
938 #preftoc li.selected {
939         font-weight: bold;
940         background-color: #f9f9f9;
941         border: 1px solid #aaa;
942         border-bottom: none;
943         cursor: default;
944         top: 1px;
945         padding-top: 2px;
946         margin-right: -3px;
947 }
948 #preftoc > li.selected {
949         top: 2px;
950 }
951 #preftoc a,
952 #preftoc a:active {
953         display: block;
954         color: #000;
955         padding: 0 .7em;
956         position: relative;
957         text-decoration: none;
958 }
959 #preftoc li.selected a {
960         cursor: default;
961         text-decoration: none;
962 }
963 #preferences {
964         margin: 0;
965         border: 1px solid #aaa;
966         clear: both;
967         padding: 1.5em;
968         background-color: #F9F9F9;
969 }
970 .prefsection {
971         border: none;
972         padding: 0;
973         margin: 0;
974 }
975
976 .prefsection legend {
977         font-weight: bold;
978 }
979 .prefsection table, .prefsection legend {
980         background-color: #F9F9F9;
981 }
982 .mainLegend {
983         display: none;
984 }
985 td.htmlform-tip {
986         font-size: x-small;
987         padding: .2em 2em;
988         color: #666;
989 }
990
991 .preferences-login {
992         clear: both;
993         margin-bottom: 1.5em;
994 }
995
996 .prefcache {
997         font-size: 90%;
998         margin-top: 2em;
999 }
1000
1001 div#userloginForm form,
1002 div#userlogin form#userlogin2 {
1003         margin: 0 3em 1em 0;
1004         border: 1px solid #aaa;
1005         clear: both;
1006         padding: 1.5em 2em;
1007         background-color: #f9f9f9;
1008         float: left;
1009 }
1010 .rtl div#userloginForm form,
1011 .rtl div#userlogin form#userlogin2 {
1012         float: right;
1013 }
1014
1015 div#userloginForm table,
1016 div#userlogin form#userlogin2 table {
1017         background-color: #f9f9f9;
1018 }
1019
1020 div#userloginForm h2,
1021 div#userlogin form#userlogin2 h2 {
1022         padding-top: 0;
1023 }
1024
1025 div#userlogin .captcha,
1026 div#userloginForm .captcha {
1027         border: 1px solid #bbb;
1028         padding: 1.5em 2em;
1029         background-color: white;
1030 }
1031
1032 #loginend, #signupend {
1033         clear: both;
1034 }
1035
1036 #userloginprompt, #languagelinks {
1037         font-size: 85%;
1038 }
1039
1040 #login-sectiontip {
1041         font-size: 85%;
1042         line-height: 1.2;
1043         padding-top: 2em;
1044 }
1045
1046 #userlogin .loginText, #userlogin .loginPassword {
1047         width: 12em;
1048 }
1049
1050 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1051         font-weight: bold;
1052 }
1053
1054 /*
1055 ** IE/Mac fixes, hope to find a validating way to move this
1056 ** to a separate stylesheet. This would work but doesn't validate:
1057 ** @import("IEMacFixes.css");
1058 */
1059 /* tabs: border on the a, not the div */
1060 * > html #p-cactions li { border: none; }
1061 * > html #p-cactions li a {
1062         border: 1px solid #aaa;
1063         border-bottom: none;
1064 }
1065 * > html #p-cactions li.selected a { border-color: #fabd23; }
1066 /* footer icons need a fixed width */
1067 * > html #f-poweredbyico,
1068 * > html #f-copyrightico { width: 88px; }
1069 * > html #bodyContent,
1070 * > html #bodyContent pre {
1071         overflow-x: auto;
1072         width: 100%;
1073         padding-bottom: 25px;
1074 }
1075
1076 /* more IE fixes */
1077 /* float/negative margin brokenness */
1078 * html div#footer {margin-top: 0;}
1079 * html div#column-content {
1080         display: inline;
1081         margin-bottom: 0;
1082 }
1083 * html div.editsection { font-size: smaller; }
1084 #pagehistory li.selected { position: relative; }
1085
1086 /* Mac IE 5.0 fix; floated content turns invisible */
1087 * > html div#column-content {
1088         float: none;
1089 }
1090 * > html div#column-one {
1091         position: absolute;
1092         left: 0;
1093         top: 0;
1094 }
1095 * > html div#footer {
1096         margin-left: 13.2em;
1097 }
1098 .redirectText {
1099         font-size: 150%;
1100         margin: 5px;
1101 }
1102
1103 .printfooter {
1104         display: none;
1105 }
1106
1107 div.patrollink {
1108         clear: both;
1109 }
1110
1111 .sharedUploadNotice {
1112         font-style: italic;
1113 }
1114
1115 span.updatedmarker {
1116         color: black;
1117         background-color: #0f0;
1118 }
1119
1120 .editExternally {
1121         border: 1px solid gray;
1122         background-color: #ffffff;
1123         padding: 3px;
1124         margin-top: 0.5em;
1125         float: left;
1126         font-size: small;
1127         text-align: center;
1128 }
1129 .editExternallyHelp {
1130         font-style: italic;
1131         color: gray;
1132 }
1133
1134 .toggle {
1135         margin-left: 2em;
1136         text-indent: -2em;
1137 }
1138
1139 /* @bug 1714 */
1140 input#wpSave, input#wpDiff {
1141         margin-right: 0.33em;
1142 }
1143
1144 #wpSave {
1145         font-weight: bold;
1146 }
1147
1148 /* noarticletext */
1149 div.noarticletext {
1150         border: 1px solid #ccc;
1151         background: #fff;
1152         padding: .2em 1em;
1153         color: #000;
1154 }
1155
1156 div#searchTargetContainer {
1157         left:       10px;
1158         top:        10px;
1159         width:      90%;
1160         background: white;
1161 }
1162
1163 div#searchTarget {
1164         padding:    3px;
1165         margin:     5px;
1166         background: #F0F0F0;
1167         border:     solid 1px blue;
1168 }
1169
1170 div#searchTarget ul li {
1171         list-style: none;
1172 }
1173
1174 div#searchTarget ul li:before {
1175         color: orange;
1176         content: "\00BB \0020";
1177 }
1178
1179 div#searchTargetHide {
1180         float:right;
1181         border:solid 1px black;
1182         background:#DCDCDC;
1183         padding:2px;
1184 }
1185
1186 #powersearch p {
1187         margin-top:0px;
1188 }
1189
1190 div.multipageimagenavbox {
1191         border: solid 1px silver;
1192         padding: 4px;
1193         margin: 1em;
1194         background: #f0f0f0;
1195 }
1196
1197 div.multipageimagenavbox div.thumb {
1198         border: none;
1199         margin-left: 2em;
1200         margin-right: 2em;
1201 }
1202
1203 div.multipageimagenavbox hr {
1204         margin: 6px;
1205 }
1206
1207 table.multipageimage td {
1208         text-align: center;
1209 }
1210
1211 .templatesUsed { margin-top: 1.5em; }
1212
1213 .mw-summary-preview {
1214         margin: 0.1em 0;
1215 }
1216
1217 /* Friendlier slave lag warnings */
1218 div.mw-lag-warn-normal,
1219 div.mw-lag-warn-high {
1220         padding: 3px;
1221         text-align: center;
1222         margin: 3px auto;
1223 }
1224 div.mw-lag-warn-normal {
1225         border: 1px solid #FFCC66;
1226         background-color: #FFFFCC;
1227 }
1228 div.mw-lag-warn-high {
1229         font-weight: bold;
1230         border: 2px solid #FF0033;
1231         background-color: #FFCCCC;
1232 }
1233
1234 .MediaTransformError {
1235         background-color: #ccc;
1236         padding: 0.1em;
1237 }
1238 .MediaTransformError td {
1239         text-align: center;
1240         vertical-align: middle;
1241         font-size: 90%;
1242 }
1243
1244 /* God-damned hack for the crappy layout */
1245 .os-suggest {
1246         font-size: 127%;
1247 }
1248
1249 /* Sometimes people don't want personal tools to be lowercase! */
1250 .no-text-transform {
1251         text-transform: none;
1252 }
1253
1254 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
1255 .tipsy {
1256         font-size: 127%;
1257 }