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