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