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