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