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