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