wfSajaxSearch cleanup:
[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 /* Have a checkered background on images on the description pages and in galleries
476 to make transparency visible
477
478 #file img, .gallerybox .thumb img {
479 background: url(Checker-16x16.png) repeat;
480 }
481 */
482
483 /*
484 ** classes for special content elements like town boxes
485 ** intended to be referenced directly from the wiki src
486 */
487
488 /*
489 ** User styles
490 */
491 /* table standards */
492 table.rimage {
493 float: right;
494 position: relative;
495 margin-left: 1em;
496 margin-bottom: 1em;
497 text-align: center;
498 }
499 .toccolours {
500 border: 1px solid #aaa;
501 background-color: #f9f9f9;
502 padding: 5px;
503 font-size: 95%;
504 }
505 div.townBox {
506 position: relative;
507 float: right;
508 background: white;
509 margin-left: 1em;
510 border: 1px solid gray;
511 padding: .3em;
512 width: 200px;
513 overflow: hidden;
514 clear: right;
515 }
516 div.townBox dl {
517 padding: 0;
518 margin: 0 0 .3em;
519 font-size: 96%;
520 }
521 div.townBox dl dt {
522 background: none;
523 margin: .4em 0 0;
524 }
525 div.townBox dl dd {
526 margin: .1em 0 0 1.1em;
527 background-color: #f3f3f3;
528 }
529
530 /*
531 ** edit views etc
532 */
533 .special li {
534 line-height: 1.4em;
535 margin: 0;
536 padding: 0;
537 }
538
539 /* Page history styling */
540 /* the auto-generated edit comments */
541 .autocomment {
542 color: gray;
543 }
544 #pagehistory span.user {
545 margin-left: 1.4em;
546 margin-right: .4em;
547 }
548 #pagehistory span.minor {
549 font-weight: bold;
550 }
551 #pagehistory li {
552 border: 1px solid white;
553 }
554 #pagehistory li.selected {
555 background-color: #f9f9f9;
556 border: 1px dashed #aaa;
557 }
558
559 /*
560 ** keep the whitespace in front of the ^=, hides rule from konqueror
561 ** this is css3, the validator doesn't like it when validating as css2
562 */
563 #bodyContent a.external,
564 #bodyContent a[href ^="gopher://"] {
565 background: url(external.png) center right no-repeat;
566 padding-right: 13px;
567 }
568 #bodyContent a[href ^="https://"],
569 .link-https {
570 background: url(lock_icon.gif) center right no-repeat;
571 padding-right: 16px;
572 }
573 #bodyContent a[href ^="mailto:"],
574 .link-mailto {
575 background: url(mail_icon.gif) center right no-repeat;
576 padding-right: 18px;
577 }
578 #bodyContent a[href ^="news://"] {
579 background: url(news_icon.png) center right no-repeat;
580 padding-right: 18px;
581 }
582 #bodyContent a[href ^="ftp://"],
583 .link-ftp {
584 background: url(file_icon.gif) center right no-repeat;
585 padding-right: 18px;
586 }
587 #bodyContent a[href ^="irc://"],
588 .link-irc {
589 background: url(discussionitem_icon.gif) center right no-repeat;
590 padding-right: 18px;
591 }
592 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
593 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
594 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
595 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
596 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
597 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
598 .link-audio {
599 background: url("audio.png") center right no-repeat;
600 padding-right: 13px;
601 }
602 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
603 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
604 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
605 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
606 .link-video {
607 background: url("video.png") center right no-repeat;
608 padding-right: 13px;
609 }
610 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
611 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
612 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
613 .link-document {
614 background: url("document.png") center right no-repeat;
615 padding-right: 12px;
616 }
617
618 /* disable interwiki styling */
619 #bodyContent a.extiw,
620 #bodyContent a.extiw:active {
621 color: #36b;
622 background: none;
623 padding: 0;
624 }
625 #bodyContent a.external {
626 color: #36b;
627 }
628 /* this can be used in the content area to switch off
629 special external link styling */
630 #bodyContent .plainlinks a {
631 background: none !important;
632 padding: 0 !important;
633 }
634 /*
635 ** Structural Elements
636 */
637
638 /*
639 ** general portlet styles (elements in the quickbar)
640 */
641 .portlet {
642 border: none;
643 margin: 0 0 .5em;
644 padding: 0;
645 float: none;
646 width: 11.6em;
647 overflow: hidden;
648 }
649 .portlet h4 {
650 font-size: 95%;
651 font-weight: normal;
652 white-space: nowrap;
653 }
654 .portlet h5 {
655 background: transparent;
656 padding: 0 1em 0 .5em;
657 display: inline;
658 height: 1em;
659 text-transform: lowercase;
660 font-size: 91%;
661 font-weight: normal;
662 white-space: nowrap;
663 }
664 .portlet h6 {
665 background: #ffae2e;
666 border: 1px solid #2f6fab;
667 border-style: solid solid none solid;
668 padding: 0 1em 0 1em;
669 text-transform: lowercase;
670 display: block;
671 font-size: 1em;
672 height: 1.2em;
673 font-weight: normal;
674 white-space: nowrap;
675 }
676 .pBody {
677 font-size: 95%;
678 background-color: white;
679 color: black;
680 border-collapse: collapse;
681 border: 1px solid #aaa;
682 padding: 0 .8em .3em .5em;
683 }
684 .portlet h1,
685 .portlet h2,
686 .portlet h3,
687 .portlet h4 {
688 margin: 0;
689 padding: 0;
690 }
691 .portlet ul {
692 line-height: 1.5em;
693 list-style-type: square;
694 list-style-image: url(bullet.gif);
695 font-size: 95%;
696 }
697 .portlet li {
698 padding: 0;
699 margin: 0;
700 }
701
702 /*
703 ** Logo properties
704 */
705
706 #p-logo {
707 top: 0;
708 left: 0;
709 position: absolute; /*needed to use z-index */
710 z-index: 3;
711 height: 155px;
712 width: 12em;
713 overflow: visible;
714 }
715 #p-logo h5 {
716 display: none;
717 }
718 #p-logo a,
719 #p-logo a:hover {
720 display: block;
721 height: 155px;
722 width: 12.2em;
723 background-repeat: no-repeat;
724 background-position: 35% 50% !important;
725 text-decoration: none;
726 }
727
728 /*
729 ** Search portlet
730 */
731 #p-search {
732 position: relative;
733 z-index: 3;
734 }
735 input.searchButton {
736 margin-top: 1px;
737 font-size: 95%;
738 }
739 #searchGoButton {
740 padding-left: .5em;
741 padding-right: .5em;
742 font-weight: bold;
743 }
744 #searchInput {
745 width: 10.9em;
746 margin: 0;
747 font-size: 95%;
748 }
749 #p-search .pBody {
750 padding: .5em .4em .4em .4em;
751 text-align: center;
752 }
753
754 /*
755 ** the personal toolbar
756 */
757 #p-personal {
758 position: absolute;
759 left: 0;
760 top: 0;
761 z-index: 0;
762 }
763 #p-personal {
764 width: 100%;
765 white-space: nowrap;
766 padding: 0;
767 margin: 0;
768 border: none;
769 background: none;
770 overflow: visible;
771 line-height: 1.2em;
772 }
773 #p-personal h5 {
774 display: none;
775 }
776 #p-personal .portlet,
777 #p-personal .pBody {
778 z-index: 0;
779 padding: 0;
780 margin: 0;
781 border: none;
782 overflow: visible;
783 background: none;
784 }
785 /* this is the ul contained in the portlet */
786 #p-personal ul {
787 border: none;
788 line-height: 1.4em;
789 color: #2f6fab;
790 padding: 0 2em 0 3em;
791 margin: 0;
792 text-align: right;
793 list-style: none;
794 z-index: 0;
795 background: none;
796 cursor: default;
797 }
798 #p-personal li {
799 z-index: 0;
800 border: none;
801 padding: 0;
802 display: inline;
803 color: #2f6fab;
804 margin-left: 1em;
805 line-height: 1.2em;
806 background: none;
807 }
808 #p-personal li a {
809 text-decoration: none;
810 color: #005896;
811 padding-bottom: .2em;
812 background: none;
813 }
814 #p-personal li a:hover {
815 background-color: white;
816 padding-bottom: .2em;
817 text-decoration: none;
818 }
819 #p-personal li.active a:hover {
820 background-color: transparent;
821 }
822 /* the icon in front of the user name, single quotes
823 in bg url to hide it from iemac */
824 li#pt-userpage,
825 li#pt-anonuserpage,
826 li#pt-login {
827 background: url(user.gif) top left no-repeat;
828 padding-left: 20px;
829 text-transform: none;
830 }
831 #p-personal ul {
832 text-transform: lowercase;
833 }
834 #p-personal li.active {
835 font-weight: bold;
836 }
837 /*
838 ** the page-related actions- page/talk, edit etc
839 */
840 #p-cactions {
841 position: absolute;
842 top: 1.3em;
843 left: 11.5em;
844 margin: 0;
845 white-space: nowrap;
846 width: 76%;
847 line-height: 1.1em;
848 overflow: visible;
849 background: none;
850 border-collapse: collapse;
851 padding-left: 1em;
852 list-style: none;
853 font-size: 95%;
854 }
855 #p-cactions ul {
856 list-style: none;
857 }
858 #p-cactions li {
859 display: inline;
860 border: 1px solid #aaa;
861 border-bottom: none;
862 padding: 0 0 .1em 0;
863 margin: 0 .3em 0 0;
864 overflow: visible;
865 background: white;
866 }
867 #p-cactions li.selected {
868 border-color: #fabd23;
869 padding: 0 0 .2em 0;
870 font-weight: bold;
871 }
872 #p-cactions li a {
873 background-color: #fbfbfb;
874 color: #002bb8;
875 border: none;
876 padding: 0 .8em .3em;
877 position: relative;
878 z-index: 0;
879 margin: 0;
880 text-decoration: none;
881 }
882 #p-cactions li.selected a {
883 z-index: 3;
884 padding: 0 1em .2em!important;
885 background-color: white;
886 }
887 #p-cactions .new a {
888 color: #ba0000;
889 }
890 #p-cactions li a:hover {
891 z-index: 3;
892 text-decoration: none;
893 background-color: white;
894 }
895 #p-cactions h5 {
896 display: none;
897 }
898 #p-cactions li.istalk {
899 margin-right: 0;
900 }
901 #p-cactions li.istalk a {
902 padding-right: .5em;
903 }
904 #p-cactions #ca-addsection a {
905 padding-left: .4em;
906 padding-right: .4em;
907 }
908 /* offsets to distinguish the tab groups */
909 li#ca-talk {
910 margin-right: 1.6em;
911 }
912 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
913 margin-left: 1.6em;
914 }
915 #p-cactions .pBody {
916 font-size: 1em;
917 background-color: transparent;
918 color: inherit;
919 border-collapse: inherit;
920 border: 0;
921 padding: 0;
922 }
923 #p-cactions .hiddenStructure {
924 display: none;
925 }
926 #p-cactions li a {
927 text-transform: lowercase;
928 }
929
930 /*
931 ** the remaining portlets
932 */
933 #p-tbx,
934 #p-lang {
935 position: relative;
936 z-index: 3;
937 }
938
939 /* TODO: #t-iscite is only used by the Cite extension, come up with some
940 * system which allows extensions to add to this file on the fly
941 */
942 #t-ispermalink, #t-iscite {
943 color: #999;
944 }
945 /*
946 ** footer
947 */
948 #footer {
949 background-color: white;
950 border-top: 1px solid #fabd23;
951 border-bottom: 1px solid #fabd23;
952 margin: .6em 0 1em 0;
953 padding: .4em 0 1.2em 0;
954 text-align: center;
955 font-size: 90%;
956 }
957 #footer li {
958 display: inline;
959 margin: 0 1.3em;
960 }
961 #f-poweredbyico, #f-copyrightico {
962 margin: 0 8px;
963 position: relative;
964 top: -2px; /* Bump it up just a tad */
965 }
966 #f-poweredbyico {
967 float: right;
968 height: 1%;
969 }
970 #f-copyrightico {
971 float: left;
972 height: 1%;
973 }
974
975 /* js pref toc */
976 #preftoc {
977 margin: 0;
978 padding: 0;
979 width: 100%;
980 clear: both;
981 }
982 #preftoc li {
983 background-color: #f0f0f0;
984 color: #000;
985 }
986 #preftoc li {
987 margin: 1px -2px 1px 2px;
988 float: left;
989 padding: 2px 0 3px 0;
990 border: 1px solid #fff;
991 border-right-color: #716f64;
992 border-bottom: 0;
993 position: relative;
994 white-space: nowrap;
995 list-style-type: none;
996 list-style-image: none;
997 z-index: 3;
998 }
999 #preftoc li.selected {
1000 font-weight: bold;
1001 background-color: #f9f9f9;
1002 border: 1px solid #aaa;
1003 border-bottom: none;
1004 cursor: default;
1005 top: 1px;
1006 padding-top: 2px;
1007 margin-right: -3px;
1008 }
1009 #preftoc > li.selected {
1010 top: 2px;
1011 }
1012 #preftoc a,
1013 #preftoc a:active {
1014 display: block;
1015 color: #000;
1016 padding: 0 .7em;
1017 position: relative;
1018 text-decoration: none;
1019 }
1020 #preftoc li.selected a {
1021 cursor: default;
1022 text-decoration: none;
1023 }
1024 #prefcontrol {
1025 padding-top: 2em;
1026 clear: both;
1027 }
1028 #preferences {
1029 margin: 0;
1030 border: 1px solid #aaa;
1031 clear: both;
1032 padding: 1.5em;
1033 background-color: #F9F9F9;
1034 }
1035 .prefsection {
1036 border: none;
1037 padding: 0;
1038 margin: 0;
1039 }
1040 .prefsection fieldset {
1041 border: 1px solid #aaa;
1042 float: left;
1043 margin-right: 2em;
1044 }
1045 .prefsection legend {
1046 font-weight: bold;
1047 }
1048 .prefsection table, .prefsection legend {
1049 background-color: #F9F9F9;
1050 }
1051 .mainLegend {
1052 display: none;
1053 }
1054 div.prefsectiontip {
1055 font-size: x-small;
1056 padding: .2em 2em;
1057 color: #666;
1058 }
1059 .btnSavePrefs {
1060 font-weight: bold;
1061 padding-left: .3em;
1062 padding-right: .3em;
1063 }
1064
1065 .preferences-login {
1066 clear: both;
1067 margin-bottom: 1.5em;
1068 }
1069
1070 .prefcache {
1071 font-size: 90%;
1072 margin-top: 2em;
1073 }
1074
1075 div#userloginForm form,
1076 div#userlogin form#userlogin2 {
1077 margin: 0 3em 1em 0;
1078 border: 1px solid #aaa;
1079 clear: both;
1080 padding: 1.5em 2em;
1081 background-color: #f9f9f9;
1082 float: left;
1083 }
1084
1085 div#userloginForm table,
1086 div#userlogin form#userlogin2 table {
1087 background-color: #f9f9f9;
1088 }
1089
1090 div#userloginForm h2,
1091 div#userlogin form#userlogin2 h2 {
1092 padding-top: 0;
1093 }
1094
1095 div#userlogin .captcha,
1096 div#userloginForm .captcha {
1097 border: 1px solid #bbb;
1098 padding: 1.5em 2em;
1099 background-color: white;
1100 }
1101
1102
1103 #userloginprompt, #languagelinks {
1104 font-size: 85%;
1105 }
1106
1107 #login-sectiontip {
1108 font-size: 85%;
1109 line-height: 1.2;
1110 padding-top: 2em;
1111 }
1112
1113 #userlogin .loginText, #userlogin .loginPassword {
1114 width: 12em;
1115 }
1116
1117 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1118 font-weight: bold;
1119 }
1120
1121 /*
1122 ** IE/Mac fixes, hope to find a validating way to move this
1123 ** to a separate stylesheet. This would work but doesn't validate:
1124 ** @import("IEMacFixes.css");
1125 */
1126 /* tabs: border on the a, not the div */
1127 * > html #p-cactions li { border: none; }
1128 * > html #p-cactions li a {
1129 border: 1px solid #aaa;
1130 border-bottom: none;
1131 }
1132 * > html #p-cactions li.selected a { border-color: #fabd23; }
1133 /* footer icons need a fixed width */
1134 * > html #f-poweredbyico,
1135 * > html #f-copyrightico { width: 88px; }
1136 * > html #bodyContent,
1137 * > html #bodyContent pre {
1138 overflow-x: auto;
1139 width: 100%;
1140 padding-bottom: 25px;
1141 }
1142
1143 /* more IE fixes */
1144 /* float/negative margin brokenness */
1145 * html #footer {margin-top: 0;}
1146 * html #column-content {
1147 display: inline;
1148 margin-bottom: 0;
1149 }
1150 * html div.editsection { font-size: smaller; }
1151 #pagehistory li.selected { position: relative; }
1152
1153 /* Mac IE 5.0 fix; floated content turns invisible */
1154 * > html #column-content {
1155 float: none;
1156 }
1157 * > html #column-one {
1158 position: absolute;
1159 left: 0;
1160 top: 0;
1161 }
1162 * > html #footer {
1163 margin-left: 13.2em;
1164 }
1165 .redirectText {
1166 font-size: 150%;
1167 margin: 5px;
1168 }
1169
1170 .printfooter {
1171 display: none;
1172 }
1173
1174 .not-patrolled {
1175 background-color: #ffa;
1176 }
1177 div.patrollink {
1178 font-size: 75%;
1179 text-align: right;
1180 }
1181 span.newpage, span.minor, span.searchmatch, span.bot {
1182 font-weight: bold;
1183 }
1184 span.unpatrolled {
1185 font-weight: bold;
1186 color: red;
1187 }
1188
1189 span.searchmatch {
1190 color: red;
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 li span.deleted, span.history-deleted {
1278 text-decoration: line-through;
1279 color: #888;
1280 font-style: italic;
1281 }
1282
1283 .toggle {
1284 margin-left: 2em;
1285 text-indent: -2em;
1286 }
1287
1288 /* Classes for EXIF data display */
1289 table.mw_metadata {
1290 font-size: 0.8em;
1291 margin-left: 0.5em;
1292 margin-bottom: 0.5em;
1293 width: 300px;
1294 }
1295
1296 table.mw_metadata caption {
1297 font-weight: bold;
1298 }
1299
1300 table.mw_metadata th {
1301 font-weight: normal;
1302 }
1303
1304 table.mw_metadata td {
1305 padding: 0.1em;
1306 }
1307
1308 table.mw_metadata {
1309 border: none;
1310 border-collapse: collapse;
1311 }
1312
1313 table.mw_metadata td, table.mw_metadata th {
1314 text-align: center;
1315 border: 1px solid #aaaaaa;
1316 padding-left: 0.1em;
1317 padding-right: 0.1em;
1318 }
1319
1320 table.mw_metadata th {
1321 background-color: #f9f9f9;
1322 }
1323
1324 table.mw_metadata td {
1325 background-color: #fcfcfc;
1326 }
1327
1328 table.collapsed tr.collapsable {
1329 display: none;
1330 }
1331
1332
1333 /* filetoc */
1334 ul#filetoc {
1335 text-align: center;
1336 border: 1px solid #aaaaaa;
1337 background-color: #f9f9f9;
1338 padding: 5px;
1339 font-size: 95%;
1340 margin-bottom: 0.5em;
1341 margin-left: 0;
1342 margin-right: 0;
1343 }
1344
1345 #filetoc li {
1346 display: inline;
1347 list-style-type: none;
1348 padding-right: 2em;
1349 }
1350
1351 input#wpSummary {
1352 width: 80%;
1353 }
1354
1355 /* @bug 1714 */
1356 input#wpSave, input#wpDiff {
1357 margin-right: 0.33em;
1358 }
1359
1360 #editform .editOptions {
1361 display: inline;
1362 }
1363
1364 #wpSave {
1365 font-weight: bold;
1366 }
1367
1368 /* Classes for article validation */
1369
1370 table.revisionform_default {
1371 border: 1px solid #000000;
1372 }
1373
1374 table.revisionform_focus {
1375 border: 1px solid #000000;
1376 background-color:#00BBFF;
1377 }
1378
1379 tr.revision_tr_default {
1380 background-color:#EEEEEE;
1381 }
1382
1383 tr.revision_tr_first {
1384 background-color:#DDDDDD;
1385 }
1386
1387 p.revision_saved {
1388 color: green;
1389 font-weight:bold;
1390 }
1391
1392 #mw_trackbacks {
1393 border: solid 1px #bbbbff;
1394 background-color: #eeeeff;
1395 padding: 0.2em;
1396 }
1397
1398
1399 /* Allmessages table */
1400
1401 #allmessagestable th {
1402 background-color: #b2b2ff;
1403 }
1404
1405 #allmessagestable tr.orig {
1406 background-color: #ffe2e2;
1407 }
1408
1409 #allmessagestable tr.new {
1410 background-color: #e2ffe2;
1411 }
1412
1413 #allmessagestable tr.def {
1414 background-color: #f0f0ff;
1415 }
1416
1417
1418 /* noarticletext */
1419 div.noarticletext {
1420 border: 1px solid #ccc;
1421 background: #fff;
1422 padding: .2em 1em;
1423 color: #000;
1424 }
1425
1426 div#searchTargetContainer {
1427 left: 10px;
1428 top: 10px;
1429 width: 90%;
1430 background: white;
1431 }
1432
1433 div#searchTarget {
1434 padding: 3px;
1435 margin: 5px;
1436 background: #F0F0F0;
1437 border: solid 1px blue;
1438 }
1439
1440 div#searchTarget ul li {
1441 list-style: none;
1442 }
1443
1444 div#searchTarget ul li:before {
1445 color: orange;
1446 content: "\00BB \0020";
1447 }
1448
1449 div#searchTargetHide {
1450 float:right;
1451 border:solid 1px black;
1452 background:gainsboro;
1453 padding:2px;
1454 }
1455
1456 div.multipageimagenavbox {
1457 border: solid 1px silver;
1458 padding: 4px;
1459 margin: 1em;
1460 -moz-border-radius: 6px;
1461 background: #f0f0f0;
1462 }
1463
1464 div.multipageimagenavbox div.thumb {
1465 border: none;
1466 margin-left: 2em;
1467 margin-right: 2em;
1468 }
1469
1470 div.multipageimagenavbox hr {
1471 margin: 6px;
1472 }
1473
1474 table.multipageimage td {
1475 text-align: center;
1476 }
1477
1478 /** Special:Version */
1479
1480 table#sv-ext, table#sv-hooks {
1481 margin: 1em;
1482 padding:0em;
1483 }
1484
1485 #sv-ext td, #sv-hooks td,
1486 #sv-ext th, #sv-hooks th {
1487 border: 1px solid #A0A0A0;
1488 padding: 0 0.15em 0 0.15em;
1489 }
1490 #sv-ext th, #sv-hooks th {
1491 background-color: #F0F0F0;
1492 color: black;
1493 padding: 0 0.15em 0 0.15em;
1494 }
1495 tr.sv-space{
1496 height: 0.8em;
1497 border:none;
1498 }
1499 tr.sv-space td { display: none; }
1500
1501 /*
1502 Table pager (e.g. Special:Imagelist)
1503 - remove underlines from the navigation link
1504 - collapse borders
1505 - set the borders to outsets (similar to Special:Allmessages)
1506 - remove line wrapping for all td and th, set background color
1507 - restore line wrapping for the last two table cells (description and size)
1508 */
1509 .TablePager_nav a { text-decoration: none; }
1510 .TablePager { border-collapse: collapse; }
1511 .TablePager, .TablePager td, .TablePager th {
1512 border: 1px solid #aaaaaa;
1513 padding: 0 0.15em 0 0.15em;
1514 }
1515 .TablePager th { background-color: #eeeeff }
1516 .TablePager td { background-color: #ffffff }
1517 .TablePager tr:hover td { background-color: #eeeeff }
1518
1519 .imagelist td, .imagelist th { white-space: nowrap }
1520 .imagelist .TablePager_col_links { background-color: #eeeeff }
1521 .imagelist .TablePager_col_img_description { white-space: normal }
1522 .imagelist th.TablePager_sort { background-color: #ccccff }
1523
1524 .templatesUsed { margin-top: 1.5em; }
1525
1526 .mw-summary-preview {
1527 margin: 0.1em 0;
1528 }
1529
1530 /* Convenience links on Special:Ipblocklist */
1531 p.mw-ipb-conveniencelinks {
1532 font-size: 90%;
1533 float: right;
1534 }
1535
1536 /* Friendlier slave lag warnings */
1537 div.mw-lag-warn-normal,
1538 div.mw-lag-warn-high {
1539 padding: 3px;
1540 text-align: center;
1541 margin: 3px auto;
1542 }
1543 div.mw-lag-warn-normal {
1544 border: 1px solid #FFCC66;
1545 background-color: #FFFFCC;
1546 }
1547 div.mw-lag-warn-high {
1548 font-weight: bold;
1549 border: 2px solid #FF0033;
1550 background-color: #FFCCCC;
1551 }
1552
1553 /* Recreating-deleted-page/reupload file warning and log entries */
1554 div#mw-upload-deleted-warn,
1555 div#mw-recreate-deleted-warn {
1556 padding: 3px;
1557 margin-bottom: 3px;
1558 border: 2px solid #2F6FAB;
1559 }
1560 div#mw-upload-deleted-warn ul li,
1561 div#mw-recreate-deleted-warn ul li {
1562 font-size: 90%;
1563 }
1564 .MediaTransformError {
1565 background-color: #ccc;
1566 padding: 0.1em;
1567 }
1568 .MediaTransformError td {
1569 text-align: center;
1570 vertical-align: middle;
1571 font-size: 90%;
1572 }