revert r93264 : breaks ton of parser tests.
[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 div#column-content {
13 width: 100%;
14 float: right;
15 margin: 0 0 .6em -12.2em;
16 padding: 0;
17 }
18 div#content {
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1em 1em;
21 position: relative;
22 z-index: 2;
23 }
24 div#column-one {
25 padding-top: 160px;
26 }
27 div#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 /* @embed */
45 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
46 color: black;
47 margin: 0;
48 padding: 0;
49 direction: ltr; /* Needed for RTL flipping */
50 unicode-bidi: embed;
51 }
52
53 /* scale back up to a sane default */
54 div#globalWrapper {
55 font-size: 127%;
56 width: 100%;
57 margin: 0;
58 padding: 0;
59 }
60
61 /* general styles */
62
63 table {
64 font-size: 100%;
65 }
66 a {
67 text-decoration: none;
68 color: #002bb8;
69 background: none;
70 }
71 a:visited {
72 color: #5a3696;
73 }
74 a:active {
75 color: #faa700;
76 }
77 a:hover {
78 text-decoration: underline;
79 }
80 a.stub {
81 color: #772233;
82 }
83 a.new, #p-personal a.new {
84 color: #cc2200;
85 }
86 a.new:visited, #p-personal a.new:visited {
87 color: #a55858;
88 }
89
90 img {
91 border: none;
92 vertical-align: middle;
93 }
94 p {
95 margin: .4em 0 .5em 0;
96 line-height: 1.5em;
97 }
98 p img {
99 margin: 0;
100 }
101
102 hr {
103 height: 1px;
104 color: #aaa;
105 background-color: #aaa;
106 border: 0;
107 margin: .2em 0 .2em 0;
108 }
109
110 /* Headers */
111 .mw-h1, .mw-h2, .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
112 color: black;
113 background: none;
114 margin: 0;
115 overflow: hidden;
116 border-bottom: 1px solid #aaa;
117 }
118 .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
119 border-bottom: none;
120 }
121 h1, h2 { font-weight: normal; }
122
123 h1 { font-size: 188%; }
124 h2 { font-size: 150%; }
125 h3, h4, h5, h6 {
126 border-bottom: none;
127 font-weight: bold;
128 }
129 h3 { font-size: 132%; }
130 h4 { font-size: 116%; }
131 h5 { font-size: 100%; }
132 h6 { font-size: 80%; }
133
134 /* To replicate the old padding, where h# were block-level elements and edit
135 * links were floated, we need to multiply .5em top padding and .17em bottom
136 * padding by the header text sizes. */
137 .mw-h1 { padding: .94em 0 .32em; } /* (0.5*1.88)em 0 (0.17*1.88)em */
138 .mw-h2 { padding: .75em 0 .26em; } /* (0.5*1.50)em 0 (0.17*1.50)em */
139 .mw-h3 { padding: .66em 0 .22em; } /* etc. */
140 .mw-h4 { padding: .58em 0 .20em; }
141 .mw-h5 { padding: .50em 0 .17em; }
142 .mw-h6 { padding: .40em 0 .14em; }
143
144
145 ul {
146 line-height: 1.5em;
147 list-style-type: square;
148 margin: .3em 0 0 1.5em;
149 padding: 0;
150 /* @embed */
151 list-style-image: url(bullet.gif);
152 }
153 ol {
154 line-height: 1.5em;
155 margin: .3em 0 0 3.2em;
156 padding: 0;
157 list-style-image: none;
158 }
159 li {
160 margin-bottom: .1em;
161 }
162 dt {
163 font-weight: bold;
164 margin-bottom: .1em;
165 }
166 dl {
167 margin-top: .2em;
168 margin-bottom: .5em;
169 }
170 dd {
171 line-height: 1.5em;
172 margin-left: 2em;
173 margin-bottom: .1em;
174 }
175
176 fieldset {
177 border: 1px solid #2f6fab;
178 margin: 1em 0 1em 0;
179 padding: 0 1em 1em;
180 line-height: 1.5em;
181 }
182 fieldset.nested {
183 margin: 0 0 0.5em 0;
184 padding: 0 0.5em 0.5em;
185 }
186 legend {
187 padding: .5em;
188 font-size: 95%;
189 }
190 form {
191 border: none;
192 margin: 0;
193 }
194
195 textarea {
196 width: 100%;
197 padding: .1em;
198 }
199
200 input.historysubmit {
201 padding: 0 .3em .3em .3em !important;
202 font-size: 94%;
203 cursor: pointer;
204 height: 1.7em !important;
205 margin-left: 1.6em;
206 }
207 select {
208 vertical-align: top;
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 position: relative;
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 {
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 /* @noflip */div.floatright, table.floatright {
380 margin: 0 0 .5em .5em;
381 border: 0;
382 /*
383 border: .5em solid white;
384 border-width: .5em 0 .8em 1.4em;
385 */
386 }
387 div.floatright p { font-style: italic; }
388 /* @noflip */div.floatleft, table.floatleft {
389 margin: 0 .5em .5em 0;
390 border: 0;
391 /*
392 margin: .3em .5em .5em 0;
393 border: .5em solid white;
394 border-width: .5em 1.4em .8em 0;
395 */
396 }
397 div.floatleft p { font-style: italic; }
398 /* thumbnails */
399 div.thumb {
400 margin-bottom: .5em;
401 width: auto;
402 }
403 div.thumbinner {
404 border: 1px solid #ccc;
405 padding: 3px !important;
406 background-color: #f9f9f9;
407 font-size: 94%;
408 text-align: center;
409 overflow: hidden;
410 }
411 html .thumbimage {
412 border: 1px solid #ccc;
413 }
414 html .thumbcaption {
415 border: none;
416 text-align: left;
417 line-height: 1.4em;
418 padding: 3px !important;
419 font-size: 94%;
420 }
421 div.magnify {
422 float: right;
423 border: none !important;
424 background: none !important;
425 }
426 div.magnify a, div.magnify img {
427 display: block;
428 border: none !important;
429 background: none !important;
430 }
431 /* @noflip */div.tright {
432 margin: .5em 0 1.3em 1.4em;
433 }
434 /* @noflip */div.tleft {
435 margin: .5em 1.4em 1.3em 0;
436 }
437 img.thumbborder {
438 border: 1px solid #dddddd;
439 }
440
441 /*
442 ** classes for special content elements like town boxes
443 ** intended to be referenced directly from the wiki src
444 */
445
446 /*
447 ** User styles
448 */
449 /* table standards */
450 table.rimage {
451 float: right;
452 position: relative;
453 margin-left: 1em;
454 margin-bottom: 1em;
455 text-align: center;
456 }
457 .toccolours {
458 border: 1px solid #aaa;
459 background-color: #f9f9f9;
460 padding: 5px;
461 font-size: 95%;
462 }
463
464 /*
465 ** edit views etc
466 */
467 .special li {
468 line-height: 1.4em;
469 margin: 0;
470 padding: 0;
471 }
472
473 /*
474 ** keep the whitespace in front of the ^=, hides rule from konqueror
475 ** this is css3, the validator doesn't like it when validating as css2
476 */
477 #bodyContent a.external,
478 #bodyContent a.external[href ^="gopher://"] {
479 /* @embed */
480 background: url(external-ltr.png) center right no-repeat;
481 padding-right: 13px;
482 }
483 #bodyContent a.external[href ^="https://"],
484 .link-https {
485 /* @embed */
486 background: url(lock_icon.gif) center right no-repeat;
487 padding-right: 16px;
488 }
489 #bodyContent a.external[href ^="mailto:"],
490 .link-mailto {
491 /* @embed */
492 background: url(mail_icon.gif) center right no-repeat;
493 padding-right: 18px;
494 }
495 #bodyContent a.external[href ^="news://"] {
496 /* @embed */
497 background: url(news_icon.png) center right no-repeat;
498 padding-right: 18px;
499 }
500 #bodyContent a.external[href ^="ftp://"],
501 .link-ftp {
502 /* @embed */
503 background: url(file_icon.gif) center right no-repeat;
504 padding-right: 18px;
505 }
506 #bodyContent a.external[href ^="irc://"],
507 #bodyContent a.external[href ^="ircs://"],
508 .link-irc {
509 /* @embed */
510 background: url(discussionitem_icon.gif) center right no-repeat;
511 padding-right: 18px;
512 }
513 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
514 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
515 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
516 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
517 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
518 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
519 .link-audio {
520 /* @embed */
521 background: url("audio.png") center right no-repeat;
522 padding-right: 13px;
523 }
524 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
525 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
526 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
527 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
528 .link-video {
529 /* @embed */
530 background: url("video.png") center right no-repeat;
531 padding-right: 13px;
532 }
533 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
534 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
535 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
536 .link-document {
537 /* @embed */
538 background: url("document.png") center right no-repeat;
539 padding-right: 12px;
540 }
541
542 /* Interwiki Styling */
543 #bodyContent a.extiw,
544 #bodyContent a.extiw:active {
545 color: #36b;
546 /* Don't show icons for interwiki links */
547 background: none;
548 padding: 0;
549 }
550 #bodyContent a.extiw:visited {
551 color: #636;
552 }
553 #bodyContent a.extiw:active {
554 color: #b63;
555 }
556
557 /* External links */
558 #bodyContent a.external {
559 color: #36b;
560 }
561 #bodyContent a.external:visited {
562 color: #636; /* bug 3112 */
563 }
564 #bodyContent a.external:active {
565 color: #b63;
566 }
567
568 /*
569 ** Structural Elements
570 */
571
572 /*
573 ** general portlet styles (elements in the quickbar)
574 */
575 .portlet {
576 border: none;
577 margin: 0 0 .5em;
578 padding: 0;
579 float: none;
580 width: 11.6em;
581 overflow: hidden;
582 }
583 html > body .portlet {
584 float: left;
585 clear: left;
586 }
587 /* recover IEMac (might be fine with the float, but usually it's close to IE */
588 *>body .portlet {
589 float: none;
590 clear: none;
591 }
592 .portlet h4 {
593 font-size: 95%;
594 font-weight: normal;
595 white-space: nowrap;
596 }
597 .portlet h5 {
598 background: transparent;
599 padding: 0 1em 0 .5em;
600 display: inline;
601 height: 1em;
602 text-transform: lowercase;
603 font-size: 91%;
604 font-weight: normal;
605 white-space: nowrap;
606 }
607 .portlet h6 {
608 background: #ffae2e;
609 border: 1px solid #2f6fab;
610 border-style: solid solid none solid;
611 padding: 0 1em 0 1em;
612 text-transform: lowercase;
613 display: block;
614 font-size: 1em;
615 height: 1.2em;
616 font-weight: normal;
617 white-space: nowrap;
618 }
619 .pBody {
620 font-size: 95%;
621 background-color: white;
622 color: black;
623 border-collapse: collapse;
624 border: 1px solid #aaa;
625 padding: 0 .8em .3em .5em;
626 }
627 .portlet h1,
628 .portlet h2,
629 .portlet h3,
630 .portlet h4 {
631 margin: 0;
632 padding: 0;
633 }
634 .portlet ul {
635 line-height: 1.5em;
636 list-style-type: square;
637 /* @embed */
638 list-style-image: url(bullet.gif);
639 font-size: 95%;
640 }
641 .portlet li {
642 padding: 0;
643 margin: 0;
644 }
645
646 /*
647 ** Logo properties
648 */
649
650 #p-logo {
651 top: 0;
652 left: 0;
653 position: absolute; /*needed to use z-index */
654 z-index: 3;
655 height: 155px;
656 width: 12em;
657 overflow: visible;
658 }
659 #p-logo h5 {
660 display: none;
661 }
662 #p-logo a,
663 #p-logo a:hover {
664 display: block;
665 height: 155px;
666 width: 12.2em;
667 background-repeat: no-repeat;
668 background-position: 35% 50% !important;
669 text-decoration: none;
670 }
671
672 /*
673 ** Search portlet
674 */
675 #p-search {
676 position: relative;
677 z-index: 3;
678 }
679 input.searchButton {
680 margin-top: 1px;
681 font-size: 95%;
682 }
683 #searchGoButton {
684 padding-left: .5em;
685 padding-right: .5em;
686 font-weight: bold;
687 }
688 #searchInput {
689 width: 10.9em;
690 margin: 0;
691 font-size: 95%;
692 }
693 #p-search .pBody {
694 padding: .5em .4em .4em .4em;
695 text-align: center;
696 }
697 #p-search #searchform div div {
698 margin-top: .4em;
699 font-size: 95%;
700 }
701 /*
702 ** the personal toolbar
703 */
704 #p-personal {
705 position: absolute;
706 left: 0;
707 top: 0;
708 z-index: 0;
709 }
710 #p-personal {
711 width: 100%;
712 white-space: nowrap;
713 padding: 0;
714 margin: 0;
715 border: none;
716 background: none;
717 overflow: visible;
718 line-height: 1.2em;
719 }
720 #p-personal h5 {
721 display: none;
722 }
723 #p-personal .portlet,
724 #p-personal .pBody {
725 z-index: 0;
726 padding: 0;
727 margin: 0;
728 border: none;
729 overflow: visible;
730 background: none;
731 }
732 /* this is the ul contained in the portlet */
733 #p-personal ul {
734 border: none;
735 line-height: 1.4em;
736 color: #2f6fab;
737 padding: 0 2em 0 3em;
738 margin: 0;
739 text-align: right;
740 list-style: none;
741 z-index: 0;
742 background: none;
743 cursor: default;
744 }
745 #p-personal li {
746 z-index: 0;
747 border: none;
748 padding: 0;
749 display: inline;
750 color: #2f6fab;
751 margin-left: 1em;
752 line-height: 1.2em;
753 background: none;
754 }
755 #p-personal li a {
756 text-decoration: none;
757 color: #005896;
758 padding-bottom: .2em;
759 background: none;
760 }
761 #p-personal li a:hover {
762 background-color: white;
763 padding-bottom: .2em;
764 text-decoration: none;
765 }
766 #p-personal li.active a:hover {
767 background-color: transparent;
768 }
769 /* the icon in front of the user name, single quotes
770 in bg url to hide it from iemac */
771 li#pt-userpage,
772 li#pt-anonuserpage,
773 li#pt-login {
774 /* @embed */
775 background: url(user.gif) top left no-repeat;
776 padding-left: 20px;
777 text-transform: none;
778 }
779 #p-personal ul {
780 text-transform: lowercase;
781 }
782 #p-personal li.active {
783 font-weight: bold;
784 }
785 /*
786 ** the page-related actions- page/talk, edit etc
787 */
788 #p-cactions {
789 position: absolute;
790 top: 1.3em;
791 left: 11.5em;
792 margin: 0;
793 white-space: nowrap;
794 width: 76%;
795 line-height: 1.1em;
796 overflow: visible;
797 background: none;
798 border-collapse: collapse;
799 padding-left: 1em;
800 list-style: none;
801 font-size: 95%;
802 }
803 #p-cactions ul {
804 list-style: none;
805 }
806 #p-cactions li {
807 display: inline;
808 border: 1px solid #aaa;
809 border-bottom: none;
810 padding: 0 0 .1em 0;
811 margin: 0 .3em 0 0;
812 overflow: visible;
813 background: white;
814 }
815 #p-cactions li.selected {
816 border-color: #fabd23;
817 padding: 0 0 .2em 0;
818 font-weight: bold;
819 }
820 #p-cactions li a {
821 background-color: #fbfbfb;
822 color: #002bb8;
823 border: none;
824 padding: 0 .8em .3em;
825 position: relative;
826 z-index: 0;
827 margin: 0;
828 text-decoration: none;
829 }
830 #p-cactions li.selected a {
831 z-index: 3;
832 background-color: white;
833 }
834 #p-cactions .new a {
835 color: #ba0000;
836 }
837 #p-cactions li a:hover {
838 z-index: 3;
839 text-decoration: none;
840 background-color: white;
841 }
842 #p-cactions h5 {
843 display: none;
844 }
845 #p-cactions li.istalk {
846 margin-right: 0;
847 }
848 #p-cactions li.istalk a {
849 padding-right: .5em;
850 }
851 #p-cactions #ca-addsection a {
852 padding-left: .4em;
853 padding-right: .4em;
854 }
855 /* offsets to distinguish the tab groups */
856 li#ca-talk {
857 margin-right: 1.6em;
858 }
859 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
860 margin-left: 1.6em;
861 }
862 #p-cactions .pBody {
863 font-size: 1em;
864 background-color: transparent;
865 color: inherit;
866 border-collapse: inherit;
867 border: 0;
868 padding: 0;
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 div#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 div#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
1027 div#userloginForm table,
1028 div#userlogin form#userlogin2 table {
1029 background-color: #f9f9f9;
1030 }
1031
1032 div#userloginForm h2,
1033 div#userlogin form#userlogin2 h2 {
1034 padding-top: 0;
1035 }
1036
1037 div#userlogin .captcha,
1038 div#userloginForm .captcha {
1039 border: 1px solid #bbb;
1040 padding: 1.5em 2em;
1041 background-color: white;
1042 }
1043
1044 #loginend, #signupend {
1045 clear: both;
1046 }
1047
1048 #userloginprompt, #languagelinks {
1049 font-size: 85%;
1050 }
1051
1052 #login-sectiontip {
1053 font-size: 85%;
1054 line-height: 1.2;
1055 padding-top: 2em;
1056 }
1057
1058 #userlogin .loginText, #userlogin .loginPassword {
1059 width: 12em;
1060 }
1061
1062 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1063 font-weight: bold;
1064 }
1065
1066 /*
1067 ** IE/Mac fixes, hope to find a validating way to move this
1068 ** to a separate stylesheet. This would work but doesn't validate:
1069 ** @import("IEMacFixes.css");
1070 */
1071 /* tabs: border on the a, not the div */
1072 * > html #p-cactions li { border: none; }
1073 * > html #p-cactions li a {
1074 border: 1px solid #aaa;
1075 border-bottom: none;
1076 }
1077 * > html #p-cactions li.selected a { border-color: #fabd23; }
1078 /* footer icons need a fixed width */
1079 * > html #f-poweredbyico,
1080 * > html #f-copyrightico { width: 88px; }
1081 * > html #bodyContent,
1082 * > html #bodyContent pre {
1083 overflow-x: auto;
1084 width: 100%;
1085 padding-bottom: 25px;
1086 }
1087
1088 /* more IE fixes */
1089 /* float/negative margin brokenness */
1090 * html div#footer {margin-top: 0;}
1091 * html div#column-content {
1092 display: inline;
1093 margin-bottom: 0;
1094 }
1095 #pagehistory li.selected { position: relative; }
1096
1097 /* Mac IE 5.0 fix; floated content turns invisible */
1098 * > html div#column-content {
1099 float: none;
1100 }
1101 * > html div#column-one {
1102 position: absolute;
1103 left: 0;
1104 top: 0;
1105 }
1106 * > html div#footer {
1107 margin-left: 13.2em;
1108 }
1109 .redirectText {
1110 font-size: 150%;
1111 margin: 5px;
1112 }
1113
1114 .printfooter {
1115 display: none;
1116 }
1117
1118 div.patrollink {
1119 clear: both;
1120 }
1121
1122 .sharedUploadNotice {
1123 font-style: italic;
1124 }
1125
1126 span.updatedmarker {
1127 color: black;
1128 background-color: #0f0;
1129 }
1130
1131 .editExternally {
1132 border: 1px solid gray;
1133 background-color: #ffffff;
1134 padding: 3px;
1135 margin-top: 0.5em;
1136 float: left;
1137 font-size: small;
1138 text-align: center;
1139 }
1140 .editExternallyHelp {
1141 font-style: italic;
1142 color: gray;
1143 }
1144
1145 .toggle {
1146 margin-left: 2em;
1147 text-indent: -2em;
1148 }
1149
1150 /* @bug 1714 */
1151 input#wpSave, input#wpDiff {
1152 margin-right: 0.33em;
1153 }
1154
1155 #wpSave {
1156 font-weight: bold;
1157 }
1158
1159 /* noarticletext */
1160 div.noarticletext {
1161 border: 1px solid #ccc;
1162 background: #fff;
1163 padding: .2em 1em;
1164 color: #000;
1165 }
1166
1167 div#searchTargetContainer {
1168 left: 10px;
1169 top: 10px;
1170 width: 90%;
1171 background: white;
1172 }
1173
1174 div#searchTarget {
1175 padding: 3px;
1176 margin: 5px;
1177 background: #F0F0F0;
1178 border: solid 1px blue;
1179 }
1180
1181 div#searchTarget ul li {
1182 list-style: none;
1183 }
1184
1185 div#searchTarget ul li:before {
1186 color: orange;
1187 content: "\00BB \0020";
1188 }
1189
1190 div#searchTargetHide {
1191 float:right;
1192 border:solid 1px black;
1193 background:#DCDCDC;
1194 padding:2px;
1195 }
1196
1197 #powersearch p {
1198 margin-top:0px;
1199 }
1200
1201 div.multipageimagenavbox {
1202 border: solid 1px silver;
1203 padding: 4px;
1204 margin: 1em;
1205 background: #f0f0f0;
1206 }
1207
1208 div.multipageimagenavbox div.thumb {
1209 border: none;
1210 margin-left: 2em;
1211 margin-right: 2em;
1212 }
1213
1214 div.multipageimagenavbox hr {
1215 margin: 6px;
1216 }
1217
1218 table.multipageimage td {
1219 text-align: center;
1220 }
1221
1222 .templatesUsed { margin-top: 1.5em; }
1223
1224 .mw-summary-preview {
1225 margin: 0.1em 0;
1226 }
1227
1228 /* Friendlier slave lag warnings */
1229 div.mw-lag-warn-normal,
1230 div.mw-lag-warn-high {
1231 padding: 3px;
1232 text-align: center;
1233 margin: 3px auto;
1234 }
1235 div.mw-lag-warn-normal {
1236 border: 1px solid #FFCC66;
1237 background-color: #FFFFCC;
1238 }
1239 div.mw-lag-warn-high {
1240 font-weight: bold;
1241 border: 2px solid #FF0033;
1242 background-color: #FFCCCC;
1243 }
1244
1245 .MediaTransformError {
1246 background-color: #ccc;
1247 padding: 0.1em;
1248 }
1249 .MediaTransformError td {
1250 text-align: center;
1251 vertical-align: middle;
1252 font-size: 90%;
1253 }
1254
1255 /* God-damned hack for the crappy layout */
1256 .ui-autocomplete {
1257 font-size: 127%!important;
1258 }
1259
1260 /* Sometimes people don't want personal tools to be lowercase! */
1261 .no-text-transform {
1262 text-transform: none;
1263 }
1264
1265 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
1266 .tipsy {
1267 font-size: 127%;
1268 }