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