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