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