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