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