Merge "Force $wgCategoryCollation to be uppercase in tests"
[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 td.mw-submit {
239 white-space: nowrap;
240 }
241
242 table.mw-htmlform-nolabel td.mw-label {
243 width: 1px;
244 }
245
246 tr.mw-htmlform-vertical-label td.mw-label {
247 text-align: left !important;
248 }
249
250 .mw-htmlform-invalid-input td.mw-input input {
251 border-color: red;
252 }
253
254 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
255 display: inline;
256 margin-right: 1em;
257 white-space: nowrap;
258 }
259
260 .mw-htmlform-matrix td {
261 padding-left: 0.5em;
262 padding-right: 0.5em;
263 }
264
265 input#wpSummary {
266 width: 80%;
267 margin-bottom: 1em;
268 }
269
270 /**
271 * Image captions
272 */
273 /* @noflip */
274 .mw-content-ltr .thumbcaption {
275 text-align: left;
276 }
277 /* @noflip */
278 .mw-content-rtl .thumbcaption {
279 text-align: right;
280 }
281 /* @noflip */
282 .mw-content-ltr .magnify {
283 float: right;
284 }
285 /* @noflip */
286 .mw-content-rtl .magnify {
287 float: left;
288 }
289
290 /**
291 * Categories
292 */
293 #catlinks {
294 /**
295 * Overrides text justification (user preference)
296 * See bug 31990
297 */
298 text-align: left;
299 }
300 .catlinks ul {
301 display: inline;
302 margin: 0;
303 padding: 0;
304 list-style: none;
305 list-style-type: none;
306 list-style-image: none;
307 vertical-align: middle !ie;
308 }
309
310 .catlinks li {
311 display: inline-block;
312 line-height: 1.25em;
313 border-left: 1px solid #AAA;
314 margin: 0.125em 0;
315 padding: 0 0.5em;
316 zoom: 1;
317 display: inline !ie;
318 }
319
320 .catlinks li:first-child {
321 padding-left: 0.25em;
322 border-left: none;
323 }
324
325 /* (bug 5346) make category redirects italic */
326 .catlinks li a.mw-redirect {
327 font-style: italic;
328 }
329 /**
330 * Hidden categories
331 */
332 .mw-hidden-cats-hidden {
333 display: none;
334 }
335 .catlinks-allhidden {
336 display: none;
337 }
338
339 /* Convenience links to edit block, delete and protect reasons */
340 p.mw-ipb-conveniencelinks,
341 p.mw-protect-editreasons,
342 p.mw-filedelete-editreasons,
343 p.mw-delete-editreasons,
344 p.mw-revdel-editreasons {
345 font-size: 90%;
346 text-align: right;
347 }
348
349 /**
350 * OpenSearch ajax suggestions
351 */
352 .os-suggest {
353 overflow: auto;
354 overflow-x: hidden;
355 position: absolute;
356 top: 0;
357 left: 0;
358 width: 0;
359 background-color: white;
360 border-style: solid;
361 border-color: #AAAAAA;
362 border-width: 1px;
363 z-index:99;
364 font-size:95%;
365 }
366
367 table.os-suggest-results {
368 font-size: 95%;
369 cursor: pointer;
370 border: 0;
371 border-collapse: collapse;
372 width: 100%;
373 }
374
375 .os-suggest-result,
376 .os-suggest-result-hl {
377 white-space: nowrap;
378 background-color: white;
379 color: black;
380 padding: 2px;
381 }
382 .os-suggest-result-hl,
383 .os-suggest-result-hl-webkit {
384 background-color: #4C59A6;
385 color: white;
386 }
387
388 .os-suggest-toggle {
389 position: relative;
390 left: 1ex;
391 font-size: 65%;
392 }
393 .os-suggest-toggle-def {
394 position: absolute;
395 top: 0;
396 left: 0;
397 font-size: 65%;
398 visibility: hidden;
399 }
400
401 /* Page history styling */
402
403 /* The auto-generated edit comments */
404 .autocomment {
405 color: gray;
406 }
407 #pagehistory .history-user {
408 margin-left: 0.4em;
409 margin-right: 0.2em;
410 }
411 #pagehistory span.minor {
412 font-weight: bold;
413 }
414 #pagehistory li {
415 border: 1px solid white;
416 }
417 #pagehistory li.selected {
418 background-color: #f9f9f9;
419 border: 1px dashed #aaa;
420 }
421
422 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
423 float: right;
424 }
425
426 /** Generic minor/bot/newpage styling (recent changes) */
427 .newpage,
428 .minoredit,
429 .botedit {
430 font-weight: bold;
431 }
432
433 #shared-image-dup,
434 #shared-image-conflict {
435 font-style: italic;
436 }
437
438 /**
439 * Recreating deleted page warning
440 * Reupload file warning
441 * Page protection warning
442 * incl. log entries for these warnings
443 */
444 div.mw-warning-with-logexcerpt {
445 padding: 3px;
446 margin-bottom: 3px;
447 border: 2px solid #2F6FAB;
448 clear: both;
449 }
450 div.mw-warning-with-logexcerpt ul li {
451 font-size: 90%;
452 }
453
454 /* (show/hide) revision deletion links */
455 span.mw-revdelundel-link,
456 strong.mw-revdelundel-link {
457 font-size: 90%;
458 }
459 span.mw-revdelundel-hidden,
460 input.mw-revdelundel-hidden {
461 visibility: hidden;
462 }
463
464 td.mw-revdel-checkbox,
465 th.mw-revdel-checkbox {
466 padding-right: 10px;
467 text-align: center;
468 }
469
470 /* red links; see bug 36276 */
471 a.new {
472 color: #BA0000;
473 }
474
475 /* feed links */
476 a.feedlink {
477 /* @embed */
478 background: url(images/feed-icon.png) center left no-repeat;
479 padding-left: 16px;
480 }
481
482 /* Plainlinks - this can be used to switch
483 * off special external link styling */
484 .plainlinks a {
485 background: none !important;
486 padding: 0 !important;
487 }
488 /* External URLs should always be treated as LTR (bug 4330) */
489 /* @noflip */ .rtl a.external.free,
490 .rtl a.external.autonumber {
491 direction: ltr;
492 unicode-bidi: embed;
493 }
494
495 /**
496 * wikitable class for skinning normal tables
497 * keep in sync with commonPrint.css
498 */
499 table.wikitable {
500 margin: 1em 0;
501 background-color: #f9f9f9;
502 border: 1px #aaa solid;
503 border-collapse: collapse;
504 color: black;
505 }
506 table.wikitable > tr > th,
507 table.wikitable > tr > td,
508 table.wikitable > * > tr > th,
509 table.wikitable > * > tr > td {
510 border: 1px #aaa solid;
511 padding: 0.2em;
512 }
513 table.wikitable > tr > th,
514 table.wikitable > * > tr > th {
515 background-color: #f2f2f2;
516 text-align: center;
517 }
518 table.wikitable > caption {
519 font-weight: bold;
520 }
521
522 /* hide initially collapsed collapsable tables */
523 table.collapsed tr.collapsable {
524 display: none;
525 }
526
527 /* success and error messages */
528 .success {
529 color: green;
530 font-size: larger;
531 }
532 .warning {
533 color: #FFA500; /* orange */
534 font-size: larger;
535 }
536 .error {
537 color: red;
538 font-size: larger;
539 }
540 .errorbox,
541 .warningbox,
542 .successbox {
543 font-size: larger;
544 border: 2px solid;
545 padding: .5em 1em;
546 float: left;
547 margin-bottom: 2em;
548 color: #000;
549 }
550 .errorbox {
551 border-color: red;
552 background-color: #fff2f2;
553 }
554 .warningbox {
555 border-color: #FF8C00; /* darkorange */
556 background-color: #FFFFC0;
557 }
558 .successbox {
559 border-color: green;
560 background-color: #dfd;
561 }
562 .errorbox h2,
563 .warningbox h2,
564 .successbox h2 {
565 font-size: 1em;
566 font-weight: bold;
567 display: inline;
568 margin: 0 .5em 0 0;
569 border: none;
570 }
571
572 /* general info/warning box for SP */
573 .mw-infobox {
574 border: 2px solid #ff7f00;
575 margin: 0.5em;
576 clear: left;
577 overflow: hidden;
578 }
579
580 .mw-infobox-left {
581 margin: 7px;
582 float: left;
583 width: 35px;
584 }
585
586 .mw-infobox-right {
587 margin: 0.5em 0.5em 0.5em 49px;
588 }
589
590 /* Note on preview page */
591 .previewnote {
592 color: #c00;
593 margin-bottom: 1em;
594 }
595
596 .previewnote p {
597 text-indent: 3em;
598 margin: 0.8em 0;
599 }
600
601 .visualClear {
602 clear: both;
603 }
604
605 #mw_trackbacks {
606 border: solid 1px #bbbbff;
607 background-color: #eeeeff;
608 padding: 0.2em;
609 }
610
611 /**
612 * Data table style
613 *
614 * Transparent table with suddle borders
615 * and blue row-highlighting.
616 */
617 .mw-datatable {
618 border-collapse: collapse;
619 }
620 .mw-datatable,
621 .mw-datatable td,
622 .mw-datatable th {
623 border: 1px solid #aaaaaa;
624 padding: 0 0.15em 0 0.15em;
625 }
626 .mw-datatable th {
627 background-color: #ddddff;
628 }
629 .mw-datatable td {
630 background-color: #ffffff;
631 }
632 .mw-datatable tr:hover td {
633 background-color: #eeeeff;
634 }
635
636
637 /**
638 * TablePager tables generated by the TablePager PHP class
639 * in MediaWiki (e.g. Special:ListFiles).
640 */
641 .TablePager {
642 min-width: 80%;
643 }
644 .TablePager_nav {
645 margin: 0 auto;
646 }
647 .TablePager_nav td {
648 padding: 3px;
649 text-align: center;
650 }
651 .TablePager_nav a {
652 text-decoration: none;
653 }
654
655 .imagelist td,
656 .imagelist th {
657 white-space: nowrap;
658 }
659 .imagelist .TablePager_col_links {
660 background-color: #eeeeff;
661 }
662 .imagelist .TablePager_col_img_description {
663 white-space: normal;
664 }
665 .imagelist th.TablePager_sort {
666 background-color: #ccccff;
667 }
668
669 /* filetoc */
670 ul#filetoc {
671 text-align: center;
672 border: 1px solid #aaaaaa;
673 background-color: #f9f9f9;
674 padding: 5px;
675 font-size: 95%;
676 margin-bottom: 0.5em;
677 margin-left: 0;
678 margin-right: 0;
679 }
680
681 #filetoc li {
682 display: inline;
683 list-style-type: none;
684 padding-right: 2em;
685 }
686
687 /* Classes for EXIF data display */
688 table.mw_metadata {
689 font-size: 0.8em;
690 margin-left: 0.5em;
691 margin-bottom: 0.5em;
692 width: 400px;
693 }
694
695 table.mw_metadata caption {
696 font-weight: bold;
697 }
698
699 table.mw_metadata th {
700 font-weight: normal;
701 }
702
703 table.mw_metadata td {
704 padding: 0.1em;
705 }
706
707 table.mw_metadata {
708 border: none;
709 border-collapse: collapse;
710 }
711
712 table.mw_metadata td,
713 table.mw_metadata th {
714 text-align: center;
715 border: 1px solid #aaaaaa;
716 padding-left: 5px;
717 padding-right: 5px;
718 }
719
720 table.mw_metadata th {
721 background-color: #f9f9f9;
722 }
723
724 table.mw_metadata td {
725 background-color: #fcfcfc;
726 }
727
728 table.mw_metadata ul.metadata-langlist {
729 list-style-type: none;
730 list-style-image: none;
731 padding-right: 5px;
732 padding-left: 5px;
733 margin: 0;
734 }
735
736 /* Correct directionality when page dir is different from site/user dir */
737 .mw-content-ltr ul,
738 .mw-content-rtl .mw-content-ltr ul {
739 /* @noflip */
740 margin: 0.3em 0 0 1.6em;
741 padding: 0;
742 }
743 .mw-content-rtl ul,
744 .mw-content-ltr .mw-content-rtl ul {
745 /* @noflip */
746 margin: 0.3em 1.6em 0 0;
747 padding: 0;
748 }
749 .mw-content-ltr ol,
750 .mw-content-rtl .mw-content-ltr ol {
751 /* @noflip */
752 margin: 0.3em 0 0 3.2em;
753 padding: 0;
754 }
755 .mw-content-rtl ol,
756 .mw-content-ltr .mw-content-rtl ol {
757 /* @noflip */
758 margin: 0.3em 3.2em 0 0;
759 padding: 0;
760 }
761 /* @noflip */
762 .mw-content-ltr dd,
763 .mw-content-rtl .mw-content-ltr dd {
764 margin-left: 1.6em;
765 margin-right: 0;
766 }
767 /* @noflip */
768 .mw-content-rtl dd,
769 .mw-content-ltr .mw-content-rtl dd {
770 margin-right: 1.6em;
771 margin-left: 0;
772 }
773
774 /* Galleries */
775 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
776 /* Don't forget to update commonPrint.css */
777 li.gallerybox {
778 vertical-align: top;
779 display: -moz-inline-box;
780 display: inline-block;
781 }
782
783 ul.gallery,
784 li.gallerybox {
785 zoom: 1;
786 *display: inline;
787 }
788
789 ul.gallery {
790 margin: 2px;
791 padding: 2px;
792 display: block;
793 }
794
795 li.gallerycaption {
796 font-weight: bold;
797 text-align: center;
798 display: block;
799 word-wrap: break-word;
800 }
801
802 li.gallerybox div.thumb {
803 text-align: center;
804 border: 1px solid #ccc;
805 background-color: #f9f9f9;
806 margin: 2px;
807 }
808
809 li.gallerybox div.thumb img {
810 display: block;
811 margin: 0 auto;
812 }
813
814 div.gallerytext {
815 overflow: hidden;
816 font-size: 94%;
817 padding: 2px 4px;
818 word-wrap: break-word;
819 }
820
821 .mw-ajax-loader {
822 /* @embed */
823 background-image: url(images/ajax-loader.gif);
824 background-position: center center;
825 background-repeat: no-repeat;
826 padding: 16px;
827 position: relative;
828 top: -16px;
829 }
830
831 .mw-small-spinner {
832 padding: 10px !important;
833 margin-right: 0.6em;
834 /* @embed */
835 background-image: url(images/spinner.gif);
836 background-position: center center;
837 background-repeat: no-repeat;
838 }
839
840 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
841 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
842 h1:lang(anp),
843 h1:lang(as),
844 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
845 h1:lang(bho),
846 h1:lang(bn),
847 h1:lang(gu),
848 h1:lang(hi),
849 h1:lang(kn),
850 h1:lang(ks),
851 h1:lang(ml),
852 h1:lang(mr),
853 h1:lang(my),
854 h1:lang(mai),
855 h1:lang(ne),
856 h1:lang(new),
857 h1:lang(or),
858 h1:lang(pa),
859 h1:lang(pi),
860 h1:lang(sa),
861 h1:lang(ta),
862 h1:lang(te) {
863 line-height: 1.6em !important;
864 }
865 h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp),
866 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
867 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
868 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
869 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
870 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
871 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
872 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
873 h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks),
874 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
875 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
876 h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
877 h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai),
878 h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne),
879 h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new),
880 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
881 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
882 h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi),
883 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
884 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
885 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
886 line-height: 1.2em;
887 }
888
889 /* Localised ordered list numbering for some languages */
890 ol:lang(bcc) li,
891 ol:lang(bqi) li,
892 ol:lang(fa) li,
893 ol:lang(glk) li,
894 ol:lang(kk-arab) li,
895 ol:lang(mzn) li {
896 list-style-type: -moz-persian;
897 list-style-type: persian;
898 }
899
900 ol:lang(ckb) li {
901 list-style-type: -moz-arabic-indic;
902 list-style-type: arabic-indic;
903 }
904
905 ol:lang(hi) li,
906 ol:lang(mr) li {
907 list-style-type: -moz-devanagari;
908 list-style-type: devanagari;
909 }
910
911 ol:lang(as) li,
912 ol:lang(bn) li {
913 list-style-type: -moz-bengali;
914 list-style-type: bengali;
915 }
916
917 ol:lang(or) li {
918 list-style-type: -moz-oriya;
919 list-style-type: oriya;
920 }
921
922 #toc ul, .toc ul {
923 margin: .3em 0;
924 }
925
926 /* Correct directionality when page dir is different from site/user dir */
927 /* @noflip */ .mw-content-ltr .toc ul,
928 .mw-content-ltr #toc ul,
929 .mw-content-rtl .mw-content-ltr .toc ul,
930 .mw-content-rtl .mw-content-ltr #toc ul {
931 text-align: left;
932 }
933 /* @noflip */ .mw-content-rtl .toc ul,
934 .mw-content-rtl #toc ul,
935 .mw-content-ltr .mw-content-rtl .toc ul,
936 .mw-content-ltr .mw-content-rtl #toc ul {
937 text-align: right;
938 }
939 /* @noflip */ .mw-content-ltr .toc ul ul,
940 .mw-content-ltr #toc ul ul,
941 .mw-content-rtl .mw-content-ltr .toc ul ul,
942 .mw-content-rtl .mw-content-ltr #toc ul ul {
943 margin: 0 0 0 2em;
944 }
945 /* @noflip */ .mw-content-rtl .toc ul ul,
946 .mw-content-rtl #toc ul ul,
947 .mw-content-ltr .mw-content-rtl .toc ul ul,
948 .mw-content-ltr .mw-content-rtl #toc ul ul {
949 margin: 0 2em 0 0;
950 }
951
952 #toc #toctitle,
953 .toc #toctitle,
954 #toc .toctitle,
955 .toc .toctitle {
956 direction: ltr;
957 }
958
959 /* tooltip styles */
960 .mw-help-field-hint {
961 display: none;
962 margin-left: 2px;
963 margin-bottom: -8px;
964 padding: 0 0 0 15px;
965 /* @embed */
966 background-image: url('images/help-question.gif');
967 background-position: left center;
968 background-repeat: no-repeat;
969 cursor: pointer;
970 font-size: .8em;
971 text-decoration: underline;
972 color: #0645ad;
973 }
974 .mw-help-field-hint:hover {
975 /* @embed */
976 background-image: url('images/help-question-hover.gif');
977 }
978 .mw-help-field-data {
979 display: block;
980 background-color: #d6f3ff;
981 padding:5px 8px 4px 8px;
982 border: 1px solid #5dc9f4;
983 margin-left: 20px;
984 }
985 .tipsy {
986 padding: 5px 5px 10px;
987 font-size: 12px;
988 position: absolute;
989 z-index: 100000;
990 overflow: visible;
991 }
992 .tipsy-inner {
993 padding: 5px 8px 4px 8px;
994 background-color: #d6f3ff;
995 color: black;
996 border: 1px solid #5dc9f4;
997 max-width: 300px;
998 text-align: left;
999 }
1000 .tipsy-arrow {
1001 position: absolute;
1002 /* @embed */
1003 background: url(images/tipsy-arrow.gif) no-repeat top left;
1004 width: 13px;
1005 height: 13px;
1006 }
1007 .tipsy-se .tipsy-arrow {
1008 bottom: -2px;
1009 right: 10px;
1010 background-position: 0% 100%;
1011 }
1012
1013 #mw-clearyourcache,
1014 #mw-sitecsspreview,
1015 #mw-sitejspreview,
1016 #mw-usercsspreview,
1017 #mw-userjspreview {
1018 direction: ltr;
1019 unicode-bidi: embed;
1020 }
1021
1022 /* Correct user & content directionality when viewing a diff */
1023 .diff-currentversion-title,
1024 .diff {
1025 direction: ltr;
1026 unicode-bidi: embed;
1027 }
1028 /* @noflip */ .diff-contentalign-right td {
1029 direction: rtl;
1030 unicode-bidi: embed;
1031 }
1032 /* @noflip */ .diff-contentalign-left td {
1033 direction: ltr;
1034 unicode-bidi: embed;
1035 }
1036 .diff-otitle,
1037 .diff-ntitle,
1038 .diff-lineno {
1039 direction: ltr !important;
1040 unicode-bidi: embed;
1041 }
1042
1043 #mw-revision-info,
1044 #mw-revision-info-current,
1045 #mw-revision-nav {
1046 direction: ltr;
1047 display: inline;
1048 }
1049
1050 /* Images */
1051
1052 /* @noflip */ div.tright,
1053 div.floatright,
1054 table.floatright {
1055 clear: right;
1056 float: right;
1057 }
1058 /* @noflip */ div.tleft,
1059 div.floatleft,
1060 table.floatleft {
1061 float: left;
1062 clear: left;
1063 }
1064 div.floatright,
1065 table.floatright,
1066 div.floatleft,
1067 table.floatleft {
1068 position: relative;
1069 }
1070
1071 /* bug 12205 */
1072 #mw-credits a {
1073 unicode-bidi: embed;
1074 }
1075
1076 /* Accessibility */
1077 .mw-jump,
1078 #jump-to-nav {
1079 overflow: hidden;
1080 height: 0;
1081 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1082 }
1083
1084 /* Print footer should be hidden by default in screen. */
1085 .printfooter {
1086 display: none;
1087 }
1088
1089 /* For developpers */
1090 .xdebug-error {
1091 position: absolute;
1092 z-index: 99;
1093 }
1094
1095 .editsection, .toctoggle {
1096 -moz-user-select: none;
1097 -webkit-user-select: none;
1098 -ms-user-select: none;
1099 user-select: none;
1100 }