Enable external link icon again on RTL wikis after correcting its behavior. Correct...
[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 #bodyContent a.extiw[href ^="irc://"],
577 .link-irc {
578 background: url(discussionitem_icon.gif) center right no-repeat;
579 padding-right: 18px;
580 }
581 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
582 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
583 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
584 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
585 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
586 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
587 .link-audio {
588 background: url("audio.png") center right no-repeat;
589 padding-right: 13px;
590 }
591 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
592 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
593 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
594 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
595 .link-video {
596 background: url("video.png") center right no-repeat;
597 padding-right: 13px;
598 }
599 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
600 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
601 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
602 .link-document {
603 background: url("document.png") center right no-repeat;
604 padding-right: 12px;
605 }
606 /* for rtl wikis */
607 .rtl #bodyContent a.external,
608 .rtl #bodyContent a[href ^="gopher://"] {
609 background: url(external.png) center left no-repeat;
610 padding-right: 0px;
611 padding-left: 13px;
612 }
613 .rtl #bodyContent a[href ^="https://"],
614 .link-https {
615 background: url(lock_icon.gif) center left no-repeat;
616 padding-right: 0px;
617 padding-left: 16px;
618 }
619 .rtl #bodyContent a[href ^="mailto:"],
620 .link-mailto {
621 background: url(mail_icon.gif) center left no-repeat;
622 padding-right: 0px;
623 padding-left: 18px;
624 }
625 .rtl #bodyContent a[href ^="news://"] {
626 background: url(news_icon.png) center left no-repeat;
627 padding-right: 0px;
628 padding-left: 18px;
629 }
630 .rtl #bodyContent a[href ^="ftp://"],
631 .link-ftp {
632 background: url(file_icon.gif) center left no-repeat;
633 padding-right: 0px;
634 padding-left: 18px;
635 }
636 .rtl #bodyContent a[href ^="irc://"],
637 .link-irc {
638 background: url(discussionitem_icon.gif) center left no-repeat;
639 padding-right: 0px;
640 padding-left: 18px;
641 }
642 .rtl #bodyContent a.external[href $=".ogg"], .rtl #bodyContent a.external[href $=".OGG"],
643 .rtl #bodyContent a.external[href $=".mid"], .rtl #bodyContent a.external[href $=".MID"],
644 .rtl #bodyContent a.external[href $=".midi"], .rtl #bodyContent a.external[href $=".MIDI"],
645 .rtl #bodyContent a.external[href $=".mp3"], .rtl #bodyContent a.external[href $=".MP3"],
646 .rtl #bodyContent a.external[href $=".wav"], .rtl #bodyContent a.external[href $=".WAV"],
647 .rtl #bodyContent a.external[href $=".wma"], .rtl #bodyContent a.external[href $=".WMA"],
648 .link-audio {
649 background: url("audio.png") center left no-repeat;
650 padding-right: 0px;
651 padding-left: 13px;
652 }
653 .rtl #bodyContent a.external[href $=".ogm"], .rtl #bodyContent a.external[href $=".OGM"],
654 .rtl #bodyContent a.external[href $=".avi"], .rtl #bodyContent a.external[href $=".AVI"],
655 .rtl #bodyContent a.external[href $=".mpeg"], .rtl #bodyContent a.external[href $=".MPEG"],
656 .rtl #bodyContent a.external[href $=".mpg"], .rtl #bodyContent a.external[href $=".MPG"],
657 .link-video {
658 background: url("video.png") center left no-repeat;
659 padding-right: 0px;
660 padding-left: 13px;
661 }
662 .rtl #bodyContent a.external[href $=".pdf"], .rtl #bodyContent a.external[href $=".PDF"],
663 .rtl #bodyContent a.external[href *=".pdf#"], .rtl #bodyContent a.external[href *=".PDF#"],
664 .rtl #bodyContent a.external[href *=".pdf?"], .rtl #bodyContent a.external[href *=".PDF?"],
665 .link-document {
666 background: url("document.png") center left no-repeat;
667 padding-right: 0px;
668 padding-left: 12px;
669 }
670
671 /* disable interwiki styling */
672 #bodyContent a.extiw,
673 #bodyContent a.extiw:active {
674 color: #36b;
675 background: none;
676 padding: 0;
677 }
678 #bodyContent a.external {
679 color: #36b;
680 }
681 /* this can be used in the content area to switch off
682 special external link styling */
683 #bodyContent .plainlinks a {
684 background: none !important;
685 padding: 0 !important;
686 }
687 /*
688 ** Structural Elements
689 */
690
691 /*
692 ** general portlet styles (elements in the quickbar)
693 */
694 .portlet {
695 border: none;
696 margin: 0 0 .5em;
697 padding: 0;
698 float: none;
699 width: 11.6em;
700 overflow: hidden;
701 }
702 .portlet h4 {
703 font-size: 95%;
704 font-weight: normal;
705 white-space: nowrap;
706 }
707 .portlet h5 {
708 background: transparent;
709 padding: 0 1em 0 .5em;
710 display: inline;
711 height: 1em;
712 text-transform: lowercase;
713 font-size: 91%;
714 font-weight: normal;
715 white-space: nowrap;
716 }
717 .portlet h6 {
718 background: #ffae2e;
719 border: 1px solid #2f6fab;
720 border-style: solid solid none solid;
721 padding: 0 1em 0 1em;
722 text-transform: lowercase;
723 display: block;
724 font-size: 1em;
725 height: 1.2em;
726 font-weight: normal;
727 white-space: nowrap;
728 }
729 .pBody {
730 font-size: 95%;
731 background-color: white;
732 color: black;
733 border-collapse: collapse;
734 border: 1px solid #aaa;
735 padding: 0 .8em .3em .5em;
736 }
737 .portlet h1,
738 .portlet h2,
739 .portlet h3,
740 .portlet h4 {
741 margin: 0;
742 padding: 0;
743 }
744 .portlet ul {
745 line-height: 1.5em;
746 list-style-type: square;
747 list-style-image: url(bullet.gif);
748 font-size: 95%;
749 }
750 .portlet li {
751 padding: 0;
752 margin: 0;
753 }
754
755 /*
756 ** Logo properties
757 */
758
759 #p-logo {
760 top: 0;
761 left: 0;
762 position: absolute; /*needed to use z-index */
763 z-index: 3;
764 height: 155px;
765 width: 12em;
766 overflow: visible;
767 }
768 #p-logo h5 {
769 display: none;
770 }
771 #p-logo a,
772 #p-logo a:hover {
773 display: block;
774 height: 155px;
775 width: 12.2em;
776 background-repeat: no-repeat;
777 background-position: 35% 50% !important;
778 text-decoration: none;
779 }
780
781 /*
782 ** Search portlet
783 */
784 #p-search {
785 position: relative;
786 z-index: 3;
787 }
788 input.searchButton {
789 margin-top: 1px;
790 font-size: 95%;
791 }
792 #searchGoButton {
793 padding-left: .5em;
794 padding-right: .5em;
795 font-weight: bold;
796 }
797 #searchInput {
798 width: 10.9em;
799 margin: 0;
800 font-size: 95%;
801 }
802 #p-search .pBody {
803 padding: .5em .4em .4em .4em;
804 text-align: center;
805 }
806
807 /*
808 ** the personal toolbar
809 */
810 #p-personal {
811 position: absolute;
812 left: 0;
813 top: 0;
814 z-index: 0;
815 }
816 #p-personal {
817 width: 100%;
818 white-space: nowrap;
819 padding: 0;
820 margin: 0;
821 border: none;
822 background: none;
823 overflow: visible;
824 line-height: 1.2em;
825 }
826 #p-personal h5 {
827 display: none;
828 }
829 #p-personal .portlet,
830 #p-personal .pBody {
831 z-index: 0;
832 padding: 0;
833 margin: 0;
834 border: none;
835 overflow: visible;
836 background: none;
837 }
838 /* this is the ul contained in the portlet */
839 #p-personal ul {
840 border: none;
841 line-height: 1.4em;
842 color: #2f6fab;
843 padding: 0 2em 0 3em;
844 margin: 0;
845 text-align: right;
846 list-style: none;
847 z-index: 0;
848 background: none;
849 cursor: default;
850 }
851 #p-personal li {
852 z-index: 0;
853 border: none;
854 padding: 0;
855 display: inline;
856 color: #2f6fab;
857 margin-left: 1em;
858 line-height: 1.2em;
859 background: none;
860 }
861 #p-personal li a {
862 text-decoration: none;
863 color: #005896;
864 padding-bottom: .2em;
865 background: none;
866 }
867 #p-personal li a:hover {
868 background-color: white;
869 padding-bottom: .2em;
870 text-decoration: none;
871 }
872 #p-personal li.active a:hover {
873 background-color: transparent;
874 }
875 /* the icon in front of the user name, single quotes
876 in bg url to hide it from iemac */
877 li#pt-userpage,
878 li#pt-anonuserpage,
879 li#pt-login {
880 background: url(user.gif) top left no-repeat;
881 padding-left: 20px;
882 text-transform: none;
883 }
884 #p-personal ul {
885 text-transform: lowercase;
886 }
887 #p-personal li.active {
888 font-weight: bold;
889 }
890 /*
891 ** the page-related actions- page/talk, edit etc
892 */
893 #p-cactions {
894 position: absolute;
895 top: 1.3em;
896 left: 11.5em;
897 margin: 0;
898 white-space: nowrap;
899 width: 76%;
900 line-height: 1.1em;
901 overflow: visible;
902 background: none;
903 border-collapse: collapse;
904 padding-left: 1em;
905 list-style: none;
906 font-size: 95%;
907 }
908 #p-cactions ul {
909 list-style: none;
910 }
911 #p-cactions li {
912 display: inline;
913 border: 1px solid #aaa;
914 border-bottom: none;
915 padding: 0 0 .1em 0;
916 margin: 0 .3em 0 0;
917 overflow: visible;
918 background: white;
919 }
920 #p-cactions li.selected {
921 border-color: #fabd23;
922 padding: 0 0 .2em 0;
923 font-weight: bold;
924 }
925 #p-cactions li a {
926 background-color: #fbfbfb;
927 color: #002bb8;
928 border: none;
929 padding: 0 .8em .3em;
930 position: relative;
931 z-index: 0;
932 margin: 0;
933 text-decoration: none;
934 }
935 #p-cactions li.selected a {
936 z-index: 3;
937 padding: 0 1em .2em!important;
938 background-color: white;
939 }
940 #p-cactions .new a {
941 color: #ba0000;
942 }
943 #p-cactions li a:hover {
944 z-index: 3;
945 text-decoration: none;
946 background-color: white;
947 }
948 #p-cactions h5 {
949 display: none;
950 }
951 #p-cactions li.istalk {
952 margin-right: 0;
953 }
954 #p-cactions li.istalk a {
955 padding-right: .5em;
956 }
957 #p-cactions #ca-addsection a {
958 padding-left: .4em;
959 padding-right: .4em;
960 }
961 /* offsets to distinguish the tab groups */
962 li#ca-talk {
963 margin-right: 1.6em;
964 }
965 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
966 margin-left: 1.6em;
967 }
968 #p-cactions .pBody {
969 font-size: 1em;
970 background-color: transparent;
971 color: inherit;
972 border-collapse: inherit;
973 border: 0;
974 padding: 0;
975 }
976 #p-cactions .hiddenStructure {
977 display: none;
978 }
979 #p-cactions li a {
980 text-transform: lowercase;
981 }
982
983 /*
984 ** the remaining portlets
985 */
986 #p-tbx,
987 #p-lang {
988 position: relative;
989 z-index: 3;
990 }
991
992 /* TODO: #t-iscite is only used by the Cite extension, come up with some
993 * system which allows extensions to add to this file on the fly
994 */
995 #t-ispermalink, #t-iscite {
996 color: #999;
997 }
998 /*
999 ** footer
1000 */
1001 #footer {
1002 background-color: white;
1003 border-top: 1px solid #fabd23;
1004 border-bottom: 1px solid #fabd23;
1005 margin: .6em 0 1em 0;
1006 padding: .4em 0 1.2em 0;
1007 text-align: center;
1008 font-size: 90%;
1009 }
1010 #footer li {
1011 display: inline;
1012 margin: 0 1.3em;
1013 }
1014 #f-poweredbyico, #f-copyrightico {
1015 margin: 0 8px;
1016 position: relative;
1017 top: -2px; /* Bump it up just a tad */
1018 }
1019 #f-poweredbyico {
1020 float: right;
1021 height: 1%;
1022 }
1023 #f-copyrightico {
1024 float: left;
1025 height: 1%;
1026 }
1027
1028 /* js pref toc */
1029 #preftoc {
1030 margin: 0;
1031 padding: 0;
1032 width: 100%;
1033 clear: both;
1034 }
1035 #preftoc li {
1036 background-color: #f0f0f0;
1037 color: #000;
1038 }
1039 #preftoc li {
1040 margin: 1px -2px 1px 2px;
1041 float: left;
1042 padding: 2px 0 3px 0;
1043 border: 1px solid #fff;
1044 border-right-color: #716f64;
1045 border-bottom: 0;
1046 position: relative;
1047 white-space: nowrap;
1048 list-style-type: none;
1049 list-style-image: none;
1050 z-index: 3;
1051 }
1052 #preftoc li.selected {
1053 font-weight: bold;
1054 background-color: #f9f9f9;
1055 border: 1px solid #aaa;
1056 border-bottom: none;
1057 cursor: default;
1058 top: 1px;
1059 padding-top: 2px;
1060 margin-right: -3px;
1061 }
1062 #preftoc > li.selected {
1063 top: 2px;
1064 }
1065 #preftoc a,
1066 #preftoc a:active {
1067 display: block;
1068 color: #000;
1069 padding: 0 .7em;
1070 position: relative;
1071 text-decoration: none;
1072 }
1073 #preftoc li.selected a {
1074 cursor: default;
1075 text-decoration: none;
1076 }
1077 #prefcontrol {
1078 padding-top: 2em;
1079 clear: both;
1080 }
1081 #preferences {
1082 margin: 0;
1083 border: 1px solid #aaa;
1084 clear: both;
1085 padding: 1.5em;
1086 background-color: #F9F9F9;
1087 }
1088 .prefsection {
1089 border: none;
1090 padding: 0;
1091 margin: 0;
1092 }
1093 .prefsection fieldset {
1094 border: 1px solid #aaa;
1095 float: left;
1096 margin-right: 2em;
1097 }
1098 .prefsection legend {
1099 font-weight: bold;
1100 }
1101 .prefsection table, .prefsection legend {
1102 background-color: #F9F9F9;
1103 }
1104 .mainLegend {
1105 display: none;
1106 }
1107 div.prefsectiontip {
1108 font-size: x-small;
1109 padding: .2em 2em;
1110 color: #666;
1111 }
1112 .btnSavePrefs {
1113 font-weight: bold;
1114 padding-left: .3em;
1115 padding-right: .3em;
1116 }
1117
1118 .preferences-login {
1119 clear: both;
1120 margin-bottom: 1.5em;
1121 }
1122
1123 .prefcache {
1124 font-size: 90%;
1125 margin-top: 2em;
1126 }
1127
1128 div#userloginForm form,
1129 div#userlogin form#userlogin2 {
1130 margin: 0 3em 1em 0;
1131 border: 1px solid #aaa;
1132 clear: both;
1133 padding: 1.5em 2em;
1134 background-color: #f9f9f9;
1135 float: left;
1136 }
1137
1138 div#userloginForm table,
1139 div#userlogin form#userlogin2 table {
1140 background-color: #f9f9f9;
1141 }
1142
1143 div#userloginForm h2,
1144 div#userlogin form#userlogin2 h2 {
1145 padding-top: 0;
1146 }
1147
1148 div#userlogin .captcha,
1149 div#userloginForm .captcha {
1150 border: 1px solid #bbb;
1151 padding: 1.5em 2em;
1152 background-color: white;
1153 }
1154
1155
1156 #userloginprompt, #languagelinks {
1157 font-size: 85%;
1158 }
1159
1160 #login-sectiontip {
1161 font-size: 85%;
1162 line-height: 1.2;
1163 padding-top: 2em;
1164 }
1165
1166 #userlogin .loginText, #userlogin .loginPassword {
1167 width: 12em;
1168 }
1169
1170 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1171 font-weight: bold;
1172 }
1173
1174 /*
1175 ** IE/Mac fixes, hope to find a validating way to move this
1176 ** to a separate stylesheet. This would work but doesn't validate:
1177 ** @import("IEMacFixes.css");
1178 */
1179 /* tabs: border on the a, not the div */
1180 * > html #p-cactions li { border: none; }
1181 * > html #p-cactions li a {
1182 border: 1px solid #aaa;
1183 border-bottom: none;
1184 }
1185 * > html #p-cactions li.selected a { border-color: #fabd23; }
1186 /* footer icons need a fixed width */
1187 * > html #f-poweredbyico,
1188 * > html #f-copyrightico { width: 88px; }
1189 * > html #bodyContent,
1190 * > html #bodyContent pre {
1191 overflow-x: auto;
1192 width: 100%;
1193 padding-bottom: 25px;
1194 }
1195
1196 /* more IE fixes */
1197 /* float/negative margin brokenness */
1198 * html #footer {margin-top: 0;}
1199 * html #column-content {
1200 display: inline;
1201 margin-bottom: 0;
1202 }
1203 * html div.editsection { font-size: smaller; }
1204 #pagehistory li.selected { position: relative; }
1205
1206 /* Mac IE 5.0 fix; floated content turns invisible */
1207 * > html #column-content {
1208 float: none;
1209 }
1210 * > html #column-one {
1211 position: absolute;
1212 left: 0;
1213 top: 0;
1214 }
1215 * > html #footer {
1216 margin-left: 13.2em;
1217 }
1218 .redirectText {
1219 font-size: 150%;
1220 margin: 5px;
1221 }
1222
1223 .printfooter {
1224 display: none;
1225 }
1226
1227 .not-patrolled {
1228 background-color: #ffa;
1229 }
1230 div.patrollink {
1231 clear: both;
1232 font-size: 75%;
1233 text-align: right;
1234 }
1235 span.newpage, span.minor, span.bot {
1236 font-weight: bold;
1237 }
1238 span.unpatrolled {
1239 font-weight: bold;
1240 color: red;
1241 }
1242
1243 .sharedUploadNotice {
1244 font-style: italic;
1245 }
1246
1247 span.updatedmarker {
1248 color: black;
1249 background-color: #0f0;
1250 }
1251
1252 table.gallery {
1253 border: 1px solid #ccc;
1254 margin: 2px;
1255 padding: 2px;
1256 background-color: white;
1257 }
1258
1259 table.gallery tr {
1260 vertical-align: top;
1261 }
1262
1263 table.gallery td {
1264 vertical-align: top;
1265 background-color: #f9f9f9;
1266 border: solid 2px white;
1267 }
1268 /* Keep this temporarily so that cached pages will display right */
1269 table.gallery td.galleryheader {
1270 text-align: center;
1271 font-weight: bold;
1272 }
1273 table.gallery caption {
1274 font-weight: bold;
1275 }
1276
1277 div.gallerybox {
1278 margin: 2px;
1279 }
1280
1281 div.gallerybox div.thumb {
1282 text-align: center;
1283 border: 1px solid #ccc;
1284 margin: 2px;
1285 }
1286
1287 div.gallerytext {
1288 overflow: hidden;
1289 font-size: 94%;
1290 padding: 2px 4px;
1291 }
1292
1293 span.comment {
1294 font-style: italic;
1295 }
1296
1297 span.changedby {
1298 font-size: 95%;
1299 }
1300
1301 .previewnote {
1302 text-indent: 3em;
1303 color: #c00;
1304 border-bottom: 1px solid #aaa;
1305 padding-bottom: 1em;
1306 margin-bottom: 1em;
1307 }
1308
1309 .previewnote p {
1310 margin: 0;
1311 padding: 0;
1312 }
1313
1314 .editExternally {
1315 border: 1px solid gray;
1316 background-color: #ffffff;
1317 padding: 3px;
1318 margin-top: 0.5em;
1319 float: left;
1320 font-size: small;
1321 text-align: center;
1322 }
1323 .editExternallyHelp {
1324 font-style: italic;
1325 color: gray;
1326 }
1327
1328 .toggle {
1329 margin-left: 2em;
1330 text-indent: -2em;
1331 }
1332
1333 /* Classes for EXIF data display */
1334 table.mw_metadata {
1335 font-size: 0.8em;
1336 margin-left: 0.5em;
1337 margin-bottom: 0.5em;
1338 width: 300px;
1339 }
1340
1341 table.mw_metadata caption {
1342 font-weight: bold;
1343 }
1344
1345 table.mw_metadata th {
1346 font-weight: normal;
1347 }
1348
1349 table.mw_metadata td {
1350 padding: 0.1em;
1351 }
1352
1353 table.mw_metadata {
1354 border: none;
1355 border-collapse: collapse;
1356 }
1357
1358 table.mw_metadata td, table.mw_metadata th {
1359 text-align: center;
1360 border: 1px solid #aaaaaa;
1361 padding-left: 0.1em;
1362 padding-right: 0.1em;
1363 }
1364
1365 table.mw_metadata th {
1366 background-color: #f9f9f9;
1367 }
1368
1369 table.mw_metadata td {
1370 background-color: #fcfcfc;
1371 }
1372
1373 table.collapsed tr.collapsable {
1374 display: none;
1375 }
1376
1377
1378 /* filetoc */
1379 ul#filetoc {
1380 text-align: center;
1381 border: 1px solid #aaaaaa;
1382 background-color: #f9f9f9;
1383 padding: 5px;
1384 font-size: 95%;
1385 margin-bottom: 0.5em;
1386 margin-left: 0;
1387 margin-right: 0;
1388 }
1389
1390 #filetoc li {
1391 display: inline;
1392 list-style-type: none;
1393 padding-right: 2em;
1394 }
1395
1396 input#wpSummary {
1397 width: 80%;
1398 }
1399
1400 /* @bug 1714 */
1401 input#wpSave, input#wpDiff {
1402 margin-right: 0.33em;
1403 }
1404
1405 #editform .editOptions {
1406 display: inline;
1407 }
1408
1409 #wpSave {
1410 font-weight: bold;
1411 }
1412
1413 /* Classes for article validation */
1414
1415 table.revisionform_default {
1416 border: 1px solid #000000;
1417 }
1418
1419 table.revisionform_focus {
1420 border: 1px solid #000000;
1421 background-color:#00BBFF;
1422 }
1423
1424 tr.revision_tr_default {
1425 background-color:#EEEEEE;
1426 }
1427
1428 tr.revision_tr_first {
1429 background-color:#DDDDDD;
1430 }
1431
1432 p.revision_saved {
1433 color: green;
1434 font-weight:bold;
1435 }
1436
1437 #mw_trackbacks {
1438 border: solid 1px #bbbbff;
1439 background-color: #eeeeff;
1440 padding: 0.2em;
1441 }
1442
1443
1444 /* Allmessages table */
1445
1446 #allmessagestable th {
1447 background-color: #b2b2ff;
1448 }
1449
1450 #allmessagestable tr.orig {
1451 background-color: #ffe2e2;
1452 }
1453
1454 #allmessagestable tr.new {
1455 background-color: #e2ffe2;
1456 }
1457
1458 #allmessagestable tr.def {
1459 background-color: #f0f0ff;
1460 }
1461
1462
1463 /* noarticletext */
1464 div.noarticletext {
1465 border: 1px solid #ccc;
1466 background: #fff;
1467 padding: .2em 1em;
1468 color: #000;
1469 }
1470
1471 div#searchTargetContainer {
1472 left: 10px;
1473 top: 10px;
1474 width: 90%;
1475 background: white;
1476 }
1477
1478 div#searchTarget {
1479 padding: 3px;
1480 margin: 5px;
1481 background: #F0F0F0;
1482 border: solid 1px blue;
1483 }
1484
1485 div#searchTarget ul li {
1486 list-style: none;
1487 }
1488
1489 div#searchTarget ul li:before {
1490 color: orange;
1491 content: "\00BB \0020";
1492 }
1493
1494 div#searchTargetHide {
1495 float:right;
1496 border:solid 1px black;
1497 background:#DCDCDC;
1498 padding:2px;
1499 }
1500
1501 div.multipageimagenavbox {
1502 border: solid 1px silver;
1503 padding: 4px;
1504 margin: 1em;
1505 -moz-border-radius: 6px;
1506 background: #f0f0f0;
1507 }
1508
1509 div.multipageimagenavbox div.thumb {
1510 border: none;
1511 margin-left: 2em;
1512 margin-right: 2em;
1513 }
1514
1515 div.multipageimagenavbox hr {
1516 margin: 6px;
1517 }
1518
1519 table.multipageimage td {
1520 text-align: center;
1521 }
1522
1523 /** Special:Version */
1524
1525 table#sv-ext, table#sv-hooks, table#sv-software {
1526 margin: 1em;
1527 padding:0em;
1528 }
1529
1530 #sv-ext td, #sv-hooks td, #sv-software td,
1531 #sv-ext th, #sv-hooks th, #sv-software th {
1532 border: 1px solid #A0A0A0;
1533 padding: 0 0.15em 0 0.15em;
1534 }
1535 #sv-ext th, #sv-hooks th, #sv-software th {
1536 background-color: #F0F0F0;
1537 color: black;
1538 padding: 0 0.15em 0 0.15em;
1539 }
1540 tr.sv-space{
1541 height: 0.8em;
1542 border:none;
1543 }
1544 tr.sv-space td { display: none; }
1545
1546 /*
1547 Table pager (e.g. Special:Imagelist)
1548 - remove underlines from the navigation link
1549 - collapse borders
1550 - set the borders to outsets (similar to Special:Allmessages)
1551 - remove line wrapping for all td and th, set background color
1552 - restore line wrapping for the last two table cells (description and size)
1553 */
1554 .TablePager_nav a { text-decoration: none; }
1555 .TablePager { border-collapse: collapse; }
1556 .TablePager, .TablePager td, .TablePager th {
1557 border: 1px solid #aaaaaa;
1558 padding: 0 0.15em 0 0.15em;
1559 }
1560 .TablePager th { background-color: #eeeeff }
1561 .TablePager td { background-color: #ffffff }
1562 .TablePager tr:hover td { background-color: #eeeeff }
1563
1564 .imagelist td, .imagelist th { white-space: nowrap }
1565 .imagelist .TablePager_col_links { background-color: #eeeeff }
1566 .imagelist .TablePager_col_img_description { white-space: normal }
1567 .imagelist th.TablePager_sort { background-color: #ccccff }
1568
1569 .templatesUsed { margin-top: 1.5em; }
1570
1571 .mw-summary-preview {
1572 margin: 0.1em 0;
1573 }
1574
1575 /* Friendlier slave lag warnings */
1576 div.mw-lag-warn-normal,
1577 div.mw-lag-warn-high {
1578 padding: 3px;
1579 text-align: center;
1580 margin: 3px auto;
1581 }
1582 div.mw-lag-warn-normal {
1583 border: 1px solid #FFCC66;
1584 background-color: #FFFFCC;
1585 }
1586 div.mw-lag-warn-high {
1587 font-weight: bold;
1588 border: 2px solid #FF0033;
1589 background-color: #FFCCCC;
1590 }
1591
1592 /* Recreating-deleted-page/reupload file warning and log entries */
1593 div#mw-upload-deleted-warn,
1594 div#mw-recreate-deleted-warn {
1595 padding: 3px;
1596 margin-bottom: 3px;
1597 border: 2px solid #2F6FAB;
1598 }
1599 div#mw-upload-deleted-warn ul li,
1600 div#mw-recreate-deleted-warn ul li {
1601 font-size: 90%;
1602 }
1603 .MediaTransformError {
1604 background-color: #ccc;
1605 padding: 0.1em;
1606 }
1607 .MediaTransformError td {
1608 text-align: center;
1609 vertical-align: middle;
1610 font-size: 90%;
1611 }
1612
1613 /** Special:Search stuff */
1614 div#mw-search-interwiki-caption {
1615 text-align: center;
1616 font-weight: bold;
1617 font-size: 95%;
1618 }
1619
1620 .mw-search-interwiki-project {
1621 font-size: 97%;
1622 text-align: left;
1623 padding-left: 0.2em;
1624 padding-right: 0.15em;
1625 padding-bottom: 0.2em;
1626 padding-top: 0.15em;
1627 background: #cae8ff;
1628 }
1629
1630 span.searchmatch {
1631 font-weight: bold;
1632 color: red;
1633 }
1634
1635 /* God-damned hack for the crappy layout */
1636 .os-suggest {
1637 font-size: 127%;
1638 }