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