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