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