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