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