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