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