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