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