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