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