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