Fix #6844: Semantically correct tags for diffchanges (<ins> && <del>)
[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 /*
501 ** classes for special content elements like town boxes
502 ** intended to be referenced directly from the wiki src
503 */
504
505 /*
506 ** User styles
507 */
508 /* table standards */
509 table.rimage {
510 float: right;
511 position: relative;
512 margin-left: 1em;
513 margin-bottom: 1em;
514 text-align: center;
515 }
516 .toccolours {
517 border: 1px solid #aaa;
518 background-color: #f9f9f9;
519 padding: 5px;
520 font-size: 95%;
521 }
522 div.townBox {
523 position: relative;
524 float: right;
525 background: white;
526 margin-left: 1em;
527 border: 1px solid gray;
528 padding: .3em;
529 width: 200px;
530 overflow: hidden;
531 clear: right;
532 }
533 div.townBox dl {
534 padding: 0;
535 margin: 0 0 .3em;
536 font-size: 96%;
537 }
538 div.townBox dl dt {
539 background: none;
540 margin: .4em 0 0;
541 }
542 div.townBox dl dd {
543 margin: .1em 0 0 1.1em;
544 background-color: #f3f3f3;
545 }
546
547 /*
548 ** edit views etc
549 */
550 .special li {
551 line-height: 1.4em;
552 margin: 0;
553 padding: 0;
554 }
555
556 /* Page history styling */
557 /* the auto-generated edit comments */
558 .autocomment {
559 color: gray;
560 }
561 #pagehistory span.user {
562 margin-left: 1.4em;
563 margin-right: .4em;
564 }
565 #pagehistory span.minor {
566 font-weight: bold;
567 }
568 #pagehistory li {
569 border: 1px solid white;
570 }
571 #pagehistory li.selected {
572 background-color: #f9f9f9;
573 border: 1px dashed #aaa;
574 }
575
576 /*
577 ** Diff rendering
578 */
579 table.diff, td.diff-otitle, td.diff-ntitle {
580 background-color: white;
581 }
582 td.diff-addedline {
583 background: #cfc;
584 font-size: smaller;
585 }
586 td.diff-deletedline {
587 background: #ffa;
588 font-size: smaller;
589 }
590 td.diff-context {
591 background: #eee;
592 font-size: smaller;
593 }
594 ins.diffchange {
595 color: red;
596 font-weight: bold;
597 text-decoration: none;
598 }
599 del.diffchange {
600 color: red;
601 font-weight: bold;
602 text-decoration: none;
603 }
604
605 /*
606 ** keep the whitespace in front of the ^=, hides rule from konqueror
607 ** this is css3, the validator doesn't like it when validating as css2
608 */
609 #bodyContent a.external,
610 #bodyContent a[href ^="gopher://"] {
611 background: url(external.png) center right no-repeat;
612 padding-right: 13px;
613 }
614 #bodyContent a[href ^="https://"],
615 .link-https {
616 background: url(lock_icon.gif) center right no-repeat;
617 padding-right: 16px;
618 }
619 #bodyContent a[href ^="mailto:"],
620 .link-mailto {
621 background: url(mail_icon.gif) center right no-repeat;
622 padding-right: 18px;
623 }
624 #bodyContent a[href ^="news://"] {
625 background: url(news_icon.png) center right no-repeat;
626 padding-right: 18px;
627 }
628 #bodyContent a[href ^="ftp://"],
629 .link-ftp {
630 background: url(file_icon.gif) center right no-repeat;
631 padding-right: 18px;
632 }
633 #bodyContent a[href ^="irc://"],
634 .link-irc {
635 background: url(discussionitem_icon.gif) center right no-repeat;
636 padding-right: 18px;
637 }
638 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
639 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
640 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
641 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
642 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
643 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
644 .link-audio {
645 background: url("audio.png") center right no-repeat;
646 padding-right: 13px;
647 }
648 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
649 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
650 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
651 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
652 .link-video {
653 background: url("video.png") center right no-repeat;
654 padding-right: 13px;
655 }
656 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
657 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
658 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
659 .link-document {
660 background: url("document.png") center right no-repeat;
661 padding-right: 12px;
662 }
663
664 /* disable interwiki styling */
665 #bodyContent a.extiw,
666 #bodyContent a.extiw:active {
667 color: #36b;
668 background: none;
669 padding: 0;
670 }
671 #bodyContent a.external {
672 color: #36b;
673 }
674 /* this can be used in the content area to switch off
675 special external link styling */
676 #bodyContent .plainlinks a {
677 background: none !important;
678 padding: 0 !important;
679 }
680 /*
681 ** Structural Elements
682 */
683
684 /*
685 ** general portlet styles (elements in the quickbar)
686 */
687 .portlet {
688 border: none;
689 margin: 0 0 .5em;
690 padding: 0;
691 float: none;
692 width: 11.6em;
693 overflow: hidden;
694 }
695 .portlet h4 {
696 font-size: 95%;
697 font-weight: normal;
698 white-space: nowrap;
699 }
700 .portlet h5 {
701 background: transparent;
702 padding: 0 1em 0 .5em;
703 display: inline;
704 height: 1em;
705 text-transform: lowercase;
706 font-size: 91%;
707 font-weight: normal;
708 white-space: nowrap;
709 }
710 .portlet h6 {
711 background: #ffae2e;
712 border: 1px solid #2f6fab;
713 border-style: solid solid none solid;
714 padding: 0 1em 0 1em;
715 text-transform: lowercase;
716 display: block;
717 font-size: 1em;
718 height: 1.2em;
719 font-weight: normal;
720 white-space: nowrap;
721 }
722 .pBody {
723 font-size: 95%;
724 background-color: white;
725 color: black;
726 border-collapse: collapse;
727 border: 1px solid #aaa;
728 padding: 0 .8em .3em .5em;
729 }
730 .portlet h1,
731 .portlet h2,
732 .portlet h3,
733 .portlet h4 {
734 margin: 0;
735 padding: 0;
736 }
737 .portlet ul {
738 line-height: 1.5em;
739 list-style-type: square;
740 list-style-image: url(bullet.gif);
741 font-size: 95%;
742 }
743 .portlet li {
744 padding: 0;
745 margin: 0;
746 }
747
748 /*
749 ** Logo properties
750 */
751
752 /* @media screen, projection { */
753 #p-logo {
754 top: 0;
755 left: 0;
756 position: absolute; /*needed to use z-index */
757 z-index: 3;
758 height: 155px;
759 width: 12em;
760 overflow: visible;
761 }
762 #p-logo h5 {
763 display: none;
764 }
765 #p-logo a,
766 #p-logo a:hover {
767 display: block;
768 height: 155px;
769 width: 12.2em;
770 background-repeat: no-repeat;
771 background-position: 35% 50% !important;
772 text-decoration: none;
773 }
774 /* } */
775 /*
776 ** the navigation portlet
777 */
778
779 /* @media screen, projection { */
780 #p-navigation {
781 position: relative;
782 z-index: 3;
783 }
784 #p-navigation a {
785 display: block;
786 }
787 #p-navigation li.active a, #p-navigation li.active a:hover {
788 display: inline;
789 }
790 /* } */
791
792 #p-navigation .pBody {
793 padding-right: 0;
794 }
795
796 #p-navigation li.active a, #p-navigation li.active a:hover {
797 text-decoration: none;
798 font-weight: bold;
799 }
800
801
802 /*
803 ** Search portlet
804 */
805 /* @media screen, projection { */
806 #p-search {
807 position: relative;
808 z-index: 3;
809 }
810 /* } */
811 input.searchButton {
812 margin-top: 1px;
813 font-size: 95%;
814 }
815 #searchGoButton {
816 padding-left: .5em;
817 padding-right: .5em;
818 font-weight: bold;
819 }
820 #searchInput {
821 width: 10.9em;
822 margin: 0;
823 font-size: 95%;
824 }
825 #p-search .pBody {
826 padding: .5em .4em .4em .4em;
827 text-align: center;
828 }
829
830 /*
831 ** the personal toolbar
832 */
833 /* @media screen, projection { */
834 #p-personal {
835 position: absolute;
836 left: 0;
837 top: 0;
838 z-index: 0;
839 }
840 #p-personal {
841 width: 100%;
842 white-space: nowrap;
843 padding: 0;
844 margin: 0;
845 border: none;
846 background: none;
847 overflow: visible;
848 line-height: 1.2em;
849 }
850 #p-personal h5 {
851 display: none;
852 }
853 #p-personal .portlet,
854 #p-personal .pBody {
855 z-index: 0;
856 padding: 0;
857 margin: 0;
858 border: none;
859 overflow: visible;
860 background: none;
861 }
862 /* this is the ul contained in the portlet */
863 #p-personal ul {
864 border: none;
865 line-height: 1.4em;
866 color: #2f6fab;
867 padding: 0 2em 0 3em;
868 margin: 0;
869 text-align: right;
870 list-style: none;
871 z-index: 0;
872 background: none;
873 cursor: default;
874 }
875 #p-personal li {
876 z-index: 0;
877 border: none;
878 padding: 0;
879 display: inline;
880 color: #2f6fab;
881 margin-left: 1em;
882 line-height: 1.2em;
883 background: none;
884 }
885 #p-personal li a {
886 text-decoration: none;
887 color: #005896;
888 padding-bottom: .2em;
889 background: none;
890 }
891 #p-personal li a:hover {
892 background-color: white;
893 padding-bottom: .2em;
894 text-decoration: none;
895 }
896 #p-personal li.active a:hover {
897 background-color: transparent;
898 }
899 /* the icon in front of the user name, single quotes
900 in bg url to hide it from iemac */
901 li#pt-userpage,
902 li#pt-anonuserpage,
903 li#pt-login {
904 background: url(user.gif) top left no-repeat;
905 padding-left: 20px;
906 text-transform: none;
907 }
908 /* } */
909 #p-personal ul {
910 text-transform: lowercase;
911 }
912 #p-personal li.active {
913 font-weight: bold;
914 }
915 /*
916 ** the page-related actions- page/talk, edit etc
917 */
918 /* @media screen, projection { */
919 #p-cactions {
920 position: absolute;
921 top: 1.3em;
922 left: 11.5em;
923 margin: 0;
924 white-space: nowrap;
925 width: 76%;
926 line-height: 1.1em;
927 overflow: visible;
928 background: none;
929 border-collapse: collapse;
930 padding-left: 1em;
931 list-style: none;
932 font-size: 95%;
933 }
934 #p-cactions ul {
935 list-style: none;
936 }
937 #p-cactions li {
938 display: inline;
939 border: 1px solid #aaa;
940 border-bottom: none;
941 padding: 0 0 .1em 0;
942 margin: 0 .3em 0 0;
943 overflow: visible;
944 background: white;
945 }
946 #p-cactions li.selected {
947 border-color: #fabd23;
948 padding: 0 0 .2em 0;
949 font-weight: bold;
950 }
951 #p-cactions li a {
952 background-color: #fbfbfb;
953 color: #002bb8;
954 border: none;
955 padding: 0 .8em .3em;
956 position: relative;
957 z-index: 0;
958 margin: 0;
959 text-decoration: none;
960 }
961 #p-cactions li.selected a {
962 z-index: 3;
963 padding: 0 1em .2em!important;
964 background-color: white;
965 }
966 #p-cactions .new a {
967 color: #ba0000;
968 }
969 #p-cactions li a:hover {
970 z-index: 3;
971 text-decoration: none;
972 background-color: white;
973 }
974 #p-cactions h5 {
975 display: none;
976 }
977 #p-cactions li.istalk {
978 margin-right: 0;
979 }
980 #p-cactions li.istalk a {
981 padding-right: .5em;
982 }
983 #p-cactions #ca-addsection a {
984 padding-left: .4em;
985 padding-right: .4em;
986 }
987 /* offsets to distinguish the tab groups */
988 li#ca-talk {
989 margin-right: 1.6em;
990 }
991 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
992 margin-left: 1.6em;
993 }
994 #p-cactions .pBody {
995 font-size: 1em;
996 background-color: transparent;
997 color: inherit;
998 border-collapse: inherit;
999 border: 0;
1000 padding: 0;
1001 }
1002 /* } */
1003 #p-cactions .hiddenStructure {
1004 display: none;
1005 }
1006 #p-cactions li a {
1007 text-transform: lowercase;
1008 }
1009
1010 /*
1011 ** the remaining portlets
1012 */
1013 /* @media screen, projection { */
1014 #p-tbx,
1015 #p-lang {
1016 position: relative;
1017 z-index: 3;
1018 }
1019 /* } */
1020
1021 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1022 * system which allows extensions to add to this file on the fly
1023 */
1024 #t-ispermalink, #t-iscite {
1025 color: #999;
1026 }
1027 /*
1028 ** footer
1029 */
1030 #footer {
1031 background-color: white;
1032 border-top: 1px solid #fabd23;
1033 border-bottom: 1px solid #fabd23;
1034 margin: .6em 0 1em 0;
1035 padding: .4em 0 1.2em 0;
1036 text-align: center;
1037 font-size: 90%;
1038 }
1039 #footer li {
1040 display: inline;
1041 margin: 0 1.3em;
1042 }
1043 /* hide from incapable browsers */
1044 head:first-child+body #footer li { white-space: nowrap; }
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
1310 table.gallery caption {
1311 font-weight: bold;
1312 }
1313
1314 div.gallerybox {
1315 margin: 2px;
1316 }
1317
1318 div.gallerybox div.thumb {
1319 text-align: center;
1320 border: 1px solid #ccc;
1321 margin: 2px;
1322 }
1323
1324 div.gallerytext {
1325 font-size: 94%;
1326 padding: 2px 4px;
1327 }
1328
1329 span.comment {
1330 font-style: italic;
1331 }
1332
1333 span.changedby {
1334 font-size: 95%;
1335 }
1336
1337 .previewnote {
1338 text-indent: 3em;
1339 color: #c00;
1340 border-bottom: 1px solid #aaa;
1341 padding-bottom: 1em;
1342 margin-bottom: 1em;
1343 }
1344
1345 .previewnote p {
1346 margin: 0;
1347 padding: 0;
1348 }
1349
1350 .editExternally {
1351 border: 1px solid gray;
1352 background-color: #ffffff;
1353 padding: 3px;
1354 margin-top: 0.5em;
1355 float: left;
1356 font-size: small;
1357 text-align: center;
1358 }
1359 .editExternallyHelp {
1360 font-style: italic;
1361 color: gray;
1362 }
1363
1364 li span.deleted, span.history-deleted {
1365 text-decoration: line-through;
1366 color: #888;
1367 font-style: italic;
1368 }
1369
1370 .toggle {
1371 margin-left: 2em;
1372 text-indent: -2em;
1373 }
1374
1375 /* Classes for EXIF data display */
1376 table.mw_metadata {
1377 font-size: 0.8em;
1378 margin-left: 0.5em;
1379 margin-bottom: 0.5em;
1380 width: 300px;
1381 }
1382
1383 table.mw_metadata caption {
1384 font-weight: bold;
1385 }
1386
1387 table.mw_metadata th {
1388 font-weight: normal;
1389 }
1390
1391 table.mw_metadata td {
1392 padding: 0.1em;
1393 }
1394
1395 table.mw_metadata {
1396 border: none;
1397 border-collapse: collapse;
1398 }
1399
1400 table.mw_metadata td, table.mw_metadata th {
1401 text-align: center;
1402 border: 1px solid #aaaaaa;
1403 padding-left: 0.1em;
1404 padding-right: 0.1em;
1405 }
1406
1407 table.mw_metadata th {
1408 background-color: #f9f9f9;
1409 }
1410
1411 table.mw_metadata td {
1412 background-color: #fcfcfc;
1413 }
1414
1415 table.collapsed tr.collapsable {
1416 display: none;
1417 }
1418
1419
1420 /* filetoc */
1421 ul#filetoc {
1422 text-align: center;
1423 border: 1px solid #aaaaaa;
1424 background-color: #f9f9f9;
1425 padding: 5px;
1426 font-size: 95%;
1427 margin-bottom: 0.5em;
1428 margin-left: 0;
1429 margin-right: 0;
1430 }
1431
1432 #filetoc li {
1433 display: inline;
1434 list-style-type: none;
1435 padding-right: 2em;
1436 }
1437
1438 input#wpSummary {
1439 width: 80%;
1440 }
1441
1442 /* @bug 1714 */
1443 input#wpSave, input#wpDiff {
1444 margin-right: 0.33em;
1445 }
1446
1447 #editform .editOptions {
1448 display: inline;
1449 }
1450
1451 #wpSave {
1452 font-weight: bold;
1453 }
1454
1455 /* Classes for article validation */
1456
1457 table.revisionform_default {
1458 border: 1px solid #000000;
1459 }
1460
1461 table.revisionform_focus {
1462 border: 1px solid #000000;
1463 background-color:#00BBFF;
1464 }
1465
1466 tr.revision_tr_default {
1467 background-color:#EEEEEE;
1468 }
1469
1470 tr.revision_tr_first {
1471 background-color:#DDDDDD;
1472 }
1473
1474 p.revision_saved {
1475 color: green;
1476 font-weight:bold;
1477 }
1478
1479 #mw_trackbacks {
1480 border: solid 1px #bbbbff;
1481 background-color: #eeeeff;
1482 padding: 0.2em;
1483 }
1484
1485
1486 /* Allmessages table */
1487
1488 #allmessagestable th {
1489 background-color: #b2b2ff;
1490 }
1491
1492 #allmessagestable tr.orig {
1493 background-color: #ffe2e2;
1494 }
1495
1496 #allmessagestable tr.new {
1497 background-color: #e2ffe2;
1498 }
1499
1500 #allmessagestable tr.def {
1501 background-color: #f0f0ff;
1502 }
1503
1504
1505 /* noarticletext */
1506 div.noarticletext {
1507 border: 1px solid #ccc;
1508 background: #fff;
1509 padding: .2em 1em;
1510 color: #000;
1511 }
1512
1513 div#searchTargetContainer {
1514 left: 10px;
1515 top: 10px;
1516 width: 90%;
1517 background: white;
1518 }
1519
1520 div#searchTarget {
1521 padding: 3px;
1522 margin: 5px;
1523 background: #F0F0F0;
1524 border: solid 1px blue;
1525 }
1526
1527 div#searchTarget ul li {
1528 list-style: none;
1529 }
1530
1531 div#searchTarget ul li:before {
1532 color: orange;
1533 content: "\00BB \0020";
1534 }
1535
1536 div.multipageimagenavbox {
1537 border: solid 1px silver;
1538 padding: 4px;
1539 margin: 1em;
1540 -moz-border-radius: 6px;
1541 background: #f0f0f0;
1542 }
1543
1544 div.multipageimagenavbox div.thumb {
1545 border: none;
1546 margin-left: 2em;
1547 margin-right: 2em;
1548 }
1549
1550 div.multipageimagenavbox hr {
1551 margin: 6px;
1552 }
1553
1554 table.multipageimage td {
1555 text-align: center;
1556 }
1557
1558 /** Special:Version */
1559
1560 table#sv-ext, table#sv-hooks {
1561 margin: 1em;
1562 padding:0em;
1563 }
1564
1565 #sv-ext td, #sv-hooks td,
1566 #sv-ext th, #sv-hooks th {
1567 border: 1px solid #A0A0A0;
1568 padding: 0 0.15em 0 0.15em;
1569 }
1570 #sv-ext th, #sv-hooks th {
1571 background-color: #F0F0F0;
1572 color: black;
1573 padding: 0 0.15em 0 0.15em;
1574 }
1575 tr.sv-space{
1576 height: 0.8em;
1577 border:none;
1578 }
1579 tr.sv-space td { display: none; }
1580
1581 /*
1582 Table pager (e.g. Special:Imagelist)
1583 - remove underlines from the navigation link
1584 - collapse borders
1585 - set the borders to outsets (similar to Special:Allmessages)
1586 - remove line wrapping for all td and th, set background color
1587 - restore line wrapping for the last two table cells (description and size)
1588 */
1589 .TablePager_nav a { text-decoration: none; }
1590 .TablePager { border-collapse: collapse; }
1591 .TablePager, .TablePager td, .TablePager th {
1592 border: 0.15em solid #777777;
1593 padding: 0 0.15em 0 0.15em;
1594 }
1595 .TablePager th { background-color: #eeeeff }
1596 .TablePager td { background-color: #ffffff }
1597 .TablePager tr:hover td { background-color: #eeeeff }
1598
1599 .imagelist td, .imagelist th { white-space: nowrap }
1600 .imagelist .TablePager_col_links { background-color: #eeeeff }
1601 .imagelist .TablePager_col_img_description { white-space: normal }
1602 .imagelist th.TablePager_sort { background-color: #ccccff }
1603
1604 .templatesUsed { margin-top: 1.5em; }
1605
1606 .mw-summary-preview {
1607 margin: 0.1em 0;
1608 }
1609
1610 /* Convenience links on Special:Ipblocklist */
1611 p.mw-ipb-conveniencelinks {
1612 font-size: 90%;
1613 float: right;
1614 }
1615
1616 /**
1617 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1618 * When the day comes, it can be moved to a *real* common.css.
1619 */
1620 .mw-plusminus-null { color: #aaa; }
1621 .texvc { direction: ltr; unicode-bidi: embed; }
1622 /* Stop floats from intruding into edit area in previews */
1623 #toolbar, #wpTextbox1 { clear: both; }