Merge "jquery.tablesorter: Support genitive month names"
[lhc/web/wiklou.git] / skins / common / shared.css
1 /**
2 * CSS in this file is used by *all* skins (that have any CSS at all). Be
3 * careful what you put in here, since what looks good in one skin may not in
4 * another, but don't ignore the poor pre-Monobook users either.
5 */
6
7 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
8
9 /**
10 * These classes should be used for text depending on the content direction.
11 * Content stuff like editsection, ul/ol and TOC depend on this.
12 */
13 .mw-content-ltr {
14 /* @noflip */
15 direction: ltr;
16 }
17 .mw-content-rtl {
18 /* @noflip */
19 direction: rtl;
20 }
21
22 /* Most input fields should be in site direction */
23 .sitedir-ltr textarea,
24 .sitedir-ltr input {
25 /* @noflip */
26 direction: ltr;
27 }
28 .sitedir-rtl textarea,
29 .sitedir-rtl input {
30 /* @noflip */
31 direction: rtl;
32 }
33
34 /* User-Agent styles for new HTML5 elements */
35 mark {
36 background-color: yellow;
37 color: black;
38 }
39
40 /* Input types that should follow user direction, like buttons */
41 /* TODO: What about buttons in wikipage content ? */
42 input[type="submit"],
43 input[type="button"],
44 input[type="reset"],
45 input[type="file"] {
46 direction: ltr;
47 }
48
49 /* Override default values */
50 textarea[dir="ltr"],
51 input[dir="ltr"] {
52 /* @noflip */
53 direction: ltr;
54 }
55 textarea[dir="rtl"],
56 input[dir="rtl"] {
57 /* @noflip */
58 direction: rtl;
59 }
60
61 /* Default style for semantic tags */
62 abbr,
63 acronym,
64 .explain {
65 border-bottom: 1px dotted;
66 cursor: help;
67 }
68
69 /* Colored watchlist and recent changes numbers */
70 .mw-plusminus-pos {
71 color: #006400; /* dark green */
72 }
73 .mw-plusminus-neg {
74 color: #8b0000; /* dark red */
75 }
76 .mw-plusminus-null {
77 color: #aaa; /* gray */
78 }
79
80 /**
81 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
82 * [[Special:Watchlist/edit]] and in category listings.
83 */
84 .allpagesredirect,
85 .redirect-in-category,
86 .watchlistredir {
87 font-style: italic;
88 }
89
90 /* Comment and username portions of RC entries */
91 span.comment {
92 font-style: italic;
93 }
94
95 span.changedby {
96 font-size: 95%;
97 }
98
99 /* Math */
100 .texvc {
101 direction: ltr;
102 unicode-bidi: embed;
103 }
104 img.tex {
105 vertical-align: middle;
106 }
107 span.texhtml {
108 font-family: serif;
109 }
110
111 /**
112 * Add a bit of margin space between the preview and the toolbar.
113 * This replaces the ugly <p><br /></p> we used to insert into the page source
114 */
115 #wikiPreview.ontop {
116 margin-bottom: 1em;
117 }
118
119 /* Stop floats from intruding into edit area in previews */
120 #editform,
121 #toolbar,
122 #wpTextbox1 {
123 clear: both;
124 }
125
126 #toolbar img {
127 cursor: pointer;
128 }
129
130 /**
131 * File description page
132 */
133
134 div.mw-filepage-resolutioninfo {
135 font-size: smaller;
136 }
137
138 /**
139 * File histories
140 */
141 h2#filehistory {
142 clear: both;
143 }
144
145 table.filehistory th,
146 table.filehistory td {
147 vertical-align: top;
148 }
149 table.filehistory th {
150 text-align: left;
151 }
152 table.filehistory td.mw-imagepage-filesize,
153 table.filehistory th.mw-imagepage-filesize {
154 white-space: nowrap;
155 }
156
157 table.filehistory td.filehistory-selected {
158 font-weight: bold;
159 }
160
161 /**
162 * Add a checkered background image on hover for file
163 * description pages. (bug 26470)
164 */
165 .filehistory a img,
166 #file img:hover {
167 /* @embed */
168 background: white url(images/Checker-16x16.png) repeat;
169 }
170
171 /**
172 * rev_deleted stuff
173 */
174 li span.deleted,
175 span.history-deleted {
176 text-decoration: line-through;
177 color: #888;
178 font-style: italic;
179 }
180
181 /**
182 * Patrol stuff
183 */
184 .not-patrolled {
185 background-color: #ffa;
186 }
187
188 .unpatrolled {
189 font-weight: bold;
190 color: red;
191 }
192
193 div.patrollink {
194 font-size: 75%;
195 text-align: right;
196 }
197
198 /**
199 * Forms
200 */
201 td.mw-label {
202 text-align: right;
203 }
204 td.mw-input {
205 text-align: left;
206 }
207 td.mw-submit {
208 text-align: left;
209 }
210
211 td.mw-label {
212 vertical-align: top;
213 }
214 .prefsection td.mw-label {
215 width: 20%;
216 }
217 .prefsection table {
218 width: 100%;
219 }
220 .prefsection table.mw-htmlform-matrix {
221 width: auto;
222 }
223
224 .mw-icon-question {
225 /* @embed */
226 background: url('images/question-small.png') no-repeat;
227 /* SVG support using a transparent gradient to guarantee cross-browser
228 * compatibility (browsers able to understand gradient syntax support also SVG)
229 * lifted from #pt-login css rule in skins/vector/screen.css */
230 /* @embed */
231 background: -webkit-linear-gradient(transparent, transparent), url('images/question.svg') no-repeat;
232 /* @embed */
233 background: linear-gradient(transparent, transparent), url('images/question.svg') no-repeat;
234 background-size: 13px 13px;
235 display: inline-block;
236 height: 13px;
237 width: 13px;
238 margin-left: 4px;
239 }
240
241 .mw-icon-question:lang(ar),
242 .mw-icon-question:lang(fa),
243 .mw-icon-question:lang(ur) {
244 -webkit-transform: scaleX(-1);
245 -ms-transform: scaleX(-1);
246 transform: scaleX(-1);
247 }
248
249 td.mw-submit {
250 white-space: nowrap;
251 }
252
253 table.mw-htmlform-nolabel td.mw-label {
254 width: 1px;
255 }
256
257 tr.mw-htmlform-vertical-label td.mw-label {
258 text-align: left !important;
259 }
260
261 .mw-htmlform-invalid-input td.mw-input input {
262 border-color: red;
263 }
264
265 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
266 display: inline;
267 margin-right: 1em;
268 white-space: nowrap;
269 }
270
271 .mw-htmlform-matrix td {
272 padding-left: 0.5em;
273 padding-right: 0.5em;
274 }
275
276 input#wpSummary {
277 width: 80%;
278 margin-bottom: 1em;
279 }
280
281 /**
282 * Image captions
283 */
284 /* @noflip */
285 .mw-content-ltr .thumbcaption {
286 text-align: left;
287 }
288 /* @noflip */
289 .mw-content-rtl .thumbcaption {
290 text-align: right;
291 }
292 /* @noflip */
293 .mw-content-ltr .magnify {
294 float: right;
295 }
296 /* @noflip */
297 .mw-content-rtl .magnify {
298 float: left;
299 }
300
301 /**
302 * Categories
303 */
304 #catlinks {
305 /**
306 * Overrides text justification (user preference)
307 * See bug 31990
308 */
309 text-align: left;
310 }
311 .catlinks ul {
312 display: inline;
313 margin: 0;
314 padding: 0;
315 list-style: none;
316 list-style-type: none;
317 list-style-image: none;
318 vertical-align: middle !ie;
319 }
320
321 .catlinks li {
322 display: inline-block;
323 line-height: 1.25em;
324 border-left: 1px solid #AAA;
325 margin: 0.125em 0;
326 padding: 0 0.5em;
327 zoom: 1;
328 display: inline !ie;
329 }
330
331 .catlinks li:first-child {
332 padding-left: 0.25em;
333 border-left: none;
334 }
335
336 /* (bug 5346) make category redirects italic */
337 .catlinks li a.mw-redirect {
338 font-style: italic;
339 }
340 /**
341 * Hidden categories
342 */
343 .mw-hidden-cats-hidden {
344 display: none;
345 }
346 .catlinks-allhidden {
347 display: none;
348 }
349
350 /* Convenience links to edit block, delete and protect reasons */
351 p.mw-ipb-conveniencelinks,
352 p.mw-protect-editreasons,
353 p.mw-filedelete-editreasons,
354 p.mw-delete-editreasons,
355 p.mw-revdel-editreasons {
356 font-size: 90%;
357 text-align: right;
358 }
359
360 /**
361 * OpenSearch ajax suggestions
362 */
363 .os-suggest {
364 overflow: auto;
365 overflow-x: hidden;
366 position: absolute;
367 top: 0;
368 left: 0;
369 width: 0;
370 background-color: white;
371 border-style: solid;
372 border-color: #AAAAAA;
373 border-width: 1px;
374 z-index:99;
375 font-size:95%;
376 }
377
378 table.os-suggest-results {
379 font-size: 95%;
380 cursor: pointer;
381 border: 0;
382 border-collapse: collapse;
383 width: 100%;
384 }
385
386 .os-suggest-result,
387 .os-suggest-result-hl {
388 white-space: nowrap;
389 background-color: white;
390 color: black;
391 padding: 2px;
392 }
393 .os-suggest-result-hl,
394 .os-suggest-result-hl-webkit {
395 background-color: #4C59A6;
396 color: white;
397 }
398
399 .os-suggest-toggle {
400 position: relative;
401 left: 1ex;
402 font-size: 65%;
403 }
404 .os-suggest-toggle-def {
405 position: absolute;
406 top: 0;
407 left: 0;
408 font-size: 65%;
409 visibility: hidden;
410 }
411
412 /* Page history styling */
413
414 /* The auto-generated edit comments */
415 .autocomment {
416 color: gray;
417 }
418 #pagehistory .history-user {
419 margin-left: 0.4em;
420 margin-right: 0.2em;
421 }
422 #pagehistory span.minor {
423 font-weight: bold;
424 }
425 #pagehistory li {
426 border: 1px solid white;
427 }
428 #pagehistory li.selected {
429 background-color: #f9f9f9;
430 border: 1px dashed #aaa;
431 }
432
433 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
434 float: right;
435 }
436
437 /** Generic minor/bot/newpage styling (recent changes) */
438 .newpage,
439 .minoredit,
440 .botedit {
441 font-weight: bold;
442 }
443
444 #shared-image-dup,
445 #shared-image-conflict {
446 font-style: italic;
447 }
448
449 /**
450 * Recreating deleted page warning
451 * Reupload file warning
452 * Page protection warning
453 * incl. log entries for these warnings
454 */
455 div.mw-warning-with-logexcerpt {
456 padding: 3px;
457 margin-bottom: 3px;
458 border: 2px solid #2F6FAB;
459 clear: both;
460 }
461 div.mw-warning-with-logexcerpt ul li {
462 font-size: 90%;
463 }
464
465 /* (show/hide) revision deletion links */
466 span.mw-revdelundel-link,
467 strong.mw-revdelundel-link {
468 font-size: 90%;
469 }
470 span.mw-revdelundel-hidden,
471 input.mw-revdelundel-hidden {
472 visibility: hidden;
473 }
474
475 td.mw-revdel-checkbox,
476 th.mw-revdel-checkbox {
477 padding-right: 10px;
478 text-align: center;
479 }
480
481 /* red links; see bug 36276 */
482 a.new {
483 color: #BA0000;
484 }
485
486 /* feed links */
487 a.feedlink {
488 /* @embed */
489 background: url(images/feed-icon.png) center left no-repeat;
490 padding-left: 16px;
491 }
492
493 /* Plainlinks - this can be used to switch
494 * off special external link styling */
495 .plainlinks a {
496 background: none !important;
497 padding: 0 !important;
498 }
499 /* External URLs should always be treated as LTR (bug 4330) */
500 /* @noflip */ .rtl a.external.free,
501 .rtl a.external.autonumber {
502 direction: ltr;
503 unicode-bidi: embed;
504 }
505
506 /**
507 * wikitable class for skinning normal tables
508 * keep in sync with commonPrint.css
509 */
510 table.wikitable {
511 margin: 1em 0;
512 background-color: #f9f9f9;
513 border: 1px #aaa solid;
514 border-collapse: collapse;
515 color: black;
516 }
517 table.wikitable > tr > th,
518 table.wikitable > tr > td,
519 table.wikitable > * > tr > th,
520 table.wikitable > * > tr > td {
521 border: 1px #aaa solid;
522 padding: 0.2em;
523 }
524 table.wikitable > tr > th,
525 table.wikitable > * > tr > th {
526 background-color: #f2f2f2;
527 text-align: center;
528 }
529 table.wikitable > caption {
530 font-weight: bold;
531 }
532
533 /* hide initially collapsed collapsable tables */
534 table.collapsed tr.collapsable {
535 display: none;
536 }
537
538 /* success and error messages */
539 .success {
540 color: green;
541 font-size: larger;
542 }
543 .warning {
544 color: #FFA500; /* orange */
545 font-size: larger;
546 }
547 .error {
548 color: red;
549 font-size: larger;
550 }
551 .errorbox,
552 .warningbox,
553 .successbox {
554 font-size: larger;
555 border: 2px solid;
556 padding: .5em 1em;
557 margin-bottom: 2em;
558 color: #000;
559 display: -moz-inline-block;
560 display: inline-block;
561 zoom: 1;
562 *display: inline;
563 }
564 .errorbox {
565 border-color: red;
566 background-color: #fff2f2;
567 }
568 .warningbox {
569 border-color: #FF8C00; /* darkorange */
570 background-color: #FFFFC0;
571 }
572 .successbox {
573 border-color: green;
574 background-color: #dfd;
575 }
576 .errorbox h2,
577 .warningbox h2,
578 .successbox h2 {
579 font-size: 1em;
580 font-weight: bold;
581 display: inline;
582 margin: 0 .5em 0 0;
583 border: none;
584 }
585
586 /* general info/warning box for SP */
587 .mw-infobox {
588 border: 2px solid #ff7f00;
589 margin: 0.5em;
590 clear: left;
591 overflow: hidden;
592 }
593
594 .mw-infobox-left {
595 margin: 7px;
596 float: left;
597 width: 35px;
598 }
599
600 .mw-infobox-right {
601 margin: 0.5em 0.5em 0.5em 49px;
602 }
603
604 /* Note on preview page */
605 .previewnote {
606 color: #c00;
607 margin-bottom: 1em;
608 }
609
610 .previewnote p {
611 text-indent: 3em;
612 margin: 0.8em 0;
613 }
614
615 .visualClear {
616 clear: both;
617 }
618
619 #mw_trackbacks {
620 border: solid 1px #bbbbff;
621 background-color: #eeeeff;
622 padding: 0.2em;
623 }
624
625 /**
626 * Data table style
627 *
628 * Transparent table with suddle borders
629 * and blue row-highlighting.
630 */
631 .mw-datatable {
632 border-collapse: collapse;
633 }
634 .mw-datatable,
635 .mw-datatable td,
636 .mw-datatable th {
637 border: 1px solid #aaaaaa;
638 padding: 0 0.15em 0 0.15em;
639 }
640 .mw-datatable th {
641 background-color: #ddddff;
642 }
643 .mw-datatable td {
644 background-color: #ffffff;
645 }
646 .mw-datatable tr:hover td {
647 background-color: #eeeeff;
648 }
649
650
651 /**
652 * TablePager tables generated by the TablePager PHP class
653 * in MediaWiki (e.g. Special:ListFiles).
654 */
655 .TablePager {
656 min-width: 80%;
657 }
658 .TablePager_nav {
659 margin: 0 auto;
660 }
661 .TablePager_nav td {
662 padding: 3px;
663 text-align: center;
664 }
665 .TablePager_nav a {
666 text-decoration: none;
667 }
668
669 .imagelist td,
670 .imagelist th {
671 white-space: nowrap;
672 }
673 .imagelist .TablePager_col_links {
674 background-color: #eeeeff;
675 }
676 .imagelist .TablePager_col_img_description {
677 white-space: normal;
678 }
679 .imagelist th.TablePager_sort {
680 background-color: #ccccff;
681 }
682
683 /* filetoc */
684 ul#filetoc {
685 text-align: center;
686 border: 1px solid #aaaaaa;
687 background-color: #f9f9f9;
688 padding: 5px;
689 font-size: 95%;
690 margin-bottom: 0.5em;
691 margin-left: 0;
692 margin-right: 0;
693 }
694
695 #filetoc li {
696 display: inline;
697 list-style-type: none;
698 padding-right: 2em;
699 }
700
701 /* Classes for Exif data display */
702 table.mw_metadata {
703 font-size: 0.8em;
704 margin-left: 0.5em;
705 margin-bottom: 0.5em;
706 width: 400px;
707 }
708
709 table.mw_metadata caption {
710 font-weight: bold;
711 }
712
713 table.mw_metadata th {
714 font-weight: normal;
715 }
716
717 table.mw_metadata td {
718 padding: 0.1em;
719 }
720
721 table.mw_metadata {
722 border: none;
723 border-collapse: collapse;
724 }
725
726 table.mw_metadata td,
727 table.mw_metadata th {
728 text-align: center;
729 border: 1px solid #aaaaaa;
730 padding-left: 5px;
731 padding-right: 5px;
732 }
733
734 table.mw_metadata th {
735 background-color: #f9f9f9;
736 }
737
738 table.mw_metadata td {
739 background-color: #fcfcfc;
740 }
741
742 table.mw_metadata ul.metadata-langlist {
743 list-style-type: none;
744 list-style-image: none;
745 padding-right: 5px;
746 padding-left: 5px;
747 margin: 0;
748 }
749
750 /* Correct directionality when page dir is different from site/user dir */
751 .mw-content-ltr ul,
752 .mw-content-rtl .mw-content-ltr ul {
753 /* @noflip */
754 margin: 0.3em 0 0 1.6em;
755 padding: 0;
756 }
757 .mw-content-rtl ul,
758 .mw-content-ltr .mw-content-rtl ul {
759 /* @noflip */
760 margin: 0.3em 1.6em 0 0;
761 padding: 0;
762 }
763 .mw-content-ltr ol,
764 .mw-content-rtl .mw-content-ltr ol {
765 /* @noflip */
766 margin: 0.3em 0 0 3.2em;
767 padding: 0;
768 }
769 .mw-content-rtl ol,
770 .mw-content-ltr .mw-content-rtl ol {
771 /* @noflip */
772 margin: 0.3em 3.2em 0 0;
773 padding: 0;
774 }
775 /* @noflip */
776 .mw-content-ltr dd,
777 .mw-content-rtl .mw-content-ltr dd {
778 margin-left: 1.6em;
779 margin-right: 0;
780 }
781 /* @noflip */
782 .mw-content-rtl dd,
783 .mw-content-ltr .mw-content-rtl dd {
784 margin-right: 1.6em;
785 margin-left: 0;
786 }
787
788 /* Galleries */
789 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
790 /* Don't forget to update commonPrint.css */
791 li.gallerybox {
792 vertical-align: top;
793 display: -moz-inline-box;
794 display: inline-block;
795 }
796
797 ul.gallery,
798 li.gallerybox {
799 zoom: 1;
800 *display: inline;
801 }
802
803 ul.gallery {
804 margin: 2px;
805 padding: 2px;
806 display: block;
807 }
808
809 li.gallerycaption {
810 font-weight: bold;
811 text-align: center;
812 display: block;
813 word-wrap: break-word;
814 }
815
816 li.gallerybox div.thumb {
817 text-align: center;
818 border: 1px solid #ccc;
819 background-color: #f9f9f9;
820 margin: 2px;
821 }
822
823 li.gallerybox div.thumb img {
824 display: block;
825 margin: 0 auto;
826 }
827
828 div.gallerytext {
829 overflow: hidden;
830 font-size: 94%;
831 padding: 2px 4px;
832 word-wrap: break-word;
833 }
834
835 /* new gallery stuff */
836 ul.mw-gallery-nolines li.gallerybox div.thumb {
837 background-color: transparent;
838 border: none;
839 }
840
841 ul.mw-gallery-nolines li.gallerybox div.gallerytext {
842 text-align: center;
843 }
844
845 /* height constrained gallery */
846
847 ul.mw-gallery-packed li.gallerybox div.thumb,
848 ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
849 ul.mw-gallery-packed-hover li.gallerybox div.thumb {
850 background-color: transparent;
851 border: none;
852 }
853 ul.mw-gallery-packed li.gallerybox div.thumb img,
854 ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
855 ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
856 margin: 0 auto;
857 }
858
859 ul.mw-gallery-packed-hover li.gallerybox,
860 ul.mw-gallery-packed-overlay li.gallerybox {
861 position:relative;
862 }
863
864 ul.mw-gallery-packed-hover div.gallerytextwrapper {
865 overflow: hidden;
866 height: 0;
867 }
868
869 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
870 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
871 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
872 position:absolute;
873 opacity:.8;
874 filter:alpha(opacity=80);
875 zoom: 1;
876 background-color:white;
877 padding: 5px 10px;
878 bottom: 0;
879 left: 0; /* Needed for IE */
880 height: auto;
881 font-weight: bold;
882 margin: 2px; /* correspond to style on div.thumb */
883 }
884
885 ul.mw-gallery-packed-hover,
886 ul.mw-gallery-packed-overlay,
887 ul.mw-gallery-packed {
888 text-align: center;
889 }
890
891 ul.mw-gallery-packed-hover div.gallerytext,
892 ul.mw-gallery-packed-overlay div.gallerytext {
893 opacity: 1;
894 position: relative; /* Resets opacity in old IE */
895 }
896
897
898 .mw-ajax-loader {
899 /* @embed */
900 background-image: url(images/ajax-loader.gif);
901 background-position: center center;
902 background-repeat: no-repeat;
903 padding: 16px;
904 position: relative;
905 top: -16px;
906 }
907
908 .mw-small-spinner {
909 padding: 10px !important;
910 margin-right: 0.6em;
911 /* @embed */
912 background-image: url(images/spinner.gif);
913 background-position: center center;
914 background-repeat: no-repeat;
915 }
916
917 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
918 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
919 h1:lang(anp),
920 h1:lang(as),
921 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
922 h1:lang(bho),
923 h1:lang(bn),
924 h1:lang(gu),
925 h1:lang(hi),
926 h1:lang(kn),
927 h1:lang(ks),
928 h1:lang(ml),
929 h1:lang(mr),
930 h1:lang(my),
931 h1:lang(mai),
932 h1:lang(ne),
933 h1:lang(new),
934 h1:lang(or),
935 h1:lang(pa),
936 h1:lang(pi),
937 h1:lang(sa),
938 h1:lang(ta),
939 h1:lang(te) {
940 line-height: 1.6em !important;
941 }
942 h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp),
943 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
944 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
945 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
946 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
947 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
948 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
949 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
950 h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks),
951 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
952 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
953 h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
954 h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai),
955 h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne),
956 h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new),
957 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
958 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
959 h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi),
960 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
961 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
962 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
963 line-height: 1.2em;
964 }
965
966 /* Localised ordered list numbering for some languages */
967 ol:lang(bcc) li,
968 ol:lang(bqi) li,
969 ol:lang(fa) li,
970 ol:lang(glk) li,
971 ol:lang(kk-arab) li,
972 ol:lang(mzn) li {
973 list-style-type: -moz-persian;
974 list-style-type: persian;
975 }
976
977 ol:lang(ckb) li {
978 list-style-type: -moz-arabic-indic;
979 list-style-type: arabic-indic;
980 }
981
982 ol:lang(hi) li,
983 ol:lang(mr) li {
984 list-style-type: -moz-devanagari;
985 list-style-type: devanagari;
986 }
987
988 ol:lang(as) li,
989 ol:lang(bn) li {
990 list-style-type: -moz-bengali;
991 list-style-type: bengali;
992 }
993
994 ol:lang(or) li {
995 list-style-type: -moz-oriya;
996 list-style-type: oriya;
997 }
998
999 #toc ul, .toc ul {
1000 margin: .3em 0;
1001 }
1002
1003 /* Correct directionality when page dir is different from site/user dir */
1004 /* @noflip */ .mw-content-ltr .toc ul,
1005 .mw-content-ltr #toc ul,
1006 .mw-content-rtl .mw-content-ltr .toc ul,
1007 .mw-content-rtl .mw-content-ltr #toc ul {
1008 text-align: left;
1009 }
1010 /* @noflip */ .mw-content-rtl .toc ul,
1011 .mw-content-rtl #toc ul,
1012 .mw-content-ltr .mw-content-rtl .toc ul,
1013 .mw-content-ltr .mw-content-rtl #toc ul {
1014 text-align: right;
1015 }
1016 /* @noflip */ .mw-content-ltr .toc ul ul,
1017 .mw-content-ltr #toc ul ul,
1018 .mw-content-rtl .mw-content-ltr .toc ul ul,
1019 .mw-content-rtl .mw-content-ltr #toc ul ul {
1020 margin: 0 0 0 2em;
1021 }
1022 /* @noflip */ .mw-content-rtl .toc ul ul,
1023 .mw-content-rtl #toc ul ul,
1024 .mw-content-ltr .mw-content-rtl .toc ul ul,
1025 .mw-content-ltr .mw-content-rtl #toc ul ul {
1026 margin: 0 2em 0 0;
1027 }
1028
1029 #toc #toctitle,
1030 .toc #toctitle,
1031 #toc .toctitle,
1032 .toc .toctitle {
1033 direction: ltr;
1034 }
1035
1036 /* tooltip styles */
1037 .mw-help-field-hint {
1038 display: none;
1039 margin-left: 2px;
1040 margin-bottom: -8px;
1041 padding: 0 0 0 15px;
1042 /* @embed */
1043 background-image: url('images/help-question.gif');
1044 background-position: left center;
1045 background-repeat: no-repeat;
1046 cursor: pointer;
1047 font-size: .8em;
1048 text-decoration: underline;
1049 color: #0645ad;
1050 }
1051 .mw-help-field-hint:hover {
1052 /* @embed */
1053 background-image: url('images/help-question-hover.gif');
1054 }
1055 .mw-help-field-data {
1056 display: block;
1057 background-color: #d6f3ff;
1058 padding:5px 8px 4px 8px;
1059 border: 1px solid #5dc9f4;
1060 margin-left: 20px;
1061 }
1062 .tipsy {
1063 padding: 5px 5px 10px;
1064 font-size: 12px;
1065 position: absolute;
1066 z-index: 100000;
1067 overflow: visible;
1068 }
1069 .tipsy-inner {
1070 padding: 5px 8px 4px 8px;
1071 background-color: #d6f3ff;
1072 color: black;
1073 border: 1px solid #5dc9f4;
1074 max-width: 300px;
1075 text-align: left;
1076 }
1077 .tipsy-arrow {
1078 position: absolute;
1079 /* @embed */
1080 background: url(images/tipsy-arrow.gif) no-repeat top left;
1081 width: 13px;
1082 height: 13px;
1083 }
1084 .tipsy-se .tipsy-arrow {
1085 bottom: -2px;
1086 right: 10px;
1087 background-position: 0% 100%;
1088 }
1089
1090 #mw-clearyourcache,
1091 #mw-sitecsspreview,
1092 #mw-sitejspreview,
1093 #mw-usercsspreview,
1094 #mw-userjspreview {
1095 direction: ltr;
1096 unicode-bidi: embed;
1097 }
1098
1099 /* Correct user & content directionality when viewing a diff */
1100 .diff-currentversion-title,
1101 .diff {
1102 direction: ltr;
1103 unicode-bidi: embed;
1104 }
1105 /* @noflip */ .diff-contentalign-right td {
1106 direction: rtl;
1107 unicode-bidi: embed;
1108 }
1109 /* @noflip */ .diff-contentalign-left td {
1110 direction: ltr;
1111 unicode-bidi: embed;
1112 }
1113 .diff-multi,
1114 .diff-otitle,
1115 .diff-ntitle,
1116 .diff-lineno {
1117 direction: ltr !important;
1118 unicode-bidi: embed;
1119 }
1120
1121 #mw-revision-info,
1122 #mw-revision-info-current,
1123 #mw-revision-nav {
1124 direction: ltr;
1125 display: inline;
1126 }
1127
1128 /* Images */
1129
1130 /* @noflip */ div.tright,
1131 div.floatright,
1132 table.floatright {
1133 clear: right;
1134 float: right;
1135 }
1136 /* @noflip */ div.tleft,
1137 div.floatleft,
1138 table.floatleft {
1139 float: left;
1140 clear: left;
1141 }
1142 div.floatright,
1143 table.floatright,
1144 div.floatleft,
1145 table.floatleft {
1146 position: relative;
1147 }
1148
1149 /* bug 12205 */
1150 #mw-credits a {
1151 unicode-bidi: embed;
1152 }
1153
1154 /* Accessibility */
1155 .mw-jump,
1156 #jump-to-nav {
1157 overflow: hidden;
1158 height: 0;
1159 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1160 }
1161
1162 /* Print footer should be hidden by default in screen. */
1163 .printfooter {
1164 display: none;
1165 }
1166
1167 /* For developpers */
1168 .xdebug-error {
1169 position: absolute;
1170 z-index: 99;
1171 }
1172
1173 .mw-editsection,
1174 .toctoggle {
1175 -moz-user-select: none;
1176 -webkit-user-select: none;
1177 -ms-user-select: none;
1178 user-select: none;
1179 }
1180
1181 /* Display editsection links smaller and next to headings */
1182 .mw-editsection {
1183 font-size: small;
1184 font-weight: normal;
1185 margin-left: 1em;
1186 vertical-align: baseline;
1187 /* Reset line-height; headings tend to have it set to larger values */
1188 line-height: 1em;
1189 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1190 /* of the heading content when selecting text by multiple clicks and thus */
1191 /* selected together with heading content, despite the user-select: none; */
1192 /* rule set above. This enforces non-selection without changing the look. */
1193 display: inline-block;
1194 }
1195
1196 /* Correct directionality when page dir is different from site/user dir */
1197 /* @noflip */
1198 .mw-content-ltr .mw-editsection,
1199 .mw-content-rtl .mw-content-ltr .mw-editsection {
1200 margin-left: 1em;
1201 }
1202 /* @noflip */
1203 .mw-content-rtl .mw-editsection,
1204 .mw-content-ltr .mw-content-rtl .mw-editsection {
1205 margin-right: 1em;
1206 }