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