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