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