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