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