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