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