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