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