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