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