Remove AjaxAddScript hook
[mediawiki.git] / skins / common / shared.css
blob5a8335d71c50424cce0ee340b4ddda5839e3a065
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 */
7 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
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.
13 .mw-content-ltr {
14 /* @noflip */
15 direction: ltr;
18 .mw-content-rtl {
19 /* @noflip */
20 direction: rtl;
23 /* Most input fields should be in site direction */
24 .sitedir-ltr textarea,
25 .sitedir-ltr input {
26 /* @noflip */
27 direction: ltr;
30 .sitedir-rtl textarea,
31 .sitedir-rtl input {
32 /* @noflip */
33 direction: rtl;
36 /* User-Agent styles for new HTML5 elements */
37 mark {
38 background-color: yellow;
39 color: black;
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;
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;
57 /* Override default values */
58 textarea[dir="ltr"],
59 input[dir="ltr"] {
60 /* @noflip */
61 direction: ltr;
64 textarea[dir="rtl"],
65 input[dir="rtl"] {
66 /* @noflip */
67 direction: rtl;
70 /* Default style for semantic tags */
71 abbr[title],
72 .explain[title] {
73 border-bottom: 1px dotted;
74 cursor: help;
77 /* Colored watchlist and recent changes numbers */
78 .mw-plusminus-pos {
79 color: #006400; /* dark green */
82 .mw-plusminus-neg {
83 color: #8b0000; /* dark red */
86 .mw-plusminus-null {
87 color: #aaa; /* gray */
90 /**
91 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
92 * [[Special:Watchlist/edit]] and in category listings.
94 .allpagesredirect,
95 .redirect-in-category,
96 .watchlistredir {
97 font-style: italic;
100 /* Comment and username portions of RC entries */
101 span.comment {
102 font-style: italic;
105 span.changedby {
106 font-size: 95%;
109 /* Math */
110 .texvc {
111 direction: ltr;
112 unicode-bidi: embed;
115 img.tex {
116 vertical-align: middle;
119 span.texhtml {
120 font-family: serif;
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
127 #wikiPreview.ontop {
128 margin-bottom: 1em;
131 /* Stop floats from intruding into edit area in previews */
132 #editform,
133 #toolbar,
134 #wpTextbox1 {
135 clear: both;
138 #toolbar img {
139 cursor: pointer;
143 * File description page
146 div.mw-filepage-resolutioninfo {
147 font-size: smaller;
151 * File histories
153 h2#filehistory {
154 clear: both;
157 table.filehistory th,
158 table.filehistory td {
159 vertical-align: top;
162 table.filehistory th {
163 text-align: left;
166 table.filehistory td.mw-imagepage-filesize,
167 table.filehistory th.mw-imagepage-filesize {
168 white-space: nowrap;
171 table.filehistory td.filehistory-selected {
172 font-weight: bold;
176 * Add a checkered background image on hover for file
177 * description pages. (bug 26470)
179 .filehistory a img,
180 #file img:hover {
181 /* @embed */
182 background: white url(images/Checker-16x16.png) repeat;
186 * rev_deleted stuff
188 li span.deleted,
189 span.history-deleted {
190 text-decoration: line-through;
191 color: #888;
192 font-style: italic;
196 * Patrol stuff
198 .not-patrolled {
199 background-color: #ffa;
202 .unpatrolled {
203 font-weight: bold;
204 color: red;
207 div.patrollink {
208 font-size: 75%;
209 text-align: right;
213 * Forms
215 td.mw-label {
216 text-align: right;
219 td.mw-input {
220 text-align: left;
223 td.mw-submit {
224 text-align: left;
227 td.mw-label {
228 vertical-align: top;
231 .prefsection td.mw-label {
232 width: 20%;
235 .prefsection table {
236 width: 100%;
239 .prefsection table.mw-htmlform-matrix {
240 width: auto;
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;
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);
268 td.mw-submit {
269 white-space: nowrap;
272 table.mw-htmlform-nolabel td.mw-label {
273 width: 1px;
276 tr.mw-htmlform-vertical-label td.mw-label {
277 text-align: left !important;
280 .mw-htmlform-invalid-input td.mw-input input {
281 border-color: red;
284 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
285 display: inline;
286 margin-right: 1em;
287 white-space: nowrap;
290 .mw-htmlform-matrix td {
291 padding-left: 0.5em;
292 padding-right: 0.5em;
295 input#wpSummary {
296 width: 80%;
297 margin-bottom: 1em;
301 * Image captions
303 /* @noflip */
304 .mw-content-ltr .thumbcaption {
305 text-align: left;
308 /* @noflip */
309 .mw-content-rtl .thumbcaption {
310 text-align: right;
313 /* @noflip */
314 .mw-content-ltr .magnify {
315 float: right;
318 /* @noflip */
319 .mw-content-rtl .magnify {
320 float: left;
324 * Categories
326 #catlinks {
328 * Overrides text justification (user preference)
329 * See bug 31990
331 text-align: left;
334 .catlinks ul {
335 display: inline;
336 margin: 0;
337 padding: 0;
338 list-style: none;
339 list-style-type: none;
340 list-style-image: none;
341 vertical-align: middle !ie;
344 .catlinks li {
345 display: inline-block;
346 line-height: 1.25em;
347 border-left: 1px solid #AAA;
348 margin: 0.125em 0;
349 padding: 0 0.5em;
350 zoom: 1;
351 display: inline !ie;
354 .catlinks li:first-child {
355 padding-left: 0.25em;
356 border-left: none;
359 /* (bug 5346) make category redirects italic */
360 .catlinks li a.mw-redirect {
361 font-style: italic;
365 * Hidden categories
367 .mw-hidden-cats-hidden {
368 display: none;
371 .catlinks-allhidden {
372 display: none;
376 * Convenience links to edit block, delete and protect reasons
377 * and upload licenses
379 p.mw-ipb-conveniencelinks,
380 p.mw-protect-editreasons,
381 p.mw-filedelete-editreasons,
382 p.mw-delete-editreasons,
383 p.mw-revdel-editreasons,
384 p.mw-upload-editlicenses {
385 font-size: 90%;
386 text-align: right;
390 * OpenSearch ajax suggestions
392 .os-suggest {
393 overflow: auto;
394 overflow-x: hidden;
395 position: absolute;
396 top: 0;
397 left: 0;
398 width: 0;
399 background-color: white;
400 border-style: solid;
401 border-color: #AAAAAA;
402 border-width: 1px;
403 z-index: 99;
404 font-size: 95%;
407 table.os-suggest-results {
408 font-size: 95%;
409 cursor: pointer;
410 border: 0;
411 border-collapse: collapse;
412 width: 100%;
415 .os-suggest-result,
416 .os-suggest-result-hl {
417 white-space: nowrap;
418 background-color: white;
419 color: black;
420 padding: 2px;
423 .os-suggest-result-hl,
424 .os-suggest-result-hl-webkit {
425 background-color: #4C59A6;
426 color: white;
429 .os-suggest-toggle {
430 position: relative;
431 left: 1ex;
432 font-size: 65%;
435 .os-suggest-toggle-def {
436 position: absolute;
437 top: 0;
438 left: 0;
439 font-size: 65%;
440 visibility: hidden;
443 /* Page history styling */
445 /* The auto-generated edit comments */
446 .autocomment {
447 color: gray;
450 #pagehistory .history-user {
451 margin-left: 0.4em;
452 margin-right: 0.2em;
455 #pagehistory span.minor {
456 font-weight: bold;
459 #pagehistory li {
460 border: 1px solid white;
463 #pagehistory li.selected {
464 background-color: #f9f9f9;
465 border: 1px dashed #aaa;
468 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
469 float: right;
472 /** Generic minor/bot/newpage styling (recent changes) */
473 .newpage,
474 .minoredit,
475 .botedit {
476 font-weight: bold;
479 #shared-image-dup,
480 #shared-image-conflict {
481 font-style: italic;
485 * Recreating deleted page warning
486 * Reupload file warning
487 * Page protection warning
488 * incl. log entries for these warnings
490 div.mw-warning-with-logexcerpt {
491 padding: 3px;
492 margin-bottom: 3px;
493 border: 2px solid #2F6FAB;
494 clear: both;
497 div.mw-warning-with-logexcerpt ul li {
498 font-size: 90%;
501 /* (show/hide) revision deletion links */
502 span.mw-revdelundel-link,
503 strong.mw-revdelundel-link {
504 font-size: 90%;
507 span.mw-revdelundel-hidden,
508 input.mw-revdelundel-hidden {
509 visibility: hidden;
512 td.mw-revdel-checkbox,
513 th.mw-revdel-checkbox {
514 padding-right: 10px;
515 text-align: center;
518 /* red links; see bug 36276 */
519 a.new {
520 color: #BA0000;
523 /* feed links */
524 a.feedlink {
525 /* SVG support using a transparent gradient to guarantee cross-browser
526 * compatibility (browsers able to understand gradient syntax support also SVG).
527 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
528 background-image: url(images/feed-icon.png);
529 /* @embed */
530 background-image: -webkit-linear-gradient(transparent, transparent), url(images/feed-icon.svg);
531 /* @embed */
532 background-image: linear-gradient(transparent, transparent), url(images/feed-icon.svg);
533 background-position: center left;
534 background-repeat: no-repeat;
535 background-size: 12px 12px;
536 padding-left: 16px;
539 /* Plainlinks - this can be used to switch
540 * off special external link styling */
541 .plainlinks a {
542 background: none !important;
543 padding: 0 !important;
546 /* External URLs should always be treated as LTR (bug 4330) */
547 /* @noflip */ .rtl a.external.free,
548 .rtl a.external.autonumber {
549 direction: ltr;
550 unicode-bidi: embed;
554 * wikitable class for skinning normal tables
555 * keep in sync with commonPrint.css
557 table.wikitable {
558 margin: 1em 0;
559 background-color: #f9f9f9;
560 border: 1px #aaa solid;
561 border-collapse: collapse;
562 color: black;
565 table.wikitable > tr > th,
566 table.wikitable > tr > td,
567 table.wikitable > * > tr > th,
568 table.wikitable > * > tr > td {
569 border: 1px #aaa solid;
570 padding: 0.2em;
573 table.wikitable > tr > th,
574 table.wikitable > * > tr > th {
575 background-color: #f2f2f2;
576 text-align: center;
579 table.wikitable > caption {
580 font-weight: bold;
584 * Hide collapsable rows in a collapsed table.
586 * Used by ImagePage and the mediawiki.action.view.metadata module.
588 table.collapsed tr.collapsable {
589 display: none;
592 /* success and error messages */
593 .error,
594 .warning,
595 .success {
596 font-size: larger;
599 .error {
600 color: #cc0000;
603 .warning {
604 color: #705000;
607 .success {
608 color: #009000;
611 .errorbox,
612 .warningbox,
613 .successbox {
614 border: 1px solid;
615 padding: .5em 1em;
616 margin-bottom: 1em;
617 display: -moz-inline-block;
618 display: inline-block;
619 zoom: 1;
620 *display: inline;
623 .errorbox h2,
624 .warningbox h2,
625 .successbox h2 {
626 font-size: 1em;
627 color: inherit;
628 font-weight: bold;
629 display: inline;
630 margin: 0 .5em 0 0;
631 border: none;
634 .errorbox {
635 color: #cc0000;
636 border-color: #fac5c5;
637 background-color: #fae3e3;
640 .warningbox {
641 color: #705000;
642 border-color: #fde29b;
643 background-color: #fdf1d1;
646 .successbox {
647 color: #009000;
648 border-color: #b7fdb5;
649 background-color: #e1fddf;
652 /* general info/warning box for SP */
653 .mw-infobox {
654 border: 2px solid #ff7f00;
655 margin: 0.5em;
656 clear: left;
657 overflow: hidden;
660 .mw-infobox-left {
661 margin: 7px;
662 float: left;
663 width: 35px;
666 .mw-infobox-right {
667 margin: 0.5em 0.5em 0.5em 49px;
670 /* Note on preview page */
671 .previewnote {
672 color: #c00;
673 margin-bottom: 1em;
676 .previewnote p {
677 text-indent: 3em;
678 margin: 0.8em 0;
681 .visualClear {
682 clear: both;
686 * Data table style
688 * Transparent table with suddle borders
689 * and blue row-highlighting.
691 .mw-datatable {
692 border-collapse: collapse;
695 .mw-datatable,
696 .mw-datatable td,
697 .mw-datatable th {
698 border: 1px solid #aaaaaa;
699 padding: 0 0.15em 0 0.15em;
702 .mw-datatable th {
703 background-color: #ddddff;
706 .mw-datatable td {
707 background-color: #ffffff;
710 .mw-datatable tr:hover td {
711 background-color: #eeeeff;
715 * TablePager tables generated by the TablePager PHP class
716 * in MediaWiki (e.g. Special:ListFiles).
718 .TablePager {
719 min-width: 80%;
722 .TablePager_nav {
723 margin: 0 auto;
726 .TablePager_nav td {
727 padding: 3px;
728 text-align: center;
731 .TablePager_nav a {
732 text-decoration: none;
735 .imagelist td,
736 .imagelist th {
737 white-space: nowrap;
740 .imagelist .TablePager_col_links {
741 background-color: #eeeeff;
744 .imagelist .TablePager_col_img_description {
745 white-space: normal;
748 .imagelist th.TablePager_sort {
749 background-color: #ccccff;
752 /* filetoc */
753 ul#filetoc {
754 text-align: center;
755 border: 1px solid #aaaaaa;
756 background-color: #f9f9f9;
757 padding: 5px;
758 font-size: 95%;
759 margin-bottom: 0.5em;
760 margin-left: 0;
761 margin-right: 0;
764 #filetoc li {
765 display: inline;
766 list-style-type: none;
767 padding-right: 2em;
770 /* Classes for Exif data display */
771 table.mw_metadata {
772 font-size: 0.8em;
773 margin-left: 0.5em;
774 margin-bottom: 0.5em;
775 width: 400px;
778 table.mw_metadata caption {
779 font-weight: bold;
782 table.mw_metadata th {
783 font-weight: normal;
786 table.mw_metadata td {
787 padding: 0.1em;
790 table.mw_metadata {
791 border: none;
792 border-collapse: collapse;
795 table.mw_metadata td,
796 table.mw_metadata th {
797 text-align: center;
798 border: 1px solid #aaaaaa;
799 padding-left: 5px;
800 padding-right: 5px;
803 table.mw_metadata th {
804 background-color: #f9f9f9;
807 table.mw_metadata td {
808 background-color: #fcfcfc;
811 table.mw_metadata ul.metadata-langlist {
812 list-style-type: none;
813 list-style-image: none;
814 padding-right: 5px;
815 padding-left: 5px;
816 margin: 0;
819 /* Correct directionality when page dir is different from site/user dir */
820 .mw-content-ltr ul,
821 .mw-content-rtl .mw-content-ltr ul {
822 /* @noflip */
823 margin: 0.3em 0 0 1.6em;
824 padding: 0;
827 .mw-content-rtl ul,
828 .mw-content-ltr .mw-content-rtl ul {
829 /* @noflip */
830 margin: 0.3em 1.6em 0 0;
831 padding: 0;
834 .mw-content-ltr ol,
835 .mw-content-rtl .mw-content-ltr ol {
836 /* @noflip */
837 margin: 0.3em 0 0 3.2em;
838 padding: 0;
841 .mw-content-rtl ol,
842 .mw-content-ltr .mw-content-rtl ol {
843 /* @noflip */
844 margin: 0.3em 3.2em 0 0;
845 padding: 0;
848 /* @noflip */
849 .mw-content-ltr dd,
850 .mw-content-rtl .mw-content-ltr dd {
851 margin-left: 1.6em;
852 margin-right: 0;
855 /* @noflip */
856 .mw-content-rtl dd,
857 .mw-content-ltr .mw-content-rtl dd {
858 margin-right: 1.6em;
859 margin-left: 0;
862 /* Galleries */
863 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
864 /* Don't forget to update commonPrint.css */
865 li.gallerybox {
866 vertical-align: top;
867 display: -moz-inline-box;
868 display: inline-block;
871 ul.gallery,
872 li.gallerybox {
873 zoom: 1;
874 *display: inline;
877 ul.gallery {
878 margin: 2px;
879 padding: 2px;
880 display: block;
883 li.gallerycaption {
884 font-weight: bold;
885 text-align: center;
886 display: block;
887 word-wrap: break-word;
890 li.gallerybox div.thumb {
891 text-align: center;
892 border: 1px solid #ccc;
893 background-color: #f9f9f9;
894 margin: 2px;
897 li.gallerybox div.thumb img {
898 display: block;
899 margin: 0 auto;
902 div.gallerytext {
903 overflow: hidden;
904 font-size: 94%;
905 padding: 2px 4px;
906 word-wrap: break-word;
909 /* new gallery stuff */
910 ul.mw-gallery-nolines li.gallerybox div.thumb {
911 background-color: transparent;
912 border: none;
915 ul.mw-gallery-nolines li.gallerybox div.gallerytext {
916 text-align: center;
919 /* height constrained gallery */
921 ul.mw-gallery-packed li.gallerybox div.thumb,
922 ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
923 ul.mw-gallery-packed-hover li.gallerybox div.thumb {
924 background-color: transparent;
925 border: none;
928 ul.mw-gallery-packed li.gallerybox div.thumb img,
929 ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
930 ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
931 margin: 0 auto;
934 ul.mw-gallery-packed-hover li.gallerybox,
935 ul.mw-gallery-packed-overlay li.gallerybox {
936 position: relative;
939 ul.mw-gallery-packed-hover div.gallerytextwrapper {
940 overflow: hidden;
941 height: 0;
944 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
945 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
946 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
947 position: absolute;
948 background: white;
949 background: rgba(255, 255, 255, 0.8);
950 padding: 5px 10px;
951 bottom: 0;
952 left: 0; /* Needed for IE */
953 height: auto;
954 font-weight: bold;
955 margin: 2px; /* correspond to style on div.thumb */
958 ul.mw-gallery-packed-hover,
959 ul.mw-gallery-packed-overlay,
960 ul.mw-gallery-packed {
961 text-align: center;
964 .mw-ajax-loader {
965 /* @embed */
966 background-image: url(images/ajax-loader.gif);
967 background-position: center center;
968 background-repeat: no-repeat;
969 padding: 16px;
970 position: relative;
971 top: -16px;
974 .mw-small-spinner {
975 padding: 10px !important;
976 margin-right: 0.6em;
977 /* @embed */
978 background-image: url(images/spinner.gif);
979 background-position: center center;
980 background-repeat: no-repeat;
983 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
984 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
985 h1:lang(anp),
986 h1:lang(as),
987 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
988 h1:lang(bho),
989 h1:lang(bn),
990 h1:lang(gu),
991 h1:lang(hi),
992 h1:lang(kn),
993 h1:lang(ks),
994 h1:lang(ml),
995 h1:lang(mr),
996 h1:lang(my),
997 h1:lang(mai),
998 h1:lang(ne),
999 h1:lang(new),
1000 h1:lang(or),
1001 h1:lang(pa),
1002 h1:lang(pi),
1003 h1:lang(sa),
1004 h1:lang(ta),
1005 h1:lang(te) {
1006 line-height: 1.6em !important;
1009 h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp),
1010 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
1011 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
1012 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
1013 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
1014 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
1015 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
1016 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
1017 h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks),
1018 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
1019 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
1020 h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
1021 h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai),
1022 h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne),
1023 h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new),
1024 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
1025 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
1026 h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi),
1027 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
1028 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
1029 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
1030 line-height: 1.2em;
1033 /* Localised ordered list numbering for some languages */
1034 ol:lang(bcc) li,
1035 ol:lang(bqi) li,
1036 ol:lang(fa) li,
1037 ol:lang(glk) li,
1038 ol:lang(kk-arab) li,
1039 ol:lang(mzn) li {
1040 list-style-type: -moz-persian;
1041 list-style-type: persian;
1044 ol:lang(ckb) li {
1045 list-style-type: -moz-arabic-indic;
1046 list-style-type: arabic-indic;
1049 ol:lang(hi) li,
1050 ol:lang(mr) li {
1051 list-style-type: -moz-devanagari;
1052 list-style-type: devanagari;
1055 ol:lang(as) li,
1056 ol:lang(bn) li {
1057 list-style-type: -moz-bengali;
1058 list-style-type: bengali;
1061 ol:lang(or) li {
1062 list-style-type: -moz-oriya;
1063 list-style-type: oriya;
1066 #toc ul, .toc ul {
1067 margin: .3em 0;
1070 /* Correct directionality when page dir is different from site/user dir */
1071 /* @noflip */ .mw-content-ltr .toc ul,
1072 .mw-content-ltr #toc ul,
1073 .mw-content-rtl .mw-content-ltr .toc ul,
1074 .mw-content-rtl .mw-content-ltr #toc ul {
1075 text-align: left;
1078 /* @noflip */ .mw-content-rtl .toc ul,
1079 .mw-content-rtl #toc ul,
1080 .mw-content-ltr .mw-content-rtl .toc ul,
1081 .mw-content-ltr .mw-content-rtl #toc ul {
1082 text-align: right;
1085 /* @noflip */ .mw-content-ltr .toc ul ul,
1086 .mw-content-ltr #toc ul ul,
1087 .mw-content-rtl .mw-content-ltr .toc ul ul,
1088 .mw-content-rtl .mw-content-ltr #toc ul ul {
1089 margin: 0 0 0 2em;
1092 /* @noflip */ .mw-content-rtl .toc ul ul,
1093 .mw-content-rtl #toc ul ul,
1094 .mw-content-ltr .mw-content-rtl .toc ul ul,
1095 .mw-content-ltr .mw-content-rtl #toc ul ul {
1096 margin: 0 2em 0 0;
1099 #toc #toctitle,
1100 .toc #toctitle,
1101 #toc .toctitle,
1102 .toc .toctitle {
1103 direction: ltr;
1106 /* tooltip styles */
1107 .mw-help-field-hint {
1108 display: none;
1109 margin-left: 2px;
1110 margin-bottom: -8px;
1111 padding: 0 0 0 15px;
1112 /* @embed */
1113 background-image: url(images/help-question.gif);
1114 background-position: left center;
1115 background-repeat: no-repeat;
1116 cursor: pointer;
1117 font-size: .8em;
1118 text-decoration: underline;
1119 color: #0645ad;
1122 .mw-help-field-hint:hover {
1123 /* @embed */
1124 background-image: url(images/help-question-hover.gif);
1127 .mw-help-field-data {
1128 display: block;
1129 background-color: #d6f3ff;
1130 padding: 5px 8px 4px 8px;
1131 border: 1px solid #5dc9f4;
1132 margin-left: 20px;
1135 #mw-clearyourcache,
1136 #mw-sitecsspreview,
1137 #mw-sitejspreview,
1138 #mw-usercsspreview,
1139 #mw-userjspreview {
1140 direction: ltr;
1141 unicode-bidi: embed;
1144 /* Correct user & content directionality when viewing a diff */
1145 .diff-currentversion-title,
1146 .diff {
1147 direction: ltr;
1148 unicode-bidi: embed;
1151 /* @noflip */ .diff-contentalign-right td {
1152 direction: rtl;
1153 unicode-bidi: embed;
1156 /* @noflip */ .diff-contentalign-left td {
1157 direction: ltr;
1158 unicode-bidi: embed;
1161 .diff-multi,
1162 .diff-otitle,
1163 .diff-ntitle,
1164 .diff-lineno {
1165 direction: ltr !important;
1166 unicode-bidi: embed;
1169 #mw-revision-info,
1170 #mw-revision-info-current,
1171 #mw-revision-nav {
1172 direction: ltr;
1173 display: inline;
1176 /* Images */
1178 /* @noflip */ div.tright,
1179 div.floatright,
1180 table.floatright {
1181 clear: right;
1182 float: right;
1185 /* @noflip */ div.tleft,
1186 div.floatleft,
1187 table.floatleft {
1188 float: left;
1189 clear: left;
1192 div.floatright,
1193 table.floatright,
1194 div.floatleft,
1195 table.floatleft {
1196 position: relative;
1199 /* bug 12205 */
1200 #mw-credits a {
1201 unicode-bidi: embed;
1204 /* Accessibility */
1205 .mw-jump,
1206 #jump-to-nav {
1207 overflow: hidden;
1208 height: 0;
1209 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1212 /* Print footer should be hidden by default in screen. */
1213 .printfooter {
1214 display: none;
1217 /* For developers */
1218 .xdebug-error {
1219 position: absolute;
1220 z-index: 99;
1223 .mw-editsection,
1224 .toctoggle,
1225 #jump-to-nav {
1226 -moz-user-select: none;
1227 -webkit-user-select: none;
1228 -ms-user-select: none;
1229 user-select: none;
1232 /* Display editsection links smaller and next to headings */
1233 .mw-editsection,
1234 .mw-editsection-like {
1235 font-size: small;
1236 font-weight: normal;
1237 margin-left: 1em;
1238 vertical-align: baseline;
1239 /* Reset line-height; headings tend to have it set to larger values */
1240 line-height: 1em;
1241 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1242 /* of the heading content when selecting text by multiple clicks and thus */
1243 /* selected together with heading content, despite the user-select: none; */
1244 /* rule set above. This enforces non-selection without changing the look. */
1245 display: inline-block;
1248 /* Correct directionality when page dir is different from site/user dir */
1249 /* @noflip */
1250 .mw-content-ltr .mw-editsection,
1251 .mw-content-rtl .mw-content-ltr .mw-editsection {
1252 margin-left: 1em;
1255 /* @noflip */
1256 .mw-content-rtl .mw-editsection,
1257 .mw-content-ltr .mw-content-rtl .mw-editsection {
1258 margin-right: 1em;
1261 /* Prevent citations and subscripts from interfering with the line-height */
1262 sup,
1263 sub {
1264 line-height: 1;