* Per Nikerabbits suggestion: Move vertical-align into CSS
[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 div.townBox {
514 position: relative;
515 float: right;
516 background: white;
517 margin-left: 1em;
518 border: 1px solid gray;
519 padding: .3em;
520 width: 200px;
521 overflow: hidden;
522 clear: right;
523 }
524 div.townBox dl {
525 padding: 0;
526 margin: 0 0 .3em;
527 font-size: 96%;
528 }
529 div.townBox dl dt {
530 background: none;
531 margin: .4em 0 0;
532 }
533 div.townBox dl dd {
534 margin: .1em 0 0 1.1em;
535 background-color: #f3f3f3;
536 }
537
538 /*
539 ** edit views etc
540 */
541 .special li {
542 line-height: 1.4em;
543 margin: 0;
544 padding: 0;
545 }
546
547 /*
548 ** keep the whitespace in front of the ^=, hides rule from konqueror
549 ** this is css3, the validator doesn't like it when validating as css2
550 */
551 #bodyContent a.external,
552 #bodyContent a[href ^="gopher://"] {
553 background: url(external.png) center right no-repeat;
554 padding-right: 13px;
555 }
556 #bodyContent a[href ^="https://"],
557 .link-https {
558 background: url(lock_icon.gif) center right no-repeat;
559 padding-right: 16px;
560 }
561 #bodyContent a[href ^="mailto:"],
562 .link-mailto {
563 background: url(mail_icon.gif) center right no-repeat;
564 padding-right: 18px;
565 }
566 #bodyContent a[href ^="news://"] {
567 background: url(news_icon.png) center right no-repeat;
568 padding-right: 18px;
569 }
570 #bodyContent a[href ^="ftp://"],
571 .link-ftp {
572 background: url(file_icon.gif) center right no-repeat;
573 padding-right: 18px;
574 }
575 #bodyContent a[href ^="irc://"],
576 #bodyContent a.extiw[href ^="irc://"],
577 .link-irc {
578 background: url(discussionitem_icon.gif) center right no-repeat;
579 padding-right: 18px;
580 }
581 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
582 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
583 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
584 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
585 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
586 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
587 .link-audio {
588 background: url("audio.png") center right no-repeat;
589 padding-right: 13px;
590 }
591 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
592 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
593 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
594 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
595 .link-video {
596 background: url("video.png") center right no-repeat;
597 padding-right: 13px;
598 }
599 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
600 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
601 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
602 .link-document {
603 background: url("document.png") center right no-repeat;
604 padding-right: 12px;
605 }
606
607 /* disable interwiki styling */
608 #bodyContent a.extiw,
609 #bodyContent a.extiw:active {
610 color: #36b;
611 background: none;
612 padding: 0;
613 }
614 #bodyContent a.external {
615 color: #36b;
616 }
617 /* this can be used in the content area to switch off
618 special external link styling */
619 #bodyContent .plainlinks a {
620 background: none !important;
621 padding: 0 !important;
622 }
623 /*
624 ** Structural Elements
625 */
626
627 /*
628 ** general portlet styles (elements in the quickbar)
629 */
630 .portlet {
631 border: none;
632 margin: 0 0 .5em;
633 padding: 0;
634 float: none;
635 width: 11.6em;
636 overflow: hidden;
637 }
638 .portlet h4 {
639 font-size: 95%;
640 font-weight: normal;
641 white-space: nowrap;
642 }
643 .portlet h5 {
644 background: transparent;
645 padding: 0 1em 0 .5em;
646 display: inline;
647 height: 1em;
648 text-transform: lowercase;
649 font-size: 91%;
650 font-weight: normal;
651 white-space: nowrap;
652 }
653 .portlet h6 {
654 background: #ffae2e;
655 border: 1px solid #2f6fab;
656 border-style: solid solid none solid;
657 padding: 0 1em 0 1em;
658 text-transform: lowercase;
659 display: block;
660 font-size: 1em;
661 height: 1.2em;
662 font-weight: normal;
663 white-space: nowrap;
664 }
665 .pBody {
666 font-size: 95%;
667 background-color: white;
668 color: black;
669 border-collapse: collapse;
670 border: 1px solid #aaa;
671 padding: 0 .8em .3em .5em;
672 }
673 .portlet h1,
674 .portlet h2,
675 .portlet h3,
676 .portlet h4 {
677 margin: 0;
678 padding: 0;
679 }
680 .portlet ul {
681 line-height: 1.5em;
682 list-style-type: square;
683 list-style-image: url(bullet.gif);
684 font-size: 95%;
685 }
686 .portlet li {
687 padding: 0;
688 margin: 0;
689 }
690
691 /*
692 ** Logo properties
693 */
694
695 #p-logo {
696 top: 0;
697 left: 0;
698 position: absolute; /*needed to use z-index */
699 z-index: 3;
700 height: 155px;
701 width: 12em;
702 overflow: visible;
703 }
704 #p-logo h5 {
705 display: none;
706 }
707 #p-logo a,
708 #p-logo a:hover {
709 display: block;
710 height: 155px;
711 width: 12.2em;
712 background-repeat: no-repeat;
713 background-position: 35% 50% !important;
714 text-decoration: none;
715 }
716
717 /*
718 ** Search portlet
719 */
720 #p-search {
721 position: relative;
722 z-index: 3;
723 }
724 input.searchButton {
725 margin-top: 1px;
726 font-size: 95%;
727 }
728 #searchGoButton {
729 padding-left: .5em;
730 padding-right: .5em;
731 font-weight: bold;
732 }
733 #searchInput {
734 width: 10.9em;
735 margin: 0;
736 font-size: 95%;
737 }
738 #p-search .pBody {
739 padding: .5em .4em .4em .4em;
740 text-align: center;
741 }
742
743 /*
744 ** the personal toolbar
745 */
746 #p-personal {
747 position: absolute;
748 left: 0;
749 top: 0;
750 z-index: 0;
751 }
752 #p-personal {
753 width: 100%;
754 white-space: nowrap;
755 padding: 0;
756 margin: 0;
757 border: none;
758 background: none;
759 overflow: visible;
760 line-height: 1.2em;
761 }
762 #p-personal h5 {
763 display: none;
764 }
765 #p-personal .portlet,
766 #p-personal .pBody {
767 z-index: 0;
768 padding: 0;
769 margin: 0;
770 border: none;
771 overflow: visible;
772 background: none;
773 }
774 /* this is the ul contained in the portlet */
775 #p-personal ul {
776 border: none;
777 line-height: 1.4em;
778 color: #2f6fab;
779 padding: 0 2em 0 3em;
780 margin: 0;
781 text-align: right;
782 list-style: none;
783 z-index: 0;
784 background: none;
785 cursor: default;
786 }
787 #p-personal li {
788 z-index: 0;
789 border: none;
790 padding: 0;
791 display: inline;
792 color: #2f6fab;
793 margin-left: 1em;
794 line-height: 1.2em;
795 background: none;
796 }
797 #p-personal li a {
798 text-decoration: none;
799 color: #005896;
800 padding-bottom: .2em;
801 background: none;
802 }
803 #p-personal li a:hover {
804 background-color: white;
805 padding-bottom: .2em;
806 text-decoration: none;
807 }
808 #p-personal li.active a:hover {
809 background-color: transparent;
810 }
811 /* the icon in front of the user name, single quotes
812 in bg url to hide it from iemac */
813 li#pt-userpage,
814 li#pt-anonuserpage,
815 li#pt-login {
816 background: url(user.gif) top left no-repeat;
817 padding-left: 20px;
818 text-transform: none;
819 }
820 #p-personal ul {
821 text-transform: lowercase;
822 }
823 #p-personal li.active {
824 font-weight: bold;
825 }
826 /*
827 ** the page-related actions- page/talk, edit etc
828 */
829 #p-cactions {
830 position: absolute;
831 top: 1.3em;
832 left: 11.5em;
833 margin: 0;
834 white-space: nowrap;
835 width: 76%;
836 line-height: 1.1em;
837 overflow: visible;
838 background: none;
839 border-collapse: collapse;
840 padding-left: 1em;
841 list-style: none;
842 font-size: 95%;
843 }
844 #p-cactions ul {
845 list-style: none;
846 }
847 #p-cactions li {
848 display: inline;
849 border: 1px solid #aaa;
850 border-bottom: none;
851 padding: 0 0 .1em 0;
852 margin: 0 .3em 0 0;
853 overflow: visible;
854 background: white;
855 }
856 #p-cactions li.selected {
857 border-color: #fabd23;
858 padding: 0 0 .2em 0;
859 font-weight: bold;
860 }
861 #p-cactions li a {
862 background-color: #fbfbfb;
863 color: #002bb8;
864 border: none;
865 padding: 0 .8em .3em;
866 position: relative;
867 z-index: 0;
868 margin: 0;
869 text-decoration: none;
870 }
871 #p-cactions li.selected a {
872 z-index: 3;
873 padding: 0 1em .2em!important;
874 background-color: white;
875 }
876 #p-cactions .new a {
877 color: #ba0000;
878 }
879 #p-cactions li a:hover {
880 z-index: 3;
881 text-decoration: none;
882 background-color: white;
883 }
884 #p-cactions h5 {
885 display: none;
886 }
887 #p-cactions li.istalk {
888 margin-right: 0;
889 }
890 #p-cactions li.istalk a {
891 padding-right: .5em;
892 }
893 #p-cactions #ca-addsection a {
894 padding-left: .4em;
895 padding-right: .4em;
896 }
897 /* offsets to distinguish the tab groups */
898 li#ca-talk {
899 margin-right: 1.6em;
900 }
901 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
902 margin-left: 1.6em;
903 }
904 #p-cactions .pBody {
905 font-size: 1em;
906 background-color: transparent;
907 color: inherit;
908 border-collapse: inherit;
909 border: 0;
910 padding: 0;
911 }
912 #p-cactions .hiddenStructure {
913 display: none;
914 }
915 #p-cactions li a {
916 text-transform: lowercase;
917 }
918
919 /*
920 ** the remaining portlets
921 */
922 #p-tbx,
923 #p-lang {
924 position: relative;
925 z-index: 3;
926 }
927
928 /* TODO: #t-iscite is only used by the Cite extension, come up with some
929 * system which allows extensions to add to this file on the fly
930 */
931 #t-ispermalink, #t-iscite {
932 color: #999;
933 }
934 /*
935 ** footer
936 */
937 #footer {
938 background-color: white;
939 border-top: 1px solid #fabd23;
940 border-bottom: 1px solid #fabd23;
941 margin: .6em 0 1em 0;
942 padding: .4em 0 1.2em 0;
943 text-align: center;
944 font-size: 90%;
945 }
946 #footer li {
947 display: inline;
948 margin: 0 1.3em;
949 }
950 #f-poweredbyico, #f-copyrightico {
951 margin: 0 8px;
952 position: relative;
953 top: -2px; /* Bump it up just a tad */
954 }
955 #f-poweredbyico {
956 float: right;
957 height: 1%;
958 }
959 #f-copyrightico {
960 float: left;
961 height: 1%;
962 }
963
964 /* js pref toc */
965 #preftoc {
966 margin: 0;
967 padding: 0;
968 width: 100%;
969 clear: both;
970 }
971 #preftoc li {
972 background-color: #f0f0f0;
973 color: #000;
974 }
975 #preftoc li {
976 margin: 1px -2px 1px 2px;
977 float: left;
978 padding: 2px 0 3px 0;
979 border: 1px solid #fff;
980 border-right-color: #716f64;
981 border-bottom: 0;
982 position: relative;
983 white-space: nowrap;
984 list-style-type: none;
985 list-style-image: none;
986 z-index: 3;
987 }
988 #preftoc li.selected {
989 font-weight: bold;
990 background-color: #f9f9f9;
991 border: 1px solid #aaa;
992 border-bottom: none;
993 cursor: default;
994 top: 1px;
995 padding-top: 2px;
996 margin-right: -3px;
997 }
998 #preftoc > li.selected {
999 top: 2px;
1000 }
1001 #preftoc a,
1002 #preftoc a:active {
1003 display: block;
1004 color: #000;
1005 padding: 0 .7em;
1006 position: relative;
1007 text-decoration: none;
1008 }
1009 #preftoc li.selected a {
1010 cursor: default;
1011 text-decoration: none;
1012 }
1013 #prefcontrol {
1014 padding-top: 2em;
1015 clear: both;
1016 }
1017 #preferences {
1018 margin: 0;
1019 border: 1px solid #aaa;
1020 clear: both;
1021 padding: 1.5em;
1022 background-color: #F9F9F9;
1023 }
1024 .prefsection {
1025 border: none;
1026 padding: 0;
1027 margin: 0;
1028 }
1029 .prefsection fieldset {
1030 border: 1px solid #aaa;
1031 float: left;
1032 margin-right: 2em;
1033 }
1034 .prefsection legend {
1035 font-weight: bold;
1036 }
1037 .prefsection table, .prefsection legend {
1038 background-color: #F9F9F9;
1039 }
1040 .pref-label, .pref-input {
1041 text-align: left;
1042 vertical-align: top;
1043 }
1044 .mainLegend {
1045 display: none;
1046 }
1047 div.prefsectiontip {
1048 font-size: x-small;
1049 padding: .2em 2em;
1050 color: #666;
1051 }
1052 .btnSavePrefs {
1053 font-weight: bold;
1054 padding-left: .3em;
1055 padding-right: .3em;
1056 }
1057
1058 .preferences-login {
1059 clear: both;
1060 margin-bottom: 1.5em;
1061 }
1062
1063 .prefcache {
1064 font-size: 90%;
1065 margin-top: 2em;
1066 }
1067
1068 div#userloginForm form,
1069 div#userlogin form#userlogin2 {
1070 margin: 0 3em 1em 0;
1071 border: 1px solid #aaa;
1072 clear: both;
1073 padding: 1.5em 2em;
1074 background-color: #f9f9f9;
1075 float: left;
1076 }
1077 .rtl div#userloginForm form,
1078 .rtl div#userlogin form#userlogin2 {
1079 float: right;
1080 }
1081
1082 div#userloginForm table,
1083 div#userlogin form#userlogin2 table {
1084 background-color: #f9f9f9;
1085 }
1086
1087 div#userloginForm h2,
1088 div#userlogin form#userlogin2 h2 {
1089 padding-top: 0;
1090 }
1091
1092 div#userlogin .captcha,
1093 div#userloginForm .captcha {
1094 border: 1px solid #bbb;
1095 padding: 1.5em 2em;
1096 background-color: white;
1097 }
1098
1099 #loginend, #signupend {
1100 clear: both;
1101 }
1102
1103 #userloginprompt, #languagelinks {
1104 font-size: 85%;
1105 }
1106
1107 #login-sectiontip {
1108 font-size: 85%;
1109 line-height: 1.2;
1110 padding-top: 2em;
1111 }
1112
1113 #userlogin .loginText, #userlogin .loginPassword {
1114 width: 12em;
1115 }
1116
1117 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1118 font-weight: bold;
1119 }
1120
1121 /*
1122 ** IE/Mac fixes, hope to find a validating way to move this
1123 ** to a separate stylesheet. This would work but doesn't validate:
1124 ** @import("IEMacFixes.css");
1125 */
1126 /* tabs: border on the a, not the div */
1127 * > html #p-cactions li { border: none; }
1128 * > html #p-cactions li a {
1129 border: 1px solid #aaa;
1130 border-bottom: none;
1131 }
1132 * > html #p-cactions li.selected a { border-color: #fabd23; }
1133 /* footer icons need a fixed width */
1134 * > html #f-poweredbyico,
1135 * > html #f-copyrightico { width: 88px; }
1136 * > html #bodyContent,
1137 * > html #bodyContent pre {
1138 overflow-x: auto;
1139 width: 100%;
1140 padding-bottom: 25px;
1141 }
1142
1143 /* more IE fixes */
1144 /* float/negative margin brokenness */
1145 * html #footer {margin-top: 0;}
1146 * html #column-content {
1147 display: inline;
1148 margin-bottom: 0;
1149 }
1150 * html div.editsection { font-size: smaller; }
1151 #pagehistory li.selected { position: relative; }
1152
1153 /* Mac IE 5.0 fix; floated content turns invisible */
1154 * > html #column-content {
1155 float: none;
1156 }
1157 * > html #column-one {
1158 position: absolute;
1159 left: 0;
1160 top: 0;
1161 }
1162 * > html #footer {
1163 margin-left: 13.2em;
1164 }
1165 .redirectText {
1166 font-size: 150%;
1167 margin: 5px;
1168 }
1169
1170 .printfooter {
1171 display: none;
1172 }
1173
1174 .not-patrolled {
1175 background-color: #ffa;
1176 }
1177 div.patrollink {
1178 clear: both;
1179 font-size: 75%;
1180 text-align: right;
1181 }
1182 span.newpage, span.minor, span.bot {
1183 font-weight: bold;
1184 }
1185 span.unpatrolled {
1186 font-weight: bold;
1187 color: red;
1188 }
1189
1190 .sharedUploadNotice {
1191 font-style: italic;
1192 }
1193
1194 span.updatedmarker {
1195 color: black;
1196 background-color: #0f0;
1197 }
1198
1199 table.gallery {
1200 border: 1px solid #ccc;
1201 margin: 2px;
1202 padding: 2px;
1203 background-color: white;
1204 }
1205
1206 table.gallery tr {
1207 vertical-align: top;
1208 }
1209
1210 table.gallery td {
1211 vertical-align: top;
1212 background-color: #f9f9f9;
1213 border: solid 2px white;
1214 }
1215 /* Keep this temporarily so that cached pages will display right */
1216 table.gallery td.galleryheader {
1217 text-align: center;
1218 font-weight: bold;
1219 }
1220 table.gallery caption {
1221 font-weight: bold;
1222 }
1223
1224 div.gallerybox {
1225 margin: 2px;
1226 }
1227
1228 div.gallerybox div.thumb {
1229 text-align: center;
1230 border: 1px solid #ccc;
1231 margin: 2px;
1232 }
1233
1234 div.gallerytext {
1235 overflow: hidden;
1236 font-size: 94%;
1237 padding: 2px 4px;
1238 }
1239
1240 span.comment {
1241 font-style: italic;
1242 }
1243
1244 span.changedby {
1245 font-size: 95%;
1246 }
1247
1248 .previewnote {
1249 text-indent: 3em;
1250 color: #c00;
1251 border-bottom: 1px solid #aaa;
1252 padding-bottom: 1em;
1253 margin-bottom: 1em;
1254 }
1255
1256 .previewnote p {
1257 margin: 0;
1258 padding: 0;
1259 }
1260
1261 .editExternally {
1262 border: 1px solid gray;
1263 background-color: #ffffff;
1264 padding: 3px;
1265 margin-top: 0.5em;
1266 float: left;
1267 font-size: small;
1268 text-align: center;
1269 }
1270 .editExternallyHelp {
1271 font-style: italic;
1272 color: gray;
1273 }
1274
1275 .toggle {
1276 margin-left: 2em;
1277 text-indent: -2em;
1278 }
1279
1280 /* Classes for EXIF data display */
1281 table.mw_metadata {
1282 font-size: 0.8em;
1283 margin-left: 0.5em;
1284 margin-bottom: 0.5em;
1285 width: 300px;
1286 }
1287
1288 table.mw_metadata caption {
1289 font-weight: bold;
1290 }
1291
1292 table.mw_metadata th {
1293 font-weight: normal;
1294 }
1295
1296 table.mw_metadata td {
1297 padding: 0.1em;
1298 }
1299
1300 table.mw_metadata {
1301 border: none;
1302 border-collapse: collapse;
1303 }
1304
1305 table.mw_metadata td, table.mw_metadata th {
1306 text-align: center;
1307 border: 1px solid #aaaaaa;
1308 padding-left: 0.1em;
1309 padding-right: 0.1em;
1310 }
1311
1312 table.mw_metadata th {
1313 background-color: #f9f9f9;
1314 }
1315
1316 table.mw_metadata td {
1317 background-color: #fcfcfc;
1318 }
1319
1320 table.collapsed tr.collapsable {
1321 display: none;
1322 }
1323
1324
1325 /* filetoc */
1326 ul#filetoc {
1327 text-align: center;
1328 border: 1px solid #aaaaaa;
1329 background-color: #f9f9f9;
1330 padding: 5px;
1331 font-size: 95%;
1332 margin-bottom: 0.5em;
1333 margin-left: 0;
1334 margin-right: 0;
1335 }
1336
1337 #filetoc li {
1338 display: inline;
1339 list-style-type: none;
1340 padding-right: 2em;
1341 }
1342
1343 input#wpSummary {
1344 width: 80%;
1345 }
1346
1347 /* @bug 1714 */
1348 input#wpSave, input#wpDiff {
1349 margin-right: 0.33em;
1350 }
1351
1352 #editform .editOptions {
1353 display: inline;
1354 }
1355
1356 #wpSave {
1357 font-weight: bold;
1358 }
1359
1360 /* Classes for article validation */
1361
1362 table.revisionform_default {
1363 border: 1px solid #000000;
1364 }
1365
1366 table.revisionform_focus {
1367 border: 1px solid #000000;
1368 background-color:#00BBFF;
1369 }
1370
1371 tr.revision_tr_default {
1372 background-color:#EEEEEE;
1373 }
1374
1375 tr.revision_tr_first {
1376 background-color:#DDDDDD;
1377 }
1378
1379 p.revision_saved {
1380 color: green;
1381 font-weight:bold;
1382 }
1383
1384 #mw_trackbacks {
1385 border: solid 1px #bbbbff;
1386 background-color: #eeeeff;
1387 padding: 0.2em;
1388 }
1389
1390
1391 /* Allmessages table */
1392
1393 #allmessagestable th {
1394 background-color: #b2b2ff;
1395 }
1396
1397 #allmessagestable tr.orig {
1398 background-color: #ffe2e2;
1399 }
1400
1401 #allmessagestable tr.new {
1402 background-color: #e2ffe2;
1403 }
1404
1405 #allmessagestable tr.def {
1406 background-color: #f0f0ff;
1407 }
1408
1409
1410 /* noarticletext */
1411 div.noarticletext {
1412 border: 1px solid #ccc;
1413 background: #fff;
1414 padding: .2em 1em;
1415 color: #000;
1416 }
1417
1418 div#searchTargetContainer {
1419 left: 10px;
1420 top: 10px;
1421 width: 90%;
1422 background: white;
1423 }
1424
1425 div#searchTarget {
1426 padding: 3px;
1427 margin: 5px;
1428 background: #F0F0F0;
1429 border: solid 1px blue;
1430 }
1431
1432 div#searchTarget ul li {
1433 list-style: none;
1434 }
1435
1436 div#searchTarget ul li:before {
1437 color: orange;
1438 content: "\00BB \0020";
1439 }
1440
1441 div#searchTargetHide {
1442 float:right;
1443 border:solid 1px black;
1444 background:#DCDCDC;
1445 padding:2px;
1446 }
1447
1448 div.multipageimagenavbox {
1449 border: solid 1px silver;
1450 padding: 4px;
1451 margin: 1em;
1452 background: #f0f0f0;
1453 }
1454
1455 div.multipageimagenavbox div.thumb {
1456 border: none;
1457 margin-left: 2em;
1458 margin-right: 2em;
1459 }
1460
1461 div.multipageimagenavbox hr {
1462 margin: 6px;
1463 }
1464
1465 table.multipageimage td {
1466 text-align: center;
1467 }
1468
1469 /** Special:Version */
1470
1471 table#sv-ext, table#sv-hooks, table#sv-software {
1472 margin: 1em;
1473 padding:0em;
1474 }
1475
1476 #sv-ext td, #sv-hooks td, #sv-software td,
1477 #sv-ext th, #sv-hooks th, #sv-software th {
1478 border: 1px solid #A0A0A0;
1479 padding: 0 0.15em 0 0.15em;
1480 }
1481 #sv-ext th, #sv-hooks th, #sv-software th {
1482 background-color: #F0F0F0;
1483 color: black;
1484 padding: 0 0.15em 0 0.15em;
1485 }
1486 tr.sv-space{
1487 height: 0.8em;
1488 border:none;
1489 }
1490 tr.sv-space td { display: none; }
1491
1492 /*
1493 Table pager (e.g. Special:Imagelist)
1494 - remove underlines from the navigation link
1495 - collapse borders
1496 - set the borders to outsets (similar to Special:Allmessages)
1497 - remove line wrapping for all td and th, set background color
1498 - restore line wrapping for the last two table cells (description and size)
1499 */
1500 .TablePager_nav a { text-decoration: none; }
1501 .TablePager { border-collapse: collapse; }
1502 .TablePager, .TablePager td, .TablePager th {
1503 border: 1px solid #aaaaaa;
1504 padding: 0 0.15em 0 0.15em;
1505 }
1506 .TablePager th { background-color: #eeeeff }
1507 .TablePager td { background-color: #ffffff }
1508 .TablePager tr:hover td { background-color: #eeeeff }
1509
1510 .imagelist td, .imagelist th { white-space: nowrap }
1511 .imagelist .TablePager_col_links { background-color: #eeeeff }
1512 .imagelist .TablePager_col_img_description { white-space: normal }
1513 .imagelist th.TablePager_sort { background-color: #ccccff }
1514
1515 .templatesUsed { margin-top: 1.5em; }
1516
1517 .mw-summary-preview {
1518 margin: 0.1em 0;
1519 }
1520
1521 /* Friendlier slave lag warnings */
1522 div.mw-lag-warn-normal,
1523 div.mw-lag-warn-high {
1524 padding: 3px;
1525 text-align: center;
1526 margin: 3px auto;
1527 }
1528 div.mw-lag-warn-normal {
1529 border: 1px solid #FFCC66;
1530 background-color: #FFFFCC;
1531 }
1532 div.mw-lag-warn-high {
1533 font-weight: bold;
1534 border: 2px solid #FF0033;
1535 background-color: #FFCCCC;
1536 }
1537
1538 /* Recreating-deleted-page/reupload file warning and log entries */
1539 div#mw-upload-deleted-warn,
1540 div#mw-recreate-deleted-warn {
1541 padding: 3px;
1542 margin-bottom: 3px;
1543 border: 2px solid #2F6FAB;
1544 }
1545 div#mw-upload-deleted-warn ul li,
1546 div#mw-recreate-deleted-warn ul li {
1547 font-size: 90%;
1548 }
1549 .MediaTransformError {
1550 background-color: #ccc;
1551 padding: 0.1em;
1552 }
1553 .MediaTransformError td {
1554 text-align: center;
1555 vertical-align: middle;
1556 font-size: 90%;
1557 }
1558
1559 /** Special:Search stuff */
1560 div#mw-search-interwiki-caption {
1561 text-align: center;
1562 font-weight: bold;
1563 font-size: 95%;
1564 }
1565
1566 .mw-search-interwiki-project {
1567 font-size: 97%;
1568 text-align: left;
1569 padding-left: 0.2em;
1570 padding-right: 0.15em;
1571 padding-bottom: 0.2em;
1572 padding-top: 0.15em;
1573 background: #cae8ff;
1574 }
1575
1576 span.searchmatch {
1577 font-weight: bold;
1578 color: red;
1579 }
1580
1581 /* God-damned hack for the crappy layout */
1582 .os-suggest {
1583 font-size: 127%;
1584 }