Fix active tab padding-bottom to remain untouched, reverting a line added in r11335.
[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: #cc2200;
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 /*
577 ** Structural Elements
578 */
579
580 /*
581 ** general portlet styles (elements in the quickbar)
582 */
583 .portlet {
584 border: none;
585 margin: 0 0 .5em;
586 padding: 0;
587 float: none;
588 width: 11.6em;
589 overflow: hidden;
590 }
591 .portlet h4 {
592 font-size: 95%;
593 font-weight: normal;
594 white-space: nowrap;
595 }
596 .portlet h5 {
597 background: transparent;
598 padding: 0 1em 0 .5em;
599 display: inline;
600 height: 1em;
601 text-transform: lowercase;
602 font-size: 91%;
603 font-weight: normal;
604 white-space: nowrap;
605 }
606 .portlet h6 {
607 background: #ffae2e;
608 border: 1px solid #2f6fab;
609 border-style: solid solid none solid;
610 padding: 0 1em 0 1em;
611 text-transform: lowercase;
612 display: block;
613 font-size: 1em;
614 height: 1.2em;
615 font-weight: normal;
616 white-space: nowrap;
617 }
618 .pBody {
619 font-size: 95%;
620 background-color: white;
621 color: black;
622 border-collapse: collapse;
623 border: 1px solid #aaa;
624 padding: 0 .8em .3em .5em;
625 }
626 .portlet h1,
627 .portlet h2,
628 .portlet h3,
629 .portlet h4 {
630 margin: 0;
631 padding: 0;
632 }
633 .portlet ul {
634 line-height: 1.5em;
635 list-style-type: square;
636 list-style-image: url(bullet.gif);
637 font-size: 95%;
638 }
639 .portlet li {
640 padding: 0;
641 margin: 0;
642 }
643
644 /*
645 ** Logo properties
646 */
647
648 #p-logo {
649 top: 0;
650 left: 0;
651 position: absolute; /*needed to use z-index */
652 z-index: 3;
653 height: 155px;
654 width: 12em;
655 overflow: visible;
656 }
657 #p-logo h5 {
658 display: none;
659 }
660 #p-logo a,
661 #p-logo a:hover {
662 display: block;
663 height: 155px;
664 width: 12.2em;
665 background-repeat: no-repeat;
666 background-position: 35% 50% !important;
667 text-decoration: none;
668 }
669
670 /*
671 ** Search portlet
672 */
673 #p-search {
674 position: relative;
675 z-index: 3;
676 }
677 input.searchButton {
678 margin-top: 1px;
679 font-size: 95%;
680 }
681 #searchGoButton {
682 padding-left: .5em;
683 padding-right: .5em;
684 font-weight: bold;
685 }
686 #searchInput {
687 width: 10.9em;
688 margin: 0;
689 font-size: 95%;
690 }
691 #p-search .pBody {
692 padding: .5em .4em .4em .4em;
693 text-align: center;
694 }
695 #p-search #searchform div div {
696 margin-top: .4em;
697 font-size: 95%;
698 }
699 /*
700 ** the personal toolbar
701 */
702 #p-personal {
703 position: absolute;
704 left: 0;
705 top: 0;
706 z-index: 0;
707 }
708 #p-personal {
709 width: 100%;
710 white-space: nowrap;
711 padding: 0;
712 margin: 0;
713 border: none;
714 background: none;
715 overflow: visible;
716 line-height: 1.2em;
717 }
718 #p-personal h5 {
719 display: none;
720 }
721 #p-personal .portlet,
722 #p-personal .pBody {
723 z-index: 0;
724 padding: 0;
725 margin: 0;
726 border: none;
727 overflow: visible;
728 background: none;
729 }
730 /* this is the ul contained in the portlet */
731 #p-personal ul {
732 border: none;
733 line-height: 1.4em;
734 color: #2f6fab;
735 padding: 0 2em 0 3em;
736 margin: 0;
737 text-align: right;
738 list-style: none;
739 z-index: 0;
740 background: none;
741 cursor: default;
742 }
743 #p-personal li {
744 z-index: 0;
745 border: none;
746 padding: 0;
747 display: inline;
748 color: #2f6fab;
749 margin-left: 1em;
750 line-height: 1.2em;
751 background: none;
752 }
753 #p-personal li a {
754 text-decoration: none;
755 color: #005896;
756 padding-bottom: .2em;
757 background: none;
758 }
759 #p-personal li a:hover {
760 background-color: white;
761 padding-bottom: .2em;
762 text-decoration: none;
763 }
764 #p-personal li.active a:hover {
765 background-color: transparent;
766 }
767 /* the icon in front of the user name, single quotes
768 in bg url to hide it from iemac */
769 li#pt-userpage,
770 li#pt-anonuserpage,
771 li#pt-login {
772 background: url(user.gif) top left no-repeat;
773 padding-left: 20px;
774 text-transform: none;
775 }
776 #p-personal ul {
777 text-transform: lowercase;
778 }
779 #p-personal li.active {
780 font-weight: bold;
781 }
782 /*
783 ** the page-related actions- page/talk, edit etc
784 */
785 #p-cactions {
786 position: absolute;
787 top: 1.3em;
788 left: 11.5em;
789 margin: 0;
790 white-space: nowrap;
791 width: 76%;
792 line-height: 1.1em;
793 overflow: visible;
794 background: none;
795 border-collapse: collapse;
796 padding-left: 1em;
797 list-style: none;
798 font-size: 95%;
799 }
800 #p-cactions ul {
801 list-style: none;
802 }
803 #p-cactions li {
804 display: inline;
805 border: 1px solid #aaa;
806 border-bottom: none;
807 padding: 0 0 .1em 0;
808 margin: 0 .3em 0 0;
809 overflow: visible;
810 background: white;
811 }
812 #p-cactions li.selected {
813 border-color: #fabd23;
814 padding: 0 0 .2em 0;
815 font-weight: bold;
816 }
817 #p-cactions li a {
818 background-color: #fbfbfb;
819 color: #002bb8;
820 border: none;
821 padding: 0 .8em .3em;
822 position: relative;
823 z-index: 0;
824 margin: 0;
825 text-decoration: none;
826 }
827 #p-cactions li.selected a {
828 z-index: 3;
829 background-color: white;
830 }
831 #p-cactions .new a {
832 color: #ba0000;
833 }
834 #p-cactions li a:hover {
835 z-index: 3;
836 text-decoration: none;
837 background-color: white;
838 }
839 #p-cactions h5 {
840 display: none;
841 }
842 #p-cactions li.istalk {
843 margin-right: 0;
844 }
845 #p-cactions li.istalk a {
846 padding-right: .5em;
847 }
848 #p-cactions #ca-addsection a {
849 padding-left: .4em;
850 padding-right: .4em;
851 }
852 /* offsets to distinguish the tab groups */
853 li#ca-talk {
854 margin-right: 1.6em;
855 }
856 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
857 margin-left: 1.6em;
858 }
859 #p-cactions .pBody {
860 font-size: 1em;
861 background-color: transparent;
862 color: inherit;
863 border-collapse: inherit;
864 border: 0;
865 padding: 0;
866 }
867 #p-cactions .hiddenStructure {
868 display: none;
869 }
870 #p-cactions li a {
871 text-transform: lowercase;
872 }
873
874 #p-lang {
875 position: relative;
876 z-index: 3;
877 }
878
879 /* Override text-transform on languages where capitalization is significant */
880 .capitalize-all-nouns .portlet h5,
881 .capitalize-all-nouns .portlet h6,
882 .capitalize-all-nouns #p-personal ul,
883 .capitalize-all-nouns #p-cactions ul li a {
884 text-transform: none;
885 }
886
887 /* TODO: #t-iscite is only used by the Cite extension, come up with some
888 * system which allows extensions to add to this file on the fly
889 */
890 #t-ispermalink, #t-iscite {
891 color: #999;
892 }
893 /*
894 ** footer
895 */
896 #footer {
897 background-color: white;
898 border-top: 1px solid #fabd23;
899 border-bottom: 1px solid #fabd23;
900 margin: .6em 0 1em 0;
901 padding: .4em 0 1.2em 0;
902 text-align: center;
903 font-size: 90%;
904 }
905 #footer li {
906 display: inline;
907 margin: 0 1.3em;
908 }
909 #f-poweredbyico, #f-copyrightico {
910 margin: 0 8px;
911 position: relative;
912 top: -2px; /* Bump it up just a tad */
913 }
914 #f-poweredbyico {
915 float: right;
916 height: 1%;
917 }
918 #f-copyrightico {
919 float: left;
920 height: 1%;
921 }
922
923 .mw-htmlform-submit {
924 font-weight: bold;
925 padding-left: .3em;
926 padding-right: .3em;
927 margin-right: 2em;
928 }
929
930 /* js pref toc */
931 #preftoc {
932 margin: 0;
933 padding: 0;
934 width: 100%;
935 clear: both;
936 }
937 #preftoc li {
938 background-color: #f0f0f0;
939 color: #000;
940 }
941 #preftoc li {
942 margin: 1px -2px 1px 2px;
943 float: left;
944 padding: 2px 0 3px 0;
945 border: 1px solid #fff;
946 border-right-color: #716f64;
947 border-bottom: 0;
948 position: relative;
949 white-space: nowrap;
950 list-style-type: none;
951 list-style-image: none;
952 z-index: 3;
953 }
954 #preftoc li.selected {
955 font-weight: bold;
956 background-color: #f9f9f9;
957 border: 1px solid #aaa;
958 border-bottom: none;
959 cursor: default;
960 top: 1px;
961 padding-top: 2px;
962 margin-right: -3px;
963 }
964 #preftoc > li.selected {
965 top: 2px;
966 }
967 #preftoc a,
968 #preftoc a:active {
969 display: block;
970 color: #000;
971 padding: 0 .7em;
972 position: relative;
973 text-decoration: none;
974 }
975 #preftoc li.selected a {
976 cursor: default;
977 text-decoration: none;
978 }
979 #preferences {
980 margin: 0;
981 border: 1px solid #aaa;
982 clear: both;
983 padding: 1.5em;
984 background-color: #F9F9F9;
985 }
986 .prefsection {
987 border: none;
988 padding: 0;
989 margin: 0;
990 }
991
992 .prefsection legend {
993 font-weight: bold;
994 }
995 .prefsection table, .prefsection legend {
996 background-color: #F9F9F9;
997 }
998 .mainLegend {
999 display: none;
1000 }
1001 td.htmlform-tip {
1002 font-size: x-small;
1003 padding: .2em 2em;
1004 color: #666;
1005 }
1006
1007 .preferences-login {
1008 clear: both;
1009 margin-bottom: 1.5em;
1010 }
1011
1012 .prefcache {
1013 font-size: 90%;
1014 margin-top: 2em;
1015 }
1016
1017 div#userloginForm form,
1018 div#userlogin form#userlogin2 {
1019 margin: 0 3em 1em 0;
1020 border: 1px solid #aaa;
1021 clear: both;
1022 padding: 1.5em 2em;
1023 background-color: #f9f9f9;
1024 float: left;
1025 }
1026 .rtl div#userloginForm form,
1027 .rtl div#userlogin form#userlogin2 {
1028 float: right;
1029 }
1030
1031 div#userloginForm table,
1032 div#userlogin form#userlogin2 table {
1033 background-color: #f9f9f9;
1034 }
1035
1036 div#userloginForm h2,
1037 div#userlogin form#userlogin2 h2 {
1038 padding-top: 0;
1039 }
1040
1041 div#userlogin .captcha,
1042 div#userloginForm .captcha {
1043 border: 1px solid #bbb;
1044 padding: 1.5em 2em;
1045 background-color: white;
1046 }
1047
1048 #loginend, #signupend {
1049 clear: both;
1050 }
1051
1052 #userloginprompt, #languagelinks {
1053 font-size: 85%;
1054 }
1055
1056 #login-sectiontip {
1057 font-size: 85%;
1058 line-height: 1.2;
1059 padding-top: 2em;
1060 }
1061
1062 #userlogin .loginText, #userlogin .loginPassword {
1063 width: 12em;
1064 }
1065
1066 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1067 font-weight: bold;
1068 }
1069
1070 /*
1071 ** IE/Mac fixes, hope to find a validating way to move this
1072 ** to a separate stylesheet. This would work but doesn't validate:
1073 ** @import("IEMacFixes.css");
1074 */
1075 /* tabs: border on the a, not the div */
1076 * > html #p-cactions li { border: none; }
1077 * > html #p-cactions li a {
1078 border: 1px solid #aaa;
1079 border-bottom: none;
1080 }
1081 * > html #p-cactions li.selected a { border-color: #fabd23; }
1082 /* footer icons need a fixed width */
1083 * > html #f-poweredbyico,
1084 * > html #f-copyrightico { width: 88px; }
1085 * > html #bodyContent,
1086 * > html #bodyContent pre {
1087 overflow-x: auto;
1088 width: 100%;
1089 padding-bottom: 25px;
1090 }
1091
1092 /* more IE fixes */
1093 /* float/negative margin brokenness */
1094 * html #footer {margin-top: 0;}
1095 * html #column-content {
1096 display: inline;
1097 margin-bottom: 0;
1098 }
1099 * html div.editsection { font-size: smaller; }
1100 #pagehistory li.selected { position: relative; }
1101
1102 /* Mac IE 5.0 fix; floated content turns invisible */
1103 * > html #column-content {
1104 float: none;
1105 }
1106 * > html #column-one {
1107 position: absolute;
1108 left: 0;
1109 top: 0;
1110 }
1111 * > html #footer {
1112 margin-left: 13.2em;
1113 }
1114 .redirectText {
1115 font-size: 150%;
1116 margin: 5px;
1117 }
1118
1119 .printfooter {
1120 display: none;
1121 }
1122
1123
1124 div.patrollink {
1125 clear: both;
1126 }
1127
1128 .sharedUploadNotice {
1129 font-style: italic;
1130 }
1131
1132 span.updatedmarker {
1133 color: black;
1134 background-color: #0f0;
1135 }
1136
1137 .previewnote {
1138 color: #c00;
1139 margin-bottom: 1em;
1140 }
1141
1142 .previewnote p {
1143 text-indent: 3em;
1144 margin: 0.8em 0;
1145 }
1146
1147 .editExternally {
1148 border: 1px solid gray;
1149 background-color: #ffffff;
1150 padding: 3px;
1151 margin-top: 0.5em;
1152 float: left;
1153 font-size: small;
1154 text-align: center;
1155 }
1156 .editExternallyHelp {
1157 font-style: italic;
1158 color: gray;
1159 }
1160
1161 .toggle {
1162 margin-left: 2em;
1163 text-indent: -2em;
1164 }
1165
1166 /* @bug 1714 */
1167 input#wpSave, input#wpDiff {
1168 margin-right: 0.33em;
1169 }
1170
1171 #wpSave {
1172 font-weight: bold;
1173 }
1174
1175 /* Classes for article validation */
1176
1177 table.revisionform_default {
1178 border: 1px solid #000000;
1179 }
1180
1181 table.revisionform_focus {
1182 border: 1px solid #000000;
1183 background-color:#00BBFF;
1184 }
1185
1186 tr.revision_tr_default {
1187 background-color:#EEEEEE;
1188 }
1189
1190 tr.revision_tr_first {
1191 background-color:#DDDDDD;
1192 }
1193
1194 p.revision_saved {
1195 color: green;
1196 font-weight:bold;
1197 }
1198
1199 /* noarticletext */
1200 div.noarticletext {
1201 border: 1px solid #ccc;
1202 background: #fff;
1203 padding: .2em 1em;
1204 color: #000;
1205 }
1206
1207 div#searchTargetContainer {
1208 left: 10px;
1209 top: 10px;
1210 width: 90%;
1211 background: white;
1212 }
1213
1214 div#searchTarget {
1215 padding: 3px;
1216 margin: 5px;
1217 background: #F0F0F0;
1218 border: solid 1px blue;
1219 }
1220
1221 div#searchTarget ul li {
1222 list-style: none;
1223 }
1224
1225 div#searchTarget ul li:before {
1226 color: orange;
1227 content: "\00BB \0020";
1228 }
1229
1230 div#searchTargetHide {
1231 float:right;
1232 border:solid 1px black;
1233 background:#DCDCDC;
1234 padding:2px;
1235 }
1236
1237 #powersearch p {
1238 margin-top:0px;
1239 }
1240
1241 div.multipageimagenavbox {
1242 border: solid 1px silver;
1243 padding: 4px;
1244 margin: 1em;
1245 background: #f0f0f0;
1246 }
1247
1248 div.multipageimagenavbox div.thumb {
1249 border: none;
1250 margin-left: 2em;
1251 margin-right: 2em;
1252 }
1253
1254 div.multipageimagenavbox hr {
1255 margin: 6px;
1256 }
1257
1258 table.multipageimage td {
1259 text-align: center;
1260 }
1261
1262 .templatesUsed { margin-top: 1.5em; }
1263
1264 .mw-summary-preview {
1265 margin: 0.1em 0;
1266 }
1267
1268 /* Friendlier slave lag warnings */
1269 div.mw-lag-warn-normal,
1270 div.mw-lag-warn-high {
1271 padding: 3px;
1272 text-align: center;
1273 margin: 3px auto;
1274 }
1275 div.mw-lag-warn-normal {
1276 border: 1px solid #FFCC66;
1277 background-color: #FFFFCC;
1278 }
1279 div.mw-lag-warn-high {
1280 font-weight: bold;
1281 border: 2px solid #FF0033;
1282 background-color: #FFCCCC;
1283 }
1284
1285 .MediaTransformError {
1286 background-color: #ccc;
1287 padding: 0.1em;
1288 }
1289 .MediaTransformError td {
1290 text-align: center;
1291 vertical-align: middle;
1292 font-size: 90%;
1293 }
1294
1295 /* God-damned hack for the crappy layout */
1296 .os-suggest {
1297 font-size: 127%;
1298 }
1299
1300 /* Sometimes people don't want personal tools to be lowercase! */
1301 .no-text-transform {
1302 text-transform: none;
1303 }