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