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