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