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