Add new grammar forms for language names in Russian
[lhc/web/wiklou.git] / resources / src / mediawiki.legacy / 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 * NOTE: The images which are referenced in this file are no longer in use in
7 * essential interface components. They should NOT be embedded, because that
8 * optimizes for the uncommon case at the cost of bloating the size of render-
9 * blocking CSS common to all pages.
10 */
11
12 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
13
14 /**
15 * These classes should be used for text depending on the content direction.
16 * Content stuff like editsection, ul/ol and TOC depend on this.
17 */
18 .mw-content-ltr {
19 /* @noflip */
20 direction: ltr;
21 }
22
23 .mw-content-rtl {
24 /* @noflip */
25 direction: rtl;
26 }
27
28 /* Most input fields should be in site direction */
29 .sitedir-ltr textarea,
30 .sitedir-ltr input {
31 /* @noflip */
32 direction: ltr;
33 }
34
35 .sitedir-rtl textarea,
36 .sitedir-rtl input {
37 /* @noflip */
38 direction: rtl;
39 }
40
41 .mw-userlink {
42 unicode-bidi: embed;
43 }
44
45 /* User-Agent styles for new HTML5 elements */
46 mark {
47 background-color: yellow;
48 color: black;
49 }
50
51 /* Helper for wbr element on IE 8+; in HTML5, but not supported by default as of IE 11. */
52 /* Note canonical HTML5 styles recommend "content: \u200B", but this doesn't work as of IE 11. */
53 wbr {
54 display: inline-block;
55 }
56
57 /* Input types that should follow user direction, like buttons */
58 /* TODO: What about buttons in wikipage content ? */
59 input[type="submit"],
60 input[type="button"],
61 input[type="reset"],
62 input[type="file"] {
63 direction: ltr;
64 }
65
66 /* Override default values */
67 textarea[dir="ltr"],
68 input[dir="ltr"] {
69 /* @noflip */
70 direction: ltr;
71 }
72
73 textarea[dir="rtl"],
74 input[dir="rtl"] {
75 /* @noflip */
76 direction: rtl;
77 }
78
79 /* Default style for semantic tags */
80 abbr[title],
81 .explain[title] {
82 border-bottom: 1px dotted;
83 cursor: help;
84 }
85
86 @supports (text-decoration: underline dotted) {
87 abbr[title],
88 .explain[title] {
89 border-bottom: none;
90 text-decoration: underline dotted;
91 }
92 }
93
94 /* Colored watchlist and recent changes numbers */
95 .mw-plusminus-pos {
96 color: #006400; /* dark green */
97 }
98
99 .mw-plusminus-neg {
100 color: #8b0000; /* dark red */
101 }
102
103 .mw-plusminus-null {
104 color: #aaa; /* gray */
105 }
106
107 /*
108 * Bidi-isolate these numbers.
109 * See https://phabricator.wikimedia.org/T93484
110 */
111 .mw-plusminus-pos,
112 .mw-plusminus-neg,
113 .mw-plusminus-null {
114 unicode-bidi: -moz-isolate;
115 unicode-bidi: -webkit-isolate;
116 unicode-bidi: isolate;
117 }
118
119 /**
120 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
121 * [[Special:Watchlist/edit]] and in category listings.
122 */
123 .allpagesredirect,
124 .redirect-in-category,
125 .watchlistredir {
126 font-style: italic;
127 }
128
129 /* Comment portions of RC entries */
130 span.comment {
131 font-style: italic;
132 }
133
134 /* Math */
135 .texvc {
136 direction: ltr;
137 unicode-bidi: embed;
138 }
139
140 img.tex {
141 vertical-align: middle;
142 }
143
144 span.texhtml {
145 font-family: serif;
146 }
147
148 /**
149 * Add a bit of margin space between the preview and the toolbar.
150 * This replaces the ugly <p><br /></p> we used to insert into the page source
151 */
152 #wikiPreview.ontop {
153 margin-bottom: 1em;
154 }
155
156 /* Stop floats from intruding into edit area in previews */
157 #editform,
158 #toolbar,
159 #wpTextbox1 {
160 clear: both;
161 }
162
163 /**
164 * rev_deleted stuff
165 */
166 li span.deleted,
167 span.history-deleted {
168 text-decoration: line-through;
169 color: #888;
170 font-style: italic;
171 }
172
173 /**
174 * Patrol stuff
175 */
176 .not-patrolled {
177 background-color: #ffa;
178 }
179
180 .unpatrolled {
181 font-weight: bold;
182 color: red;
183 }
184
185 div.patrollink {
186 font-size: 75%;
187 text-align: right;
188 }
189
190 /**
191 * Forms
192 */
193 td.mw-label {
194 text-align: right;
195 }
196
197 td.mw-input {
198 text-align: left;
199 }
200
201 td.mw-submit {
202 text-align: left;
203 }
204
205 td.mw-label {
206 vertical-align: middle;
207 }
208
209 td.mw-submit {
210 white-space: nowrap;
211 }
212
213 input#wpSummary {
214 width: 80%;
215 margin-bottom: 1em;
216 }
217
218 /**
219 * Image captions.
220 *
221 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
222 */
223
224 /* @noflip */
225 .mw-content-ltr .thumbcaption {
226 text-align: left;
227 }
228
229 /* @noflip */
230 .mw-content-ltr .magnify {
231 float: right;
232 }
233
234 /* @noflip */
235 .mw-content-rtl .thumbcaption {
236 text-align: right;
237 }
238
239 /* @noflip */
240 .mw-content-rtl .magnify {
241 float: left;
242 }
243
244 /**
245 * Categories
246 */
247 #catlinks {
248 /**
249 * Overrides text justification (user preference)
250 * See bug 31990
251 */
252 text-align: left;
253 }
254
255 .catlinks ul {
256 display: inline;
257 margin: 0;
258 padding: 0;
259 list-style: none;
260 list-style-type: none;
261 list-style-image: none;
262 vertical-align: middle !ie;
263 }
264
265 .catlinks li {
266 display: inline-block;
267 line-height: 1.25em;
268 border-left: 1px solid #AAA;
269 margin: 0.125em 0;
270 padding: 0 0.5em;
271 zoom: 1;
272 display: inline !ie;
273 }
274
275 .catlinks li:first-child {
276 padding-left: 0.25em;
277 border-left: none;
278 }
279
280 /* (bug 5346) make category redirects italic */
281 .catlinks li a.mw-redirect {
282 font-style: italic;
283 }
284
285 /**
286 * Hidden categories
287 */
288 .mw-hidden-cats-hidden {
289 display: none;
290 }
291
292 .catlinks-allhidden {
293 display: none;
294 }
295
296 /**
297 * Convenience links to edit block, delete and protect reasons
298 * and upload licenses
299 */
300 p.mw-ipb-conveniencelinks,
301 p.mw-protect-editreasons,
302 p.mw-filedelete-editreasons,
303 p.mw-delete-editreasons,
304 p.mw-revdel-editreasons,
305 p.mw-upload-editlicenses {
306 font-size: 90%;
307 text-align: right;
308 }
309
310 /* Page history styling */
311
312 /* The auto-generated edit comments */
313 .autocomment {
314 color: gray;
315 }
316
317 #pagehistory .history-user {
318 margin-left: 0.4em;
319 margin-right: 0.2em;
320 }
321
322 #pagehistory span.minor {
323 font-weight: bold;
324 }
325
326 #pagehistory li {
327 border: 1px solid white;
328 }
329
330 #pagehistory li.selected {
331 background-color: #f9f9f9;
332 border: 1px dashed #aaa;
333 }
334
335 .mw-history-revisionactions, #mw-fileduplicatesearch-icon {
336 float: right;
337 }
338
339 /** Generic minor/bot/newpage styling (recent changes) */
340 .newpage,
341 .minoredit,
342 .botedit {
343 font-weight: bold;
344 }
345
346 /**
347 * Recreating deleted page warning
348 * Reupload file warning
349 * Page protection warning
350 * incl. log entries for these warnings
351 */
352 div.mw-warning-with-logexcerpt {
353 padding: 3px;
354 margin-bottom: 3px;
355 border: 2px solid #2F6FAB;
356 clear: both;
357 }
358
359 div.mw-warning-with-logexcerpt ul li {
360 font-size: 90%;
361 }
362
363 /* (show/hide) revision deletion links */
364 span.mw-revdelundel-link,
365 strong.mw-revdelundel-link {
366 font-size: 90%;
367 }
368
369 span.mw-revdelundel-hidden,
370 input.mw-revdelundel-hidden {
371 visibility: hidden;
372 }
373
374 td.mw-revdel-checkbox,
375 th.mw-revdel-checkbox {
376 padding-right: 10px;
377 text-align: center;
378 }
379
380 /* red links; see bug 36276 */
381 a.new {
382 color: #BA0000;
383 }
384
385 /* Plainlinks - this can be used to switch
386 * off special external link styling */
387 .plainlinks a.external {
388 background: none !important;
389 padding: 0 !important;
390 }
391
392 /* External URLs should always be treated as LTR (bug 4330) */
393 /* @noflip */ .rtl a.external.free,
394 .rtl a.external.autonumber {
395 direction: ltr;
396 unicode-bidi: embed;
397 }
398
399 /**
400 * wikitable class for skinning normal tables
401 * keep in sync with commonPrint.css
402 */
403 table.wikitable {
404 margin: 1em 0;
405 background-color: #f9f9f9;
406 border: 1px solid #aaa;
407 border-collapse: collapse;
408 color: black;
409 }
410
411 table.wikitable > tr > th,
412 table.wikitable > tr > td,
413 table.wikitable > * > tr > th,
414 table.wikitable > * > tr > td {
415 border: 1px solid #aaa;
416 padding: 0.2em 0.4em;
417 }
418
419 table.wikitable > tr > th,
420 table.wikitable > * > tr > th {
421 background-color: #f2f2f2;
422 text-align: center;
423 }
424
425 table.wikitable > caption {
426 font-weight: bold;
427 }
428
429 /* success and error messages */
430 .error,
431 .warning,
432 .success {
433 font-size: larger;
434 }
435
436 .error {
437 color: #cc0000;
438 }
439
440 .warning {
441 color: #705000;
442 }
443
444 .success {
445 color: #009000;
446 }
447
448 .errorbox,
449 .warningbox,
450 .successbox {
451 border: 1px solid;
452 padding: .5em 1em;
453 margin-bottom: 1em;
454 display: inline-block;
455 zoom: 1;
456 *display: inline;
457 }
458
459 .errorbox h2,
460 .warningbox h2,
461 .successbox h2 {
462 font-size: 1em;
463 color: inherit;
464 font-weight: bold;
465 display: inline;
466 margin: 0 .5em 0 0;
467 border: none;
468 }
469
470 .errorbox {
471 color: #cc0000;
472 border-color: #fac5c5;
473 background-color: #fae3e3;
474 }
475
476 .warningbox {
477 color: #705000;
478 border-color: #fde29b;
479 background-color: #fdf1d1;
480 }
481
482 .successbox {
483 color: #008000;
484 border-color: #b7fdb5;
485 background-color: #e1fddf;
486 }
487
488 /* general info/warning box for SP */
489 .mw-infobox {
490 border: 2px solid #ff7f00;
491 margin: 0.5em;
492 clear: left;
493 overflow: hidden;
494 }
495
496 .mw-infobox-left {
497 margin: 7px;
498 float: left;
499 width: 35px;
500 }
501
502 .mw-infobox-right {
503 margin: 0.5em 0.5em 0.5em 49px;
504 }
505
506 /* Note on preview page */
507 .previewnote {
508 color: #c00;
509 margin-bottom: 1em;
510 }
511
512 .previewnote p {
513 text-indent: 3em;
514 margin: 0.8em 0;
515 }
516
517 .visualClear {
518 clear: both;
519 }
520
521 /**
522 * Data table style
523 *
524 * Transparent table with suddle borders
525 * and blue row-highlighting.
526 */
527 .mw-datatable {
528 border-collapse: collapse;
529 }
530
531 .mw-datatable,
532 .mw-datatable td,
533 .mw-datatable th {
534 border: 1px solid #aaaaaa;
535 padding: 0 0.15em 0 0.15em;
536 }
537
538 .mw-datatable th {
539 background-color: #ddddff;
540 }
541
542 .mw-datatable td {
543 background-color: #ffffff;
544 }
545
546 .mw-datatable tr:hover td {
547 background-color: #eeeeff;
548 }
549
550 /* Classes for Exif data display */
551 table.mw_metadata {
552 font-size: 0.8em;
553 margin-left: 0.5em;
554 margin-bottom: 0.5em;
555 width: 400px;
556 }
557
558 table.mw_metadata caption {
559 font-weight: bold;
560 }
561
562 table.mw_metadata th {
563 font-weight: normal;
564 }
565
566 table.mw_metadata td {
567 padding: 0.1em;
568 }
569
570 table.mw_metadata {
571 border: none;
572 border-collapse: collapse;
573 }
574
575 table.mw_metadata td,
576 table.mw_metadata th {
577 text-align: center;
578 border: 1px solid #aaaaaa;
579 padding-left: 5px;
580 padding-right: 5px;
581 }
582
583 table.mw_metadata th {
584 background-color: #f9f9f9;
585 }
586
587 table.mw_metadata td {
588 background-color: #fcfcfc;
589 }
590
591 table.mw_metadata ul.metadata-langlist {
592 list-style-type: none;
593 list-style-image: none;
594 padding-right: 5px;
595 padding-left: 5px;
596 margin: 0;
597 }
598
599 /* Correct directionality when page dir is different from site/user dir */
600 .mw-content-ltr ul,
601 .mw-content-rtl .mw-content-ltr ul {
602 /* @noflip */
603 margin: 0.3em 0 0 1.6em;
604 padding: 0;
605 }
606
607 .mw-content-rtl ul,
608 .mw-content-ltr .mw-content-rtl ul {
609 /* @noflip */
610 margin: 0.3em 1.6em 0 0;
611 padding: 0;
612 }
613
614 .mw-content-ltr ol,
615 .mw-content-rtl .mw-content-ltr ol {
616 /* @noflip */
617 margin: 0.3em 0 0 3.2em;
618 padding: 0;
619 }
620
621 .mw-content-rtl ol,
622 .mw-content-ltr .mw-content-rtl ol {
623 /* @noflip */
624 margin: 0.3em 3.2em 0 0;
625 padding: 0;
626 }
627
628 /* @noflip */
629 .mw-content-ltr dd,
630 .mw-content-rtl .mw-content-ltr dd {
631 margin-left: 1.6em;
632 margin-right: 0;
633 }
634
635 /* @noflip */
636 .mw-content-rtl dd,
637 .mw-content-ltr .mw-content-rtl dd {
638 margin-right: 1.6em;
639 margin-left: 0;
640 }
641
642 .mw-ajax-loader {
643 background-image: url(images/ajax-loader.gif);
644 background-position: center center;
645 background-repeat: no-repeat;
646 padding: 16px;
647 position: relative;
648 top: -16px;
649 }
650
651 .mw-small-spinner {
652 padding: 10px !important;
653 margin-right: 0.6em;
654 background-image: url(images/spinner.gif);
655 background-position: center center;
656 background-repeat: no-repeat;
657 }
658
659 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
660 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
661 h1:lang(anp),
662 h1:lang(as),
663 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
664 h1:lang(bho),
665 h1:lang(bn),
666 h1:lang(gu),
667 h1:lang(hi),
668 h1:lang(kn),
669 h1:lang(ks),
670 h1:lang(ml),
671 h1:lang(mr),
672 h1:lang(my),
673 h1:lang(mai),
674 h1:lang(ne),
675 h1:lang(new),
676 h1:lang(or),
677 h1:lang(pa),
678 h1:lang(pi),
679 h1:lang(sa),
680 h1:lang(ta),
681 h1:lang(te) {
682 line-height: 1.6em !important;
683 }
684
685 h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp),
686 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
687 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
688 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
689 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
690 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
691 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
692 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
693 h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks),
694 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
695 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
696 h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
697 h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai),
698 h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne),
699 h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new),
700 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
701 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
702 h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi),
703 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
704 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
705 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
706 line-height: 1.2em;
707 }
708
709 /* Localised ordered list numbering for some languages */
710 ol:lang(azb) li,
711 ol:lang(bcc) li,
712 ol:lang(bgn) li,
713 ol:lang(bqi) li,
714 ol:lang(fa) li,
715 ol:lang(glk) li,
716 ol:lang(kk-arab) li,
717 ol:lang(lrc) li,
718 ol:lang(luz) li,
719 ol:lang(mzn) li {
720 list-style-type: -moz-persian;
721 list-style-type: persian;
722 }
723
724 ol:lang(ckb) li,
725 ol:lang(sdh) li {
726 list-style-type: -moz-arabic-indic;
727 list-style-type: arabic-indic;
728 }
729
730 ol:lang(hi) li,
731 ol:lang(mr) li {
732 list-style-type: -moz-devanagari;
733 list-style-type: devanagari;
734 }
735
736 ol:lang(as) li,
737 ol:lang(bn) li {
738 list-style-type: -moz-bengali;
739 list-style-type: bengali;
740 }
741
742 ol:lang(or) li {
743 list-style-type: -moz-oriya;
744 list-style-type: oriya;
745 }
746
747 #toc ul, .toc ul {
748 margin: .3em 0;
749 }
750
751 /* Correct directionality when page dir is different from site/user dir */
752 /* @noflip */ .mw-content-ltr .toc ul,
753 .mw-content-ltr #toc ul,
754 .mw-content-rtl .mw-content-ltr .toc ul,
755 .mw-content-rtl .mw-content-ltr #toc ul {
756 text-align: left;
757 }
758
759 /* @noflip */ .mw-content-rtl .toc ul,
760 .mw-content-rtl #toc ul,
761 .mw-content-ltr .mw-content-rtl .toc ul,
762 .mw-content-ltr .mw-content-rtl #toc ul {
763 text-align: right;
764 }
765
766 /* @noflip */ .mw-content-ltr .toc ul ul,
767 .mw-content-ltr #toc ul ul,
768 .mw-content-rtl .mw-content-ltr .toc ul ul,
769 .mw-content-rtl .mw-content-ltr #toc ul ul {
770 margin: 0 0 0 2em;
771 }
772
773 /* @noflip */ .mw-content-rtl .toc ul ul,
774 .mw-content-rtl #toc ul ul,
775 .mw-content-ltr .mw-content-rtl .toc ul ul,
776 .mw-content-ltr .mw-content-rtl #toc ul ul {
777 margin: 0 2em 0 0;
778 }
779
780 #toc #toctitle,
781 .toc #toctitle,
782 #toc .toctitle,
783 .toc .toctitle {
784 direction: ltr;
785 }
786
787 /* tooltip styles */
788 .mw-help-field-hint {
789 display: none;
790 margin-left: 2px;
791 margin-bottom: -8px;
792 padding: 0 0 0 15px;
793 background-image: url(images/help-question.gif);
794 background-position: left center;
795 background-repeat: no-repeat;
796 cursor: pointer;
797 font-size: .8em;
798 text-decoration: underline;
799 color: #0645ad;
800 }
801
802 .mw-help-field-hint:hover {
803 background-image: url(images/help-question-hover.gif);
804 }
805
806 .mw-help-field-data {
807 display: block;
808 background-color: #d6f3ff;
809 padding: 5px 8px 4px 8px;
810 border: 1px solid #5dc9f4;
811 margin-left: 20px;
812 }
813
814 #mw-clearyourcache,
815 #mw-sitecsspreview,
816 #mw-sitejspreview,
817 #mw-usercsspreview,
818 #mw-userjspreview {
819 direction: ltr;
820 unicode-bidi: embed;
821 }
822
823 /* Correct user & content directionality when viewing a diff */
824 .diff-currentversion-title,
825 .diff {
826 direction: ltr;
827 unicode-bidi: embed;
828 }
829
830 /* @noflip */ .diff-contentalign-right td {
831 direction: rtl;
832 unicode-bidi: embed;
833 }
834
835 /* @noflip */ .diff-contentalign-left td {
836 direction: ltr;
837 unicode-bidi: embed;
838 }
839
840 .diff-multi,
841 .diff-otitle,
842 .diff-ntitle,
843 .diff-lineno {
844 direction: ltr !important;
845 unicode-bidi: embed;
846 }
847
848 #mw-revision-info,
849 #mw-revision-info-current,
850 #mw-revision-nav {
851 direction: ltr;
852 display: inline;
853 }
854
855 /* Images */
856
857 /* @noflip */ div.tright,
858 div.floatright,
859 table.floatright {
860 clear: right;
861 float: right;
862 }
863
864 /* @noflip */ div.tleft,
865 div.floatleft,
866 table.floatleft {
867 float: left;
868 clear: left;
869 }
870
871 div.floatright,
872 table.floatright,
873 div.floatleft,
874 table.floatleft {
875 position: relative;
876 }
877
878 /* bug 12205 */
879 #mw-credits a {
880 unicode-bidi: embed;
881 }
882
883 /* Accessibility */
884 .mw-jump,
885 #jump-to-nav {
886 overflow: hidden;
887 height: 0;
888 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
889 }
890
891 /* Print footer should be hidden by default in screen. */
892 .printfooter {
893 display: none;
894 }
895
896 /* For developers */
897 .xdebug-error {
898 position: absolute;
899 z-index: 99;
900 }
901
902 .mw-editsection,
903 .toctoggle,
904 .tochidden,
905 #jump-to-nav {
906 -moz-user-select: none;
907 -webkit-user-select: none;
908 -ms-user-select: none;
909 user-select: none;
910 }
911
912 /* Display editsection links smaller and next to headings */
913 .mw-editsection,
914 .mw-editsection-like {
915 font-size: small;
916 font-weight: normal;
917 margin-left: 1em;
918 vertical-align: baseline;
919 /* Reset line-height; headings tend to have it set to larger values */
920 line-height: 1em;
921 /* As .mw-editsection is a <span> (inline element), it is treated as part */
922 /* of the heading content when selecting text by multiple clicks and thus */
923 /* selected together with heading content, despite the user-select: none; */
924 /* rule set above. This enforces non-selection without changing the look. */
925 display: inline-block;
926 }
927
928 /* Correct directionality when page dir is different from site/user dir */
929 /* @noflip */
930 .mw-content-ltr .mw-editsection,
931 .mw-content-rtl .mw-content-ltr .mw-editsection {
932 margin-left: 1em;
933 }
934
935 /* @noflip */
936 .mw-content-rtl .mw-editsection,
937 .mw-content-ltr .mw-content-rtl .mw-editsection {
938 margin-right: 1em;
939 }
940
941 /* Prevent citations and subscripts from interfering with the line-height */
942 sup,
943 sub {
944 line-height: 1;
945 }