(bug 7811) Allow preview of edit summaries. Slight tweak added to stylesheet for...
[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 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
614 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
615 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
616 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
617 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
618 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
619 .link-audio {
620 background: url("audio.png") center right no-repeat;
621 padding-right: 13px;
622 }
623 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
624 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
625 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
626 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
627 .link-video {
628 background: url("video.png") center right no-repeat;
629 padding-right: 13px;
630 }
631 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
632 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
633 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
634 .link-document {
635 background: url("document.png") center right no-repeat;
636 padding-right: 12px;
637 }
638
639 /* disable interwiki styling */
640 #bodyContent a.extiw,
641 #bodyContent a.extiw:active {
642 color: #36b;
643 background: none;
644 padding: 0;
645 }
646 #bodyContent a.external {
647 color: #36b;
648 }
649 /* this can be used in the content area to switch off
650 special external link styling */
651 #bodyContent .plainlinks a {
652 background: none !important;
653 padding: 0 !important;
654 }
655 /*
656 ** Structural Elements
657 */
658
659 /*
660 ** general portlet styles (elements in the quickbar)
661 */
662 .portlet {
663 border: none;
664 margin: 0 0 .5em;
665 padding: 0;
666 float: none;
667 width: 11.6em;
668 overflow: hidden;
669 }
670 .portlet h4 {
671 font-size: 95%;
672 font-weight: normal;
673 white-space: nowrap;
674 }
675 .portlet h5 {
676 background: transparent;
677 padding: 0 1em 0 .5em;
678 display: inline;
679 height: 1em;
680 text-transform: lowercase;
681 font-size: 91%;
682 font-weight: normal;
683 white-space: nowrap;
684 }
685 .portlet h6 {
686 background: #ffae2e;
687 border: 1px solid #2f6fab;
688 border-style: solid solid none solid;
689 padding: 0 1em 0 1em;
690 text-transform: lowercase;
691 display: block;
692 font-size: 1em;
693 height: 1.2em;
694 font-weight: normal;
695 white-space: nowrap;
696 }
697 .pBody {
698 font-size: 95%;
699 background-color: white;
700 color: black;
701 border-collapse: collapse;
702 border: 1px solid #aaa;
703 padding: 0 .8em .3em .5em;
704 }
705 .portlet h1,
706 .portlet h2,
707 .portlet h3,
708 .portlet h4 {
709 margin: 0;
710 padding: 0;
711 }
712 .portlet ul {
713 line-height: 1.5em;
714 list-style-type: square;
715 list-style-image: url(bullet.gif);
716 font-size: 95%;
717 }
718 .portlet li {
719 padding: 0;
720 margin: 0;
721 }
722
723 /*
724 ** Logo properties
725 */
726
727 #p-logo {
728 z-index: 3;
729 position: absolute; /*needed to use z-index */
730 top: 0;
731 left: 0;
732 height: 155px;
733 width: 12em;
734 overflow: visible;
735 }
736 #p-logo h5 {
737 display: none;
738 }
739 #p-logo a,
740 #p-logo a:hover {
741 display: block;
742 height: 155px;
743 width: 12.2em;
744 background-repeat: no-repeat;
745 background-position: 35% 50% !important;
746 text-decoration: none;
747 }
748
749 /*
750 ** the navigation portlet
751 */
752
753 #p-navigation {
754 position: relative;
755 z-index: 3;
756 }
757
758 #p-navigation .pBody {
759 padding-right: 0;
760 }
761
762 #p-navigation a {
763 display: block;
764 }
765
766 #p-navigation li.active a, #p-navigation li.active a:hover {
767 text-decoration: none;
768 display: inline;
769 font-weight: bold;
770 }
771
772
773 /*
774 ** Search portlet
775 */
776 #p-search {
777 position: relative;
778 z-index: 3;
779 }
780 input.searchButton {
781 margin-top: 1px;
782 font-size: 95%;
783 }
784 #searchGoButton {
785 padding-left: .5em;
786 padding-right: .5em;
787 font-weight: bold;
788 }
789 #searchInput {
790 width: 10.9em;
791 margin: 0;
792 font-size: 95%;
793 }
794 #p-search .pBody {
795 padding: .5em .4em .4em .4em;
796 text-align: center;
797 }
798
799 /*
800 ** the personal toolbar
801 */
802
803 #p-personal {
804 width: 100%;
805 white-space: nowrap;
806 padding: 0;
807 margin: 0;
808 position: absolute;
809 left: 0;
810 top: 0;
811 z-index: 0;
812 border: none;
813 background: none;
814 overflow: visible;
815 line-height: 1.2em;
816 }
817
818 #p-personal h5 {
819 display: none;
820 }
821 #p-personal .portlet,
822 #p-personal .pBody {
823 padding: 0;
824 margin: 0;
825 border: none;
826 z-index: 0;
827 overflow: visible;
828 background: none;
829 }
830 /* this is the ul contained in the portlet */
831 #p-personal ul {
832 border: none;
833 line-height: 1.4em;
834 color: #2f6fab;
835 padding: 0 2em 0 3em;
836 margin: 0;
837 text-align: right;
838 text-transform: lowercase;
839 list-style: none;
840 z-index: 0;
841 background: none;
842 cursor: default;
843 }
844 #p-personal li {
845 z-index: 0;
846 border: none;
847 padding: 0;
848 display: inline;
849 color: #2f6fab;
850 margin-left: 1em;
851 line-height: 1.2em;
852 background: none;
853 }
854 #p-personal li.active {
855 font-weight: bold;
856 }
857 #p-personal li a {
858 text-decoration: none;
859 color: #005896;
860 padding-bottom: .2em;
861 background: none;
862 }
863 #p-personal li a:hover {
864 background-color: white;
865 padding-bottom: .2em;
866 text-decoration: none;
867 }
868 #p-personal li.active a:hover {
869 background-color: transparent;
870 }
871 /* the icon in front of the user name, single quotes
872 in bg url to hide it from iemac */
873 li#pt-userpage,
874 li#pt-anonuserpage,
875 li#pt-login {
876 background: url(user.gif) top left no-repeat;
877 padding-left: 20px;
878 text-transform: none;
879 }
880
881 /*
882 ** the page-related actions- page/talk, edit etc
883 */
884 #p-cactions {
885 position: absolute;
886 top: 1.3em;
887 left: 11.5em;
888 margin: 0;
889 white-space: nowrap;
890 width: 76%;
891 line-height: 1.1em;
892 overflow: visible;
893 background: none;
894 border-collapse: collapse;
895 padding-left: 1em;
896 list-style: none;
897 font-size: 95%;
898 }
899 #p-cactions .hiddenStructure {
900 display: none;
901 }
902 #p-cactions ul {
903 list-style: none;
904 }
905 #p-cactions li {
906 display: inline;
907 border: 1px solid #aaa;
908 border-bottom: none;
909 padding: 0 0 .1em 0;
910 margin: 0 .3em 0 0;
911 overflow: visible;
912 background: white;
913 }
914 #p-cactions li.selected {
915 border-color: #fabd23;
916 padding: 0 0 .2em 0;
917 font-weight: bold;
918 }
919 #p-cactions li a {
920 background-color: #fbfbfb;
921 color: #002bb8;
922 border: none;
923 padding: 0 .8em .3em;
924 text-decoration: none;
925 text-transform: lowercase;
926 position: relative;
927 z-index: 0;
928 margin: 0;
929 }
930 #p-cactions li.selected a {
931 z-index: 3;
932 background-color: #fff;
933 padding: 0 1em .2em!important;
934 }
935 #p-cactions .new a {
936 color: #ba0000;
937 }
938 #p-cactions li a:hover {
939 z-index: 3;
940 text-decoration: none;
941 background-color: #fff;
942 }
943 #p-cactions h5 {
944 display: none;
945 }
946 #p-cactions li.istalk {
947 margin-right: 0;
948 }
949 #p-cactions li.istalk a {
950 padding-right: .5em;
951 }
952 #p-cactions #ca-addsection a {
953 padding-left: .4em;
954 padding-right: .4em;
955 }
956 /* offsets to distinguish the tab groups */
957 li#ca-talk {
958 margin-right: 1.6em;
959 }
960 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
961 margin-left: 1.6em;
962 }
963
964 /*
965 ** the remaining portlets
966 */
967 #p-tbx,
968 #p-lang {
969 position: relative;
970 z-index: 3;
971 }
972
973 /* TODO: #t-iscite is only used by the Cite extension, come up with some
974 * system which allows extensions to add to this file on the fly
975 */
976 #t-ispermalink, #t-iscite {
977 color: #999;
978 }
979 /*
980 ** footer
981 */
982 #footer {
983 background-color: white;
984 border-top: 1px solid #fabd23;
985 border-bottom: 1px solid #fabd23;
986 margin: .6em 0 1em 0;
987 padding: .4em 0 1.2em 0;
988 text-align: center;
989 font-size: 90%;
990 }
991 #footer li {
992 display: inline;
993 margin: 0 1.3em;
994 }
995 /* hide from incapable browsers */
996 head:first-child+body #footer li { white-space: nowrap; }
997 #f-poweredbyico, #f-copyrightico {
998 margin: 0 8px;
999 position: relative;
1000 top: -2px; /* Bump it up just a tad */
1001 }
1002 #f-poweredbyico {
1003 float: right;
1004 height: 1%;
1005 }
1006 #f-copyrightico {
1007 float: left;
1008 height: 1%;
1009 }
1010
1011 /* js pref toc */
1012 #preftoc {
1013 margin: 0;
1014 padding: 0;
1015 width: 100%;
1016 clear: both;
1017 }
1018 #preftoc li {
1019 margin: 1px -2px 1px 2px;
1020 float: left;
1021 padding: 2px 0 3px 0;
1022 background-color: #f0f0f0;
1023 color: #000;
1024 border: 1px solid #fff;
1025 border-right-color: #716f64;
1026 border-bottom: 0;
1027 position: relative;
1028 white-space: nowrap;
1029 list-style-type: none;
1030 list-style-image: none;
1031 z-index: 3;
1032 }
1033 #preftoc li.selected {
1034 font-weight: bold;
1035 background-color: #f9f9f9;
1036 border: 1px solid #aaa;
1037 border-bottom: none;
1038 cursor: default;
1039 top: 1px;
1040 padding-top: 2px;
1041 margin-right: -3px;
1042 }
1043 #preftoc > li.selected {
1044 top: 2px;
1045 }
1046 #preftoc a,
1047 #preftoc a:active {
1048 display: block;
1049 color: #000;
1050 padding: 0 .7em;
1051 position: relative;
1052 text-decoration: none;
1053 }
1054 #preftoc li.selected a {
1055 cursor: default;
1056 text-decoration: none;
1057 }
1058 #prefcontrol {
1059 padding-top: 2em;
1060 clear: both;
1061 }
1062 #preferences {
1063 margin: 0;
1064 border: 1px solid #aaa;
1065 clear: both;
1066 padding: 1.5em;
1067 background-color: #F9F9F9;
1068 }
1069 .prefsection {
1070 border: none;
1071 padding: 0;
1072 margin: 0;
1073 }
1074 .prefsection fieldset {
1075 border: 1px solid #aaa;
1076 float: left;
1077 margin-right: 2em;
1078 }
1079 .prefsection legend {
1080 font-weight: bold;
1081 }
1082 .prefsection table, .prefsection legend {
1083 background-color: #F9F9F9;
1084 }
1085 .mainLegend {
1086 display: none;
1087 }
1088 div.prefsectiontip {
1089 font-size: 95%;
1090 margin-top: 0;
1091 background-color: #FFC1C1;
1092 padding: .2em .7em;
1093 clear: both;
1094 }
1095 .btnSavePrefs {
1096 font-weight: bold;
1097 padding-left: .3em;
1098 padding-right: .3em;
1099 }
1100
1101 .preferences-login {
1102 clear: both;
1103 margin-bottom: 1.5em;
1104 }
1105
1106 .prefcache {
1107 font-size: 90%;
1108 margin-top: 2em;
1109 }
1110
1111 div#userloginForm form,
1112 div#userlogin form#userlogin2 {
1113 margin: 0 3em 1em 0;
1114 border: 1px solid #aaa;
1115 clear: both;
1116 padding: 1.5em 2em;
1117 background-color: #f9f9f9;
1118 float: left;
1119 }
1120
1121 div#userloginForm table,
1122 div#userlogin form#userlogin2 table {
1123 background-color: #f9f9f9;
1124 }
1125
1126 div#userloginForm h2,
1127 div#userlogin form#userlogin2 h2 {
1128 padding-top: 0;
1129 }
1130
1131 div#userlogin .captcha {
1132 border: 1px solid #bbb;
1133 padding: 1.5em 2em;
1134 width: 400px;
1135 background-color: white;
1136 }
1137
1138
1139 #userloginprompt, #languagelinks {
1140 font-size: 85%;
1141 }
1142
1143 #login-sectiontip {
1144 font-size: 85%;
1145 line-height: 1.2;
1146 padding-top: 2em;
1147 }
1148
1149 #userlogin .loginText, #userlogin .loginPassword {
1150 width: 12em;
1151 }
1152
1153 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1154 font-weight: bold;
1155 }
1156
1157 /*
1158 ** IE/Mac fixes, hope to find a validating way to move this
1159 ** to a separate stylesheet. This would work but doesn't validate:
1160 ** @import("IEMacFixes.css");
1161 */
1162 /* tabs: border on the a, not the div */
1163 * > html #p-cactions li { border: none; }
1164 * > html #p-cactions li a {
1165 border: 1px solid #aaa;
1166 border-bottom: none;
1167 }
1168 * > html #p-cactions li.selected a { border-color: #fabd23; }
1169 /* footer icons need a fixed width */
1170 * > html #f-poweredbyico,
1171 * > html #f-copyrightico { width: 88px; }
1172 * > html #bodyContent,
1173 * > html #bodyContent pre {
1174 overflow-x: auto;
1175 width: 100%;
1176 padding-bottom: 25px;
1177 }
1178
1179 /* more IE fixes */
1180 /* float/negative margin brokenness */
1181 * html #footer {margin-top: 0;}
1182 * html #column-content {
1183 display: inline;
1184 margin-bottom: 0;
1185 }
1186 * html div.editsection { font-size: smaller; }
1187 #pagehistory li.selected { position: relative; }
1188
1189 /* Mac IE 5.0 fix; floated content turns invisible */
1190 * > html #column-content {
1191 float: none;
1192 }
1193 * > html #column-one {
1194 position: absolute;
1195 left: 0;
1196 top: 0;
1197 }
1198 * > html #footer {
1199 margin-left: 13.2em;
1200 }
1201 .redirectText {
1202 font-size: 150%;
1203 margin: 5px;
1204 }
1205
1206 .printfooter {
1207 display: none;
1208 }
1209
1210 .not-patrolled {
1211 background-color: #ffa;
1212 }
1213 div.patrollink {
1214 font-size: 75%;
1215 text-align: right;
1216 }
1217 span.newpage, span.minor, span.searchmatch, span.bot {
1218 font-weight: bold;
1219 }
1220 span.unpatrolled {
1221 font-weight: bold;
1222 color: red;
1223 }
1224
1225 span.searchmatch {
1226 color: red;
1227 }
1228 .sharedUploadNotice {
1229 font-style: italic;
1230 }
1231
1232 span.updatedmarker {
1233 color: black;
1234 background-color: #0f0;
1235 }
1236 span.newpageletter {
1237 font-weight: bold;
1238 color: black;
1239 background-color: yellow;
1240 }
1241 span.minoreditletter {
1242 color: black;
1243 background-color: #c5ffe6;
1244 }
1245
1246 table.gallery {
1247 border: 1px solid #ccc;
1248 margin: 2px;
1249 padding: 2px;
1250 background-color: white;
1251 }
1252
1253 table.gallery tr {
1254 vertical-align: top;
1255 }
1256
1257 table.gallery td {
1258 vertical-align: top;
1259 background-color: #f9f9f9;
1260 border: solid 2px white;
1261 }
1262
1263 table.gallery td.galleryheader {
1264 text-align: center;
1265 font-weight: bold;
1266 }
1267
1268 div.gallerybox {
1269 margin: 2px;
1270 width: 150px;
1271 }
1272
1273 div.gallerybox div.thumb {
1274 text-align: center;
1275 border: 1px solid #ccc;
1276 margin: 2px;
1277 }
1278
1279 div.gallerytext {
1280 font-size: 94%;
1281 padding: 2px 4px;
1282 }
1283
1284 span.comment {
1285 font-style: italic;
1286 }
1287
1288 span.changedby {
1289 font-size: 95%;
1290 }
1291
1292 .previewnote {
1293 text-indent: 3em;
1294 color: #c00;
1295 border-bottom: 1px solid #aaa;
1296 padding-bottom: 1em;
1297 margin-bottom: 1em;
1298 }
1299
1300 .previewnote p {
1301 margin: 0;
1302 padding: 0;
1303 }
1304
1305 .editExternally {
1306 border: 1px solid gray;
1307 background-color: #ffffff;
1308 padding: 3px;
1309 margin-top: 0.5em;
1310 float: left;
1311 font-size: small;
1312 text-align: center;
1313 }
1314 .editExternallyHelp {
1315 font-style: italic;
1316 color: gray;
1317 }
1318
1319 li span.deleted, span.history-deleted {
1320 text-decoration: line-through;
1321 color: #888;
1322 font-style: italic;
1323 }
1324
1325 .toggle {
1326 margin-left: 2em;
1327 text-indent: -2em;
1328 }
1329
1330 /* Classes for EXIF data display */
1331 table.mw_metadata {
1332 font-size: 0.8em;
1333 margin-left: 0.5em;
1334 margin-bottom: 0.5em;
1335 width: 300px;
1336 }
1337
1338 table.mw_metadata caption {
1339 font-weight: bold;
1340 }
1341
1342 table.mw_metadata th {
1343 font-weight: normal;
1344 }
1345
1346 table.mw_metadata td {
1347 padding: 0.1em;
1348 }
1349
1350 table.mw_metadata {
1351 border: none;
1352 border-collapse: collapse;
1353 }
1354
1355 table.mw_metadata td, table.mw_metadata th {
1356 text-align: center;
1357 border: 1px solid #aaaaaa;
1358 padding-left: 0.1em;
1359 padding-right: 0.1em;
1360 }
1361
1362 table.mw_metadata th {
1363 background-color: #f9f9f9;
1364 }
1365
1366 table.mw_metadata td {
1367 background-color: #fcfcfc;
1368 }
1369
1370 table.collapsed tr.collapsable {
1371 display: none;
1372 }
1373
1374
1375 /* filetoc */
1376 ul#filetoc {
1377 text-align: center;
1378 border: 1px solid #aaaaaa;
1379 background-color: #f9f9f9;
1380 padding: 5px;
1381 font-size: 95%;
1382 margin-bottom: 0.5em;
1383 margin-left: 0;
1384 margin-right: 0;
1385 }
1386
1387 #filetoc li {
1388 display: inline;
1389 list-style-type: none;
1390 padding-right: 2em;
1391 }
1392
1393 input#wpSummary {
1394 width: 80%;
1395 }
1396
1397 /* @bug 1714 */
1398 input#wpSave, input#wpDiff {
1399 margin-right: 0.33em;
1400 }
1401
1402 #editform .editOptions {
1403 display: inline;
1404 }
1405
1406 #wpSave {
1407 font-weight: bold;
1408 }
1409
1410 /* Classes for article validation */
1411
1412 table.revisionform_default {
1413 border: 1px solid #000000;
1414 }
1415
1416 table.revisionform_focus {
1417 border: 1px solid #000000;
1418 background-color:#00BBFF;
1419 }
1420
1421 tr.revision_tr_default {
1422 background-color:#EEEEEE;
1423 }
1424
1425 tr.revision_tr_first {
1426 background-color:#DDDDDD;
1427 }
1428
1429 p.revision_saved {
1430 color: green;
1431 font-weight:bold;
1432 }
1433
1434 #mw_trackbacks {
1435 border: solid 1px #bbbbff;
1436 background-color: #eeeeff;
1437 padding: 0.2em;
1438 }
1439
1440
1441 /* Allmessages table */
1442
1443 #allmessagestable th {
1444 background-color: #b2b2ff;
1445 }
1446
1447 #allmessagestable tr.orig {
1448 background-color: #ffe2e2;
1449 }
1450
1451 #allmessagestable tr.new {
1452 background-color: #e2ffe2;
1453 }
1454
1455 #allmessagestable tr.def {
1456 background-color: #f0f0ff;
1457 }
1458
1459
1460 /* noarticletext */
1461 div.noarticletext {
1462 border: 1px solid #ccc;
1463 background: #fff;
1464 padding: .2em 1em;
1465 color: #000;
1466 }
1467
1468 div#searchTargetContainer {
1469 left: 10px;
1470 top: 10px;
1471 width: 90%;
1472 background: white;
1473 }
1474
1475 div#searchTarget {
1476 padding: 3px;
1477 margin: 5px;
1478 background: #F0F0F0;
1479 border: solid 1px blue;
1480 }
1481
1482 div#searchTarget ul li {
1483 list-style: none;
1484 }
1485
1486 div#searchTarget ul li:before {
1487 color: orange;
1488 content: "\00BB \0020";
1489 }
1490
1491 div.multipageimagenavbox {
1492 border: solid 1px silver;
1493 padding: 4px;
1494 margin: 1em;
1495 -moz-border-radius: 6px;
1496 background: #f0f0f0;
1497 }
1498
1499 div.multipageimagenavbox div.thumb {
1500 border: none;
1501 margin-left: 2em;
1502 margin-right: 2em;
1503 }
1504
1505 div.multipageimagenavbox hr {
1506 margin: 6px;
1507 }
1508
1509 table.multipageimage td {
1510 text-align: center;
1511 }
1512
1513 /*
1514 Table pager (e.g. Special:Imagelist)
1515 - remove underlines from the navigation link
1516 - collapse borders
1517 - set the borders to outsets (similar to Special:Allmessages)
1518 - remove line wrapping for all td and th, set background color
1519 - restore line wrapping for the last two table cells (description and size)
1520 */
1521 .TablePager_nav a { text-decoration: none; }
1522 .TablePager { border-collapse: collapse; }
1523 .TablePager, .TablePager td, .TablePager th {
1524 border: 0.15em solid #777777;
1525 padding: 0 0.15em 0 0.15em;
1526 }
1527 .TablePager th { background-color: #eeeeff }
1528 .TablePager td { background-color: #ffffff }
1529 .TablePager tr:hover td { background-color: #eeeeff }
1530
1531 .imagelist td, .imagelist th { white-space: nowrap }
1532 .imagelist .TablePager_col_links { background-color: #eeeeff }
1533 .imagelist .TablePager_col_img_description { white-space: normal }
1534 .imagelist th.TablePager_sort { background-color: #ccccff }
1535
1536 .templatesUsed { margin-top: 1.5em; }
1537
1538 .mw-summary-preview {
1539 margin: 0.1em 0;
1540 }