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