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