Fix bug 1061 CSS-added icons next to links display through the text and makes it...
[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 #column-content {
13 width: 100%;
14 float: right;
15 margin: 0 0 .6em -12.2em;
16 padding: 0;
17 }
18 #content {
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1em 1em;
21 position: relative;
22 z-index: 2;
23 }
24 #column-one {
25 padding-top: 160px;
26 }
27 #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 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
45 color: black;
46 margin: 0;
47 padding: 0;
48 }
49
50 /* scale back up to a sane default */
51 #globalWrapper {
52 font-size: 127%;
53 width: 100%;
54 margin: 0;
55 padding: 0;
56 }
57 .visualClear {
58 clear: both;
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: #ba0000;
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 list-style-image: url(bullet.gif);
150 }
151 ol {
152 line-height: 1.5em;
153 margin: .3em 0 0 3.2em;
154 padding: 0;
155 list-style-image: none;
156 }
157 li {
158 margin-bottom: .1em;
159 }
160 dt {
161 font-weight: bold;
162 margin-bottom: .1em;
163 }
164 dl {
165 margin-top: .2em;
166 margin-bottom: .5em;
167 }
168 dd {
169 line-height: 1.5em;
170 margin-left: 2em;
171 margin-bottom: .1em;
172 }
173
174 fieldset {
175 border: 1px solid #2f6fab;
176 margin: 1em 0 1em 0;
177 padding: 0 1em 1em;
178 line-height: 1.5em;
179 }
180 fieldset.nested {
181 margin: 0 0 0.5em 0;
182 padding: 0 0.5em 0.5em;
183 }
184 legend {
185 padding: .5em;
186 font-size: 95%;
187 }
188 form {
189 border: none;
190 margin: 0;
191 }
192
193 textarea {
194 width: 100%;
195 padding: .1em;
196 }
197
198 input.historysubmit {
199 padding: 0 .3em .3em .3em !important;
200 font-size: 94%;
201 cursor: pointer;
202 height: 1.7em !important;
203 margin-left: 1.6em;
204 }
205 select {
206 vertical-align: top;
207 }
208 abbr, acronym, .explain {
209 border-bottom: 1px dotted black;
210 color: black;
211 background: none;
212 cursor: help;
213 }
214 q {
215 font-family: Times, "Times New Roman", serif;
216 font-style: italic;
217 }
218 /* disabled for now
219 blockquote {
220 font-family: Times, "Times New Roman", serif;
221 font-style: italic;
222 }*/
223 code {
224 background-color: #f9f9f9;
225 }
226 pre {
227 padding: 1em;
228 border: 1px dashed #2f6fab;
229 color: black;
230 background-color: #f9f9f9;
231 line-height: 1.1em;
232 }
233
234 /*
235 ** the main content area
236 */
237
238 #siteSub {
239 display: none;
240 }
241 #jump-to-nav {
242 display: none;
243 }
244
245 #contentSub, #contentSub2 {
246 font-size: 84%;
247 line-height: 1.2em;
248 margin: 0 0 1.4em 1em;
249 color: #7d7d7d;
250 width: auto;
251 }
252 span.subpages {
253 display: block;
254 }
255
256 /* Some space under the headers in the content area */
257 #bodyContent h1, #bodyContent h2 {
258 margin-bottom: .6em;
259 }
260 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
261 margin-bottom: .3em;
262 }
263 #firstHeading {
264 margin-bottom: .1em;
265 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
266 When bug 2013 is fixed properly, they should be removed. */
267 line-height: 1.2em;
268 padding-bottom: 0;
269 }
270
271 /* user notification thing */
272 .usermessage {
273 background-color: #ffce7b;
274 border: 1px solid #ffa500;
275 color: black;
276 font-weight: bold;
277 margin: 2em 0 1em;
278 padding: .5em 1em;
279 vertical-align: middle;
280 }
281 #siteNotice {
282 text-align: center;
283 font-size: 95%;
284 padding: 0 .9em;
285 }
286 #siteNotice p {
287 margin: 0;
288 padding: 0;
289 }
290 .success {
291 color: green;
292 font-size: larger;
293 }
294 .error {
295 color: red;
296 font-size: larger;
297 }
298 .errorbox, .successbox {
299 font-size: larger;
300 border: 2px solid;
301 padding: .5em 1em;
302 float: left;
303 margin-bottom: 2em;
304 color: #000;
305 }
306 .errorbox {
307 border-color: red;
308 background-color: #fff2f2;
309 }
310 .successbox {
311 border-color: green;
312 background-color: #dfd;
313 }
314 .errorbox h2, .successbox h2 {
315 font-size: 1em;
316 font-weight: bold;
317 display: inline;
318 margin: 0 .5em 0 0;
319 border: none;
320 }
321
322 .catlinks {
323 border: 1px solid #aaa;
324 background-color: #f9f9f9;
325 padding: 5px;
326 margin-top: 1em;
327 clear: both;
328 }
329 /* currently unused, intended to be used by a metadata box
330 in the bottom-right corner of the content area */
331 .documentDescription {
332 /* The summary text describing the document */
333 font-weight: bold;
334 display: block;
335 margin: 1em 0;
336 line-height: 1.5em;
337 }
338 .documentByLine {
339 text-align: right;
340 font-size: 90%;
341 clear: both;
342 font-weight: normal;
343 color: #76797c;
344 }
345
346 /* emulate center */
347 .center {
348 width: 100%;
349 text-align: center;
350 }
351 *.center * {
352 margin-left: auto;
353 margin-right: auto;
354 }
355 /* small for tables and similar */
356 .small, .small * {
357 font-size: 94%;
358 }
359 table.small {
360 font-size: 100%;
361 }
362
363 /*
364 ** content styles
365 */
366
367 #toc,
368 .toc,
369 .mw-warning {
370 border: 1px solid #aaa;
371 background-color: #f9f9f9;
372 padding: 5px;
373 font-size: 95%;
374 }
375 #toc h2,
376 .toc h2 {
377 display: inline;
378 border: none;
379 padding: 0;
380 font-size: 100%;
381 font-weight: bold;
382 }
383 #toc #toctitle,
384 .toc #toctitle,
385 #toc .toctitle,
386 .toc .toctitle {
387 text-align: center;
388 }
389 #toc ul,
390 .toc ul {
391 list-style-type: none;
392 list-style-image: none;
393 margin-left: 0;
394 padding-left: 0;
395 text-align: left;
396 }
397 #toc ul ul,
398 .toc ul ul {
399 margin: 0 0 0 2em;
400 }
401 #toc .toctoggle,
402 .toc .toctoggle {
403 font-size: 94%;
404 }
405
406 .mw-warning {
407 margin-left: 50px;
408 margin-right: 50px;
409 text-align: center;
410 }
411
412 /* images */
413 div.floatright, table.floatright {
414 clear: right;
415 float: right;
416 position: relative;
417 margin: 0 0 .5em .5em;
418 border: 0;
419 /*
420 border: .5em solid white;
421 border-width: .5em 0 .8em 1.4em;
422 */
423 }
424 div.floatright p { font-style: italic; }
425 div.floatleft, table.floatleft {
426 float: left;
427 clear: left;
428 position: relative;
429 margin: 0 .5em .5em 0;
430 border: 0;
431 /*
432 margin: .3em .5em .5em 0;
433 border: .5em solid white;
434 border-width: .5em 1.4em .8em 0;
435 */
436 }
437 div.floatleft p { font-style: italic; }
438 /* thumbnails */
439 div.thumb {
440 margin-bottom: .5em;
441 border-style: solid;
442 border-color: white;
443 width: auto;
444 }
445 div.thumbinner {
446 border: 1px solid #ccc;
447 padding: 3px !important;
448 background-color: #f9f9f9;
449 font-size: 94%;
450 text-align: center;
451 overflow: hidden;
452 }
453 html .thumbimage {
454 border: 1px solid #ccc;
455 }
456 html .thumbcaption {
457 border: none;
458 text-align: left;
459 line-height: 1.4em;
460 padding: 3px !important;
461 font-size: 94%;
462 }
463 div.magnify {
464 float: right;
465 border: none !important;
466 background: none !important;
467 }
468 div.magnify a, div.magnify img {
469 display: block;
470 border: none !important;
471 background: none !important;
472 }
473 div.tright {
474 clear: right;
475 float: right;
476 border-width: .5em 0 .8em 1.4em;
477 }
478 div.tleft {
479 float: left;
480 clear: left;
481 margin-right: .5em;
482 border-width: .5em 1.4em .8em 0;
483 }
484 img.thumbborder {
485 border: 1px solid #dddddd;
486 }
487 .hiddenStructure {
488 display: none;
489 }
490
491 /*
492 ** classes for special content elements like town boxes
493 ** intended to be referenced directly from the wiki src
494 */
495
496 /*
497 ** User styles
498 */
499 /* table standards */
500 table.rimage {
501 float: right;
502 position: relative;
503 margin-left: 1em;
504 margin-bottom: 1em;
505 text-align: center;
506 }
507 .toccolours {
508 border: 1px solid #aaa;
509 background-color: #f9f9f9;
510 padding: 5px;
511 font-size: 95%;
512 }
513
514 /*
515 ** edit views etc
516 */
517 .special li {
518 line-height: 1.4em;
519 margin: 0;
520 padding: 0;
521 }
522
523 /*
524 ** keep the whitespace in front of the ^=, hides rule from konqueror
525 ** this is css3, the validator doesn't like it when validating as css2
526 */
527 #bodyContent a.external,
528 #bodyContent a[href ^="gopher://"] {
529 background: url(external.png) center right no-repeat;
530 padding: 0 13px;
531 }
532 .rtl #bodyContent a[href ^="http://"] {
533 background-image: url(external-rtl.png);
534 }
535 #bodyContent a[href ^="https://"],
536 .link-https {
537 background: url(lock_icon.gif) center right no-repeat;
538 padding: 0 16px;
539 }
540 #bodyContent a[href ^="mailto:"],
541 .link-mailto {
542 background: url(mail_icon.gif) center right no-repeat;
543 padding: 0 18px;
544 }
545 #bodyContent a[href ^="news://"] {
546 background: url(news_icon.png) center right no-repeat;
547 padding: 0 18px;
548 }
549 #bodyContent a[href ^="ftp://"],
550 .link-ftp {
551 background: url(file_icon.gif) center right no-repeat;
552 padding: 0 18px;
553 }
554 #bodyContent a[href ^="irc://"],
555 #bodyContent a.extiw[href ^="irc://"],
556 .link-irc {
557 background: url(discussionitem_icon.gif) center right no-repeat;
558 padding: 0 18px;
559 }
560 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
561 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
562 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
563 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
564 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
565 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
566 .link-audio {
567 background: url("audio.png") center right no-repeat;
568 padding: 0 13px;
569 }
570 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
571 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
572 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
573 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
574 .link-video {
575 background: url("video.png") center right no-repeat;
576 padding: 0 13px;
577 }
578 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
579 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
580 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
581 .link-document {
582 background: url("document.png") center right no-repeat;
583 padding: 0 12px;
584 }
585
586 /* for rtl wikis */
587 .rtl #bodyContent a.external {
588 background-position: left;
589 padding-right: 0;
590 }
591 .rtl a.feedlink {
592 background-position: right;
593 padding-right: 16px;
594 padding-left: 0;
595 }
596
597 /* correction for ltr wikis */
598 .ltr #bodyContent a.external {
599 padding-left: 0;
600 }
601
602 /* disable interwiki styling */
603 #bodyContent a.extiw,
604 #bodyContent a.extiw:active {
605 color: #36b;
606 background: none;
607 padding: 0;
608 }
609 #bodyContent a.external {
610 color: #36b;
611 }
612 /* this can be used in the content area to switch off
613 special external link styling */
614 #bodyContent .plainlinks a {
615 background: none !important;
616 padding: 0 !important;
617 }
618 /*
619 ** Structural Elements
620 */
621
622 /*
623 ** general portlet styles (elements in the quickbar)
624 */
625 .portlet {
626 border: none;
627 margin: 0 0 .5em;
628 padding: 0;
629 float: none;
630 width: 11.6em;
631 overflow: hidden;
632 }
633 .portlet h4 {
634 font-size: 95%;
635 font-weight: normal;
636 white-space: nowrap;
637 }
638 .portlet h5 {
639 background: transparent;
640 padding: 0 1em 0 .5em;
641 display: inline;
642 height: 1em;
643 text-transform: lowercase;
644 font-size: 91%;
645 font-weight: normal;
646 white-space: nowrap;
647 }
648 .portlet h6 {
649 background: #ffae2e;
650 border: 1px solid #2f6fab;
651 border-style: solid solid none solid;
652 padding: 0 1em 0 1em;
653 text-transform: lowercase;
654 display: block;
655 font-size: 1em;
656 height: 1.2em;
657 font-weight: normal;
658 white-space: nowrap;
659 }
660 .pBody {
661 font-size: 95%;
662 background-color: white;
663 color: black;
664 border-collapse: collapse;
665 border: 1px solid #aaa;
666 padding: 0 .8em .3em .5em;
667 }
668 .portlet h1,
669 .portlet h2,
670 .portlet h3,
671 .portlet h4 {
672 margin: 0;
673 padding: 0;
674 }
675 .portlet ul {
676 line-height: 1.5em;
677 list-style-type: square;
678 list-style-image: url(bullet.gif);
679 font-size: 95%;
680 }
681 .portlet li {
682 padding: 0;
683 margin: 0;
684 }
685
686 /*
687 ** Logo properties
688 */
689
690 #p-logo {
691 top: 0;
692 left: 0;
693 position: absolute; /*needed to use z-index */
694 z-index: 3;
695 height: 155px;
696 width: 12em;
697 overflow: visible;
698 }
699 #p-logo h5 {
700 display: none;
701 }
702 #p-logo a,
703 #p-logo a:hover {
704 display: block;
705 height: 155px;
706 width: 12.2em;
707 background-repeat: no-repeat;
708 background-position: 35% 50% !important;
709 text-decoration: none;
710 }
711
712 /*
713 ** Search portlet
714 */
715 #p-search {
716 position: relative;
717 z-index: 3;
718 }
719 input.searchButton {
720 margin-top: 1px;
721 font-size: 95%;
722 }
723 #searchGoButton {
724 padding-left: .5em;
725 padding-right: .5em;
726 font-weight: bold;
727 }
728 #searchInput {
729 width: 10.9em;
730 margin: 0;
731 font-size: 95%;
732 }
733 #p-search .pBody {
734 padding: .5em .4em .4em .4em;
735 text-align: center;
736 }
737 #p-search #searchform div div {
738 margin-top: .4em;
739 font-size: 95%;
740 }
741 /*
742 ** the personal toolbar
743 */
744 #p-personal {
745 position: absolute;
746 left: 0;
747 top: 0;
748 z-index: 0;
749 }
750 #p-personal {
751 width: 100%;
752 white-space: nowrap;
753 padding: 0;
754 margin: 0;
755 border: none;
756 background: none;
757 overflow: visible;
758 line-height: 1.2em;
759 }
760 #p-personal h5 {
761 display: none;
762 }
763 #p-personal .portlet,
764 #p-personal .pBody {
765 z-index: 0;
766 padding: 0;
767 margin: 0;
768 border: none;
769 overflow: visible;
770 background: none;
771 }
772 /* this is the ul contained in the portlet */
773 #p-personal ul {
774 border: none;
775 line-height: 1.4em;
776 color: #2f6fab;
777 padding: 0 2em 0 3em;
778 margin: 0;
779 text-align: right;
780 list-style: none;
781 z-index: 0;
782 background: none;
783 cursor: default;
784 }
785 #p-personal li {
786 z-index: 0;
787 border: none;
788 padding: 0;
789 display: inline;
790 color: #2f6fab;
791 margin-left: 1em;
792 line-height: 1.2em;
793 background: none;
794 }
795 #p-personal li a {
796 text-decoration: none;
797 color: #005896;
798 padding-bottom: .2em;
799 background: none;
800 }
801 #p-personal li a:hover {
802 background-color: white;
803 padding-bottom: .2em;
804 text-decoration: none;
805 }
806 #p-personal li.active a:hover {
807 background-color: transparent;
808 }
809 /* the icon in front of the user name, single quotes
810 in bg url to hide it from iemac */
811 li#pt-userpage,
812 li#pt-anonuserpage,
813 li#pt-login {
814 background: url(user.gif) top left no-repeat;
815 padding-left: 20px;
816 text-transform: none;
817 }
818 #p-personal ul {
819 text-transform: lowercase;
820 }
821 #p-personal li.active {
822 font-weight: bold;
823 }
824 /*
825 ** the page-related actions- page/talk, edit etc
826 */
827 #p-cactions {
828 position: absolute;
829 top: 1.3em;
830 left: 11.5em;
831 margin: 0;
832 white-space: nowrap;
833 width: 76%;
834 line-height: 1.1em;
835 overflow: visible;
836 background: none;
837 border-collapse: collapse;
838 padding-left: 1em;
839 list-style: none;
840 font-size: 95%;
841 }
842 #p-cactions ul {
843 list-style: none;
844 }
845 #p-cactions li {
846 display: inline;
847 border: 1px solid #aaa;
848 border-bottom: none;
849 padding: 0 0 .1em 0;
850 margin: 0 .3em 0 0;
851 overflow: visible;
852 background: white;
853 }
854 #p-cactions li.selected {
855 border-color: #fabd23;
856 padding: 0 0 .2em 0;
857 font-weight: bold;
858 }
859 #p-cactions li a {
860 background-color: #fbfbfb;
861 color: #002bb8;
862 border: none;
863 padding: 0 .8em .3em;
864 position: relative;
865 z-index: 0;
866 margin: 0;
867 text-decoration: none;
868 }
869 #p-cactions li.selected a {
870 z-index: 3;
871 padding: 0 1em .2em!important;
872 background-color: white;
873 }
874 #p-cactions .new a {
875 color: #ba0000;
876 }
877 #p-cactions li a:hover {
878 z-index: 3;
879 text-decoration: none;
880 background-color: white;
881 }
882 #p-cactions h5 {
883 display: none;
884 }
885 #p-cactions li.istalk {
886 margin-right: 0;
887 }
888 #p-cactions li.istalk a {
889 padding-right: .5em;
890 }
891 #p-cactions #ca-addsection a {
892 padding-left: .4em;
893 padding-right: .4em;
894 }
895 /* offsets to distinguish the tab groups */
896 li#ca-talk {
897 margin-right: 1.6em;
898 }
899 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
900 margin-left: 1.6em;
901 }
902 #p-cactions .pBody {
903 font-size: 1em;
904 background-color: transparent;
905 color: inherit;
906 border-collapse: inherit;
907 border: 0;
908 padding: 0;
909 }
910 #p-cactions .hiddenStructure {
911 display: none;
912 }
913 #p-cactions li a {
914 text-transform: lowercase;
915 }
916
917 #p-lang {
918 position: relative;
919 z-index: 3;
920 }
921
922 /* TODO: #t-iscite is only used by the Cite extension, come up with some
923 * system which allows extensions to add to this file on the fly
924 */
925 #t-ispermalink, #t-iscite {
926 color: #999;
927 }
928 /*
929 ** footer
930 */
931 #footer {
932 background-color: white;
933 border-top: 1px solid #fabd23;
934 border-bottom: 1px solid #fabd23;
935 margin: .6em 0 1em 0;
936 padding: .4em 0 1.2em 0;
937 text-align: center;
938 font-size: 90%;
939 }
940 #footer li {
941 display: inline;
942 margin: 0 1.3em;
943 }
944 #f-poweredbyico, #f-copyrightico {
945 margin: 0 8px;
946 position: relative;
947 top: -2px; /* Bump it up just a tad */
948 }
949 #f-poweredbyico {
950 float: right;
951 height: 1%;
952 }
953 #f-copyrightico {
954 float: left;
955 height: 1%;
956 }
957
958 /* js pref toc */
959 #preftoc {
960 margin: 0;
961 padding: 0;
962 width: 100%;
963 clear: both;
964 }
965 #preftoc li {
966 background-color: #f0f0f0;
967 color: #000;
968 }
969 #preftoc li {
970 margin: 1px -2px 1px 2px;
971 float: left;
972 padding: 2px 0 3px 0;
973 border: 1px solid #fff;
974 border-right-color: #716f64;
975 border-bottom: 0;
976 position: relative;
977 white-space: nowrap;
978 list-style-type: none;
979 list-style-image: none;
980 z-index: 3;
981 }
982 #preftoc li.selected {
983 font-weight: bold;
984 background-color: #f9f9f9;
985 border: 1px solid #aaa;
986 border-bottom: none;
987 cursor: default;
988 top: 1px;
989 padding-top: 2px;
990 margin-right: -3px;
991 }
992 #preftoc > li.selected {
993 top: 2px;
994 }
995 #preftoc a,
996 #preftoc a:active {
997 display: block;
998 color: #000;
999 padding: 0 .7em;
1000 position: relative;
1001 text-decoration: none;
1002 }
1003 #preftoc li.selected a {
1004 cursor: default;
1005 text-decoration: none;
1006 }
1007 #prefcontrol {
1008 padding-top: 2em;
1009 clear: both;
1010 }
1011 #preferences {
1012 margin: 0;
1013 border: 1px solid #aaa;
1014 clear: both;
1015 padding: 1.5em;
1016 background-color: #F9F9F9;
1017 }
1018 .prefsection {
1019 border: none;
1020 padding: 0;
1021 margin: 0;
1022 }
1023 .prefsection fieldset {
1024 border: 1px solid #aaa;
1025 float: left;
1026 margin-right: 2em;
1027 }
1028 .prefsection legend {
1029 font-weight: bold;
1030 }
1031 .prefsection table, .prefsection legend {
1032 background-color: #F9F9F9;
1033 }
1034 .mainLegend {
1035 display: none;
1036 }
1037 div.prefsectiontip {
1038 font-size: x-small;
1039 padding: .2em 2em;
1040 color: #666;
1041 }
1042 .btnSavePrefs {
1043 font-weight: bold;
1044 padding-left: .3em;
1045 padding-right: .3em;
1046 }
1047
1048 .preferences-login {
1049 clear: both;
1050 margin-bottom: 1.5em;
1051 }
1052
1053 .prefcache {
1054 font-size: 90%;
1055 margin-top: 2em;
1056 }
1057
1058 div#userloginForm form,
1059 div#userlogin form#userlogin2 {
1060 margin: 0 3em 1em 0;
1061 border: 1px solid #aaa;
1062 clear: both;
1063 padding: 1.5em 2em;
1064 background-color: #f9f9f9;
1065 float: left;
1066 }
1067 .rtl div#userloginForm form,
1068 .rtl div#userlogin form#userlogin2 {
1069 float: right;
1070 }
1071
1072 div#userloginForm table,
1073 div#userlogin form#userlogin2 table {
1074 background-color: #f9f9f9;
1075 }
1076
1077 div#userloginForm h2,
1078 div#userlogin form#userlogin2 h2 {
1079 padding-top: 0;
1080 }
1081
1082 div#userlogin .captcha,
1083 div#userloginForm .captcha {
1084 border: 1px solid #bbb;
1085 padding: 1.5em 2em;
1086 background-color: white;
1087 }
1088
1089 #loginend, #signupend {
1090 clear: both;
1091 }
1092
1093 #userloginprompt, #languagelinks {
1094 font-size: 85%;
1095 }
1096
1097 #login-sectiontip {
1098 font-size: 85%;
1099 line-height: 1.2;
1100 padding-top: 2em;
1101 }
1102
1103 #userlogin .loginText, #userlogin .loginPassword {
1104 width: 12em;
1105 }
1106
1107 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1108 font-weight: bold;
1109 }
1110
1111 /*
1112 ** IE/Mac fixes, hope to find a validating way to move this
1113 ** to a separate stylesheet. This would work but doesn't validate:
1114 ** @import("IEMacFixes.css");
1115 */
1116 /* tabs: border on the a, not the div */
1117 * > html #p-cactions li { border: none; }
1118 * > html #p-cactions li a {
1119 border: 1px solid #aaa;
1120 border-bottom: none;
1121 }
1122 * > html #p-cactions li.selected a { border-color: #fabd23; }
1123 /* footer icons need a fixed width */
1124 * > html #f-poweredbyico,
1125 * > html #f-copyrightico { width: 88px; }
1126 * > html #bodyContent,
1127 * > html #bodyContent pre {
1128 overflow-x: auto;
1129 width: 100%;
1130 padding-bottom: 25px;
1131 }
1132
1133 /* more IE fixes */
1134 /* float/negative margin brokenness */
1135 * html #footer {margin-top: 0;}
1136 * html #column-content {
1137 display: inline;
1138 margin-bottom: 0;
1139 }
1140 * html div.editsection { font-size: smaller; }
1141 #pagehistory li.selected { position: relative; }
1142
1143 /* Mac IE 5.0 fix; floated content turns invisible */
1144 * > html #column-content {
1145 float: none;
1146 }
1147 * > html #column-one {
1148 position: absolute;
1149 left: 0;
1150 top: 0;
1151 }
1152 * > html #footer {
1153 margin-left: 13.2em;
1154 }
1155 .redirectText {
1156 font-size: 150%;
1157 margin: 5px;
1158 }
1159
1160 .printfooter {
1161 display: none;
1162 }
1163
1164 .not-patrolled {
1165 background-color: #ffa;
1166 }
1167 div.patrollink {
1168 clear: both;
1169 font-size: 75%;
1170 text-align: right;
1171 }
1172 span.newpage, span.minor, span.bot {
1173 font-weight: bold;
1174 }
1175 span.unpatrolled {
1176 font-weight: bold;
1177 color: red;
1178 }
1179
1180 .sharedUploadNotice {
1181 font-style: italic;
1182 }
1183
1184 span.updatedmarker {
1185 color: black;
1186 background-color: #0f0;
1187 }
1188
1189 table.gallery {
1190 border: 1px solid #ccc;
1191 margin: 2px;
1192 padding: 2px;
1193 background-color: white;
1194 }
1195
1196 table.gallery tr {
1197 vertical-align: top;
1198 }
1199
1200 table.gallery td {
1201 vertical-align: top;
1202 background-color: #f9f9f9;
1203 border: solid 2px white;
1204 }
1205 /* Keep this temporarily so that cached pages will display right */
1206 table.gallery td.galleryheader {
1207 text-align: center;
1208 font-weight: bold;
1209 }
1210 table.gallery caption {
1211 font-weight: bold;
1212 }
1213
1214 div.gallerybox {
1215 margin: 2px;
1216 }
1217
1218 div.gallerybox div.thumb {
1219 text-align: center;
1220 border: 1px solid #ccc;
1221 margin: 2px;
1222 }
1223
1224 div.gallerytext {
1225 overflow: hidden;
1226 font-size: 94%;
1227 padding: 2px 4px;
1228 }
1229
1230 span.comment {
1231 font-style: italic;
1232 }
1233
1234 span.changedby {
1235 font-size: 95%;
1236 }
1237
1238 .previewnote {
1239 text-indent: 3em;
1240 color: #c00;
1241 border-bottom: 1px solid #aaa;
1242 padding-bottom: 1em;
1243 margin-bottom: 1em;
1244 }
1245
1246 .previewnote p {
1247 margin: 0;
1248 padding: 0;
1249 }
1250
1251 .editExternally {
1252 border: 1px solid gray;
1253 background-color: #ffffff;
1254 padding: 3px;
1255 margin-top: 0.5em;
1256 float: left;
1257 font-size: small;
1258 text-align: center;
1259 }
1260 .editExternallyHelp {
1261 font-style: italic;
1262 color: gray;
1263 }
1264
1265 .toggle {
1266 margin-left: 2em;
1267 text-indent: -2em;
1268 }
1269
1270 /* Classes for EXIF data display */
1271 table.mw_metadata {
1272 font-size: 0.8em;
1273 margin-left: 0.5em;
1274 margin-bottom: 0.5em;
1275 width: 300px;
1276 }
1277
1278 table.mw_metadata caption {
1279 font-weight: bold;
1280 }
1281
1282 table.mw_metadata th {
1283 font-weight: normal;
1284 }
1285
1286 table.mw_metadata td {
1287 padding: 0.1em;
1288 }
1289
1290 table.mw_metadata {
1291 border: none;
1292 border-collapse: collapse;
1293 }
1294
1295 table.mw_metadata td, table.mw_metadata th {
1296 text-align: center;
1297 border: 1px solid #aaaaaa;
1298 padding-left: 0.1em;
1299 padding-right: 0.1em;
1300 }
1301
1302 table.mw_metadata th {
1303 background-color: #f9f9f9;
1304 }
1305
1306 table.mw_metadata td {
1307 background-color: #fcfcfc;
1308 }
1309
1310 table.collapsed tr.collapsable {
1311 display: none;
1312 }
1313
1314
1315 /* filetoc */
1316 ul#filetoc {
1317 text-align: center;
1318 border: 1px solid #aaaaaa;
1319 background-color: #f9f9f9;
1320 padding: 5px;
1321 font-size: 95%;
1322 margin-bottom: 0.5em;
1323 margin-left: 0;
1324 margin-right: 0;
1325 }
1326
1327 #filetoc li {
1328 display: inline;
1329 list-style-type: none;
1330 padding-right: 2em;
1331 }
1332
1333 input#wpSummary {
1334 width: 80%;
1335 }
1336
1337 /* @bug 1714 */
1338 input#wpSave, input#wpDiff {
1339 margin-right: 0.33em;
1340 }
1341
1342 #wpSave {
1343 font-weight: bold;
1344 }
1345
1346 /* Classes for article validation */
1347
1348 table.revisionform_default {
1349 border: 1px solid #000000;
1350 }
1351
1352 table.revisionform_focus {
1353 border: 1px solid #000000;
1354 background-color:#00BBFF;
1355 }
1356
1357 tr.revision_tr_default {
1358 background-color:#EEEEEE;
1359 }
1360
1361 tr.revision_tr_first {
1362 background-color:#DDDDDD;
1363 }
1364
1365 p.revision_saved {
1366 color: green;
1367 font-weight:bold;
1368 }
1369
1370 #mw_trackbacks {
1371 border: solid 1px #bbbbff;
1372 background-color: #eeeeff;
1373 padding: 0.2em;
1374 }
1375
1376
1377 /* Allmessages table */
1378
1379 #allmessagestable th {
1380 background-color: #b2b2ff;
1381 }
1382
1383 #allmessagestable tr.orig {
1384 background-color: #ffe2e2;
1385 }
1386
1387 #allmessagestable tr.new {
1388 background-color: #e2ffe2;
1389 }
1390
1391 #allmessagestable tr.def {
1392 background-color: #f0f0ff;
1393 }
1394
1395
1396 /* noarticletext */
1397 div.noarticletext {
1398 border: 1px solid #ccc;
1399 background: #fff;
1400 padding: .2em 1em;
1401 color: #000;
1402 }
1403
1404 div#searchTargetContainer {
1405 left: 10px;
1406 top: 10px;
1407 width: 90%;
1408 background: white;
1409 }
1410
1411 div#searchTarget {
1412 padding: 3px;
1413 margin: 5px;
1414 background: #F0F0F0;
1415 border: solid 1px blue;
1416 }
1417
1418 div#searchTarget ul li {
1419 list-style: none;
1420 }
1421
1422 div#searchTarget ul li:before {
1423 color: orange;
1424 content: "\00BB \0020";
1425 }
1426
1427 div#searchTargetHide {
1428 float:right;
1429 border:solid 1px black;
1430 background:#DCDCDC;
1431 padding:2px;
1432 }
1433
1434 #powersearch p {
1435 margin-top:0px;
1436 }
1437
1438 div.multipageimagenavbox {
1439 border: solid 1px silver;
1440 padding: 4px;
1441 margin: 1em;
1442 background: #f0f0f0;
1443 }
1444
1445 div.multipageimagenavbox div.thumb {
1446 border: none;
1447 margin-left: 2em;
1448 margin-right: 2em;
1449 }
1450
1451 div.multipageimagenavbox hr {
1452 margin: 6px;
1453 }
1454
1455 table.multipageimage td {
1456 text-align: center;
1457 }
1458
1459 /** Special:Version */
1460
1461 table#sv-ext, table#sv-hooks, table#sv-software {
1462 margin: 1em;
1463 padding:0em;
1464 }
1465
1466 #sv-ext td, #sv-hooks td, #sv-software td,
1467 #sv-ext th, #sv-hooks th, #sv-software th {
1468 border: 1px solid #A0A0A0;
1469 padding: 0 0.15em 0 0.15em;
1470 }
1471 #sv-ext th, #sv-hooks th, #sv-software th {
1472 background-color: #F0F0F0;
1473 color: black;
1474 padding: 0 0.15em 0 0.15em;
1475 }
1476 tr.sv-space{
1477 height: 0.8em;
1478 border:none;
1479 }
1480 tr.sv-space td { display: none; }
1481
1482 /*
1483 Table pager (e.g. Special:Imagelist)
1484 - remove underlines from the navigation link
1485 - collapse borders
1486 - set the borders to outsets (similar to Special:Allmessages)
1487 - remove line wrapping for all td and th, set background color
1488 - restore line wrapping for the last two table cells (description and size)
1489 */
1490 .TablePager { min-width: 80%; }
1491 .TablePager_nav a { text-decoration: none; }
1492 .TablePager { border-collapse: collapse; }
1493 .TablePager, .TablePager td, .TablePager th {
1494 border: 1px solid #aaaaaa;
1495 padding: 0 0.15em 0 0.15em;
1496 }
1497 .TablePager th { background-color: #eeeeff }
1498 .TablePager td { background-color: #ffffff }
1499 .TablePager tr:hover td { background-color: #eeeeff }
1500
1501 .imagelist td, .imagelist th { white-space: nowrap }
1502 .imagelist .TablePager_col_links { background-color: #eeeeff }
1503 .imagelist .TablePager_col_img_description { white-space: normal }
1504 .imagelist th.TablePager_sort { background-color: #ccccff }
1505
1506 .templatesUsed { margin-top: 1.5em; }
1507
1508 .mw-summary-preview {
1509 margin: 0.1em 0;
1510 }
1511
1512 /* Friendlier slave lag warnings */
1513 div.mw-lag-warn-normal,
1514 div.mw-lag-warn-high {
1515 padding: 3px;
1516 text-align: center;
1517 margin: 3px auto;
1518 }
1519 div.mw-lag-warn-normal {
1520 border: 1px solid #FFCC66;
1521 background-color: #FFFFCC;
1522 }
1523 div.mw-lag-warn-high {
1524 font-weight: bold;
1525 border: 2px solid #FF0033;
1526 background-color: #FFCCCC;
1527 }
1528
1529 .MediaTransformError {
1530 background-color: #ccc;
1531 padding: 0.1em;
1532 }
1533 .MediaTransformError td {
1534 text-align: center;
1535 vertical-align: middle;
1536 font-size: 90%;
1537 }
1538
1539 /** Special:Search stuff */
1540 div#mw-search-interwiki-caption {
1541 text-align: center;
1542 font-weight: bold;
1543 font-size: 95%;
1544 }
1545
1546 .mw-search-interwiki-project {
1547 font-size: 97%;
1548 text-align: left;
1549 padding-left: 0.2em;
1550 padding-right: 0.15em;
1551 padding-bottom: 0.2em;
1552 padding-top: 0.15em;
1553 background: #cae8ff;
1554 }
1555
1556 /* God-damned hack for the crappy layout */
1557 .os-suggest {
1558 font-size: 127%;
1559 }