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