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