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