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