resourceloader: Don't call wfExpandUrl() on load.php urls
[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 /* feed links */
398 /* To be removed before 1.26 release, moved to mediawiki.feedlink module */
399 a.feedlink {
400 /* SVG support using a transparent gradient to guarantee cross-browser
401 * compatibility (browsers able to understand gradient syntax support also SVG).
402 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
403 background-image: url(../mediawiki/images/feed-icon.png);
404 background-image: -webkit-linear-gradient(transparent, transparent), url(../mediawiki/images/feed-icon.svg);
405 background-image: linear-gradient(transparent, transparent), url(../mediawiki/images/feed-icon.svg);
406 background-position: center left;
407 background-repeat: no-repeat;
408 background-size: 12px 12px;
409 padding-left: 16px;
410 }
411
412 /* Plainlinks - this can be used to switch
413 * off special external link styling */
414 .plainlinks a.external {
415 background: none !important;
416 padding: 0 !important;
417 }
418
419 /* External URLs should always be treated as LTR (bug 4330) */
420 /* @noflip */ .rtl a.external.free,
421 .rtl a.external.autonumber {
422 direction: ltr;
423 unicode-bidi: embed;
424 }
425
426 /**
427 * wikitable class for skinning normal tables
428 * keep in sync with commonPrint.css
429 */
430 table.wikitable {
431 margin: 1em 0;
432 background-color: #f9f9f9;
433 border: 1px solid #aaa;
434 border-collapse: collapse;
435 color: black;
436 }
437
438 table.wikitable > tr > th,
439 table.wikitable > tr > td,
440 table.wikitable > * > tr > th,
441 table.wikitable > * > tr > td {
442 border: 1px solid #aaa;
443 padding: 0.2em 0.4em;
444 }
445
446 table.wikitable > tr > th,
447 table.wikitable > * > tr > th {
448 background-color: #f2f2f2;
449 text-align: center;
450 }
451
452 table.wikitable > caption {
453 font-weight: bold;
454 }
455
456 /* success and error messages */
457 .error,
458 .warning,
459 .success {
460 font-size: larger;
461 }
462
463 .error {
464 color: #cc0000;
465 }
466
467 .warning {
468 color: #705000;
469 }
470
471 .success {
472 color: #009000;
473 }
474
475 .errorbox,
476 .warningbox,
477 .successbox {
478 border: 1px solid;
479 padding: .5em 1em;
480 margin-bottom: 1em;
481 display: inline-block;
482 zoom: 1;
483 *display: inline;
484 }
485
486 .errorbox h2,
487 .warningbox h2,
488 .successbox h2 {
489 font-size: 1em;
490 color: inherit;
491 font-weight: bold;
492 display: inline;
493 margin: 0 .5em 0 0;
494 border: none;
495 }
496
497 .errorbox {
498 color: #cc0000;
499 border-color: #fac5c5;
500 background-color: #fae3e3;
501 }
502
503 .warningbox {
504 color: #705000;
505 border-color: #fde29b;
506 background-color: #fdf1d1;
507 }
508
509 .successbox {
510 color: #008000;
511 border-color: #b7fdb5;
512 background-color: #e1fddf;
513 }
514
515 /* general info/warning box for SP */
516 .mw-infobox {
517 border: 2px solid #ff7f00;
518 margin: 0.5em;
519 clear: left;
520 overflow: hidden;
521 }
522
523 .mw-infobox-left {
524 margin: 7px;
525 float: left;
526 width: 35px;
527 }
528
529 .mw-infobox-right {
530 margin: 0.5em 0.5em 0.5em 49px;
531 }
532
533 /* Note on preview page */
534 .previewnote {
535 color: #c00;
536 margin-bottom: 1em;
537 }
538
539 .previewnote p {
540 text-indent: 3em;
541 margin: 0.8em 0;
542 }
543
544 .visualClear {
545 clear: both;
546 }
547
548 /**
549 * Data table style
550 *
551 * Transparent table with suddle borders
552 * and blue row-highlighting.
553 */
554 .mw-datatable {
555 border-collapse: collapse;
556 }
557
558 .mw-datatable,
559 .mw-datatable td,
560 .mw-datatable th {
561 border: 1px solid #aaaaaa;
562 padding: 0 0.15em 0 0.15em;
563 }
564
565 .mw-datatable th {
566 background-color: #ddddff;
567 }
568
569 .mw-datatable td {
570 background-color: #ffffff;
571 }
572
573 .mw-datatable tr:hover td {
574 background-color: #eeeeff;
575 }
576
577 /* Classes for Exif data display */
578 table.mw_metadata {
579 font-size: 0.8em;
580 margin-left: 0.5em;
581 margin-bottom: 0.5em;
582 width: 400px;
583 }
584
585 table.mw_metadata caption {
586 font-weight: bold;
587 }
588
589 table.mw_metadata th {
590 font-weight: normal;
591 }
592
593 table.mw_metadata td {
594 padding: 0.1em;
595 }
596
597 table.mw_metadata {
598 border: none;
599 border-collapse: collapse;
600 }
601
602 table.mw_metadata td,
603 table.mw_metadata th {
604 text-align: center;
605 border: 1px solid #aaaaaa;
606 padding-left: 5px;
607 padding-right: 5px;
608 }
609
610 table.mw_metadata th {
611 background-color: #f9f9f9;
612 }
613
614 table.mw_metadata td {
615 background-color: #fcfcfc;
616 }
617
618 table.mw_metadata ul.metadata-langlist {
619 list-style-type: none;
620 list-style-image: none;
621 padding-right: 5px;
622 padding-left: 5px;
623 margin: 0;
624 }
625
626 /* Correct directionality when page dir is different from site/user dir */
627 .mw-content-ltr ul,
628 .mw-content-rtl .mw-content-ltr ul {
629 /* @noflip */
630 margin: 0.3em 0 0 1.6em;
631 padding: 0;
632 }
633
634 .mw-content-rtl ul,
635 .mw-content-ltr .mw-content-rtl ul {
636 /* @noflip */
637 margin: 0.3em 1.6em 0 0;
638 padding: 0;
639 }
640
641 .mw-content-ltr ol,
642 .mw-content-rtl .mw-content-ltr ol {
643 /* @noflip */
644 margin: 0.3em 0 0 3.2em;
645 padding: 0;
646 }
647
648 .mw-content-rtl ol,
649 .mw-content-ltr .mw-content-rtl ol {
650 /* @noflip */
651 margin: 0.3em 3.2em 0 0;
652 padding: 0;
653 }
654
655 /* @noflip */
656 .mw-content-ltr dd,
657 .mw-content-rtl .mw-content-ltr dd {
658 margin-left: 1.6em;
659 margin-right: 0;
660 }
661
662 /* @noflip */
663 .mw-content-rtl dd,
664 .mw-content-ltr .mw-content-rtl dd {
665 margin-right: 1.6em;
666 margin-left: 0;
667 }
668
669 .mw-ajax-loader {
670 background-image: url(images/ajax-loader.gif);
671 background-position: center center;
672 background-repeat: no-repeat;
673 padding: 16px;
674 position: relative;
675 top: -16px;
676 }
677
678 .mw-small-spinner {
679 padding: 10px !important;
680 margin-right: 0.6em;
681 background-image: url(images/spinner.gif);
682 background-position: center center;
683 background-repeat: no-repeat;
684 }
685
686 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
687 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
688 h1:lang(anp),
689 h1:lang(as),
690 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
691 h1:lang(bho),
692 h1:lang(bn),
693 h1:lang(gu),
694 h1:lang(hi),
695 h1:lang(kn),
696 h1:lang(ks),
697 h1:lang(ml),
698 h1:lang(mr),
699 h1:lang(my),
700 h1:lang(mai),
701 h1:lang(ne),
702 h1:lang(new),
703 h1:lang(or),
704 h1:lang(pa),
705 h1:lang(pi),
706 h1:lang(sa),
707 h1:lang(ta),
708 h1:lang(te) {
709 line-height: 1.6em !important;
710 }
711
712 h2:lang(anp), h3:lang(anp), h4:lang(anp), h5:lang(anp), h6:lang(anp),
713 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
714 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
715 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
716 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
717 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
718 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
719 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
720 h2:lang(ks), h3:lang(ks), h4:lang(ks), h5:lang(ks), h6:lang(ks),
721 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
722 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
723 h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
724 h2:lang(mai), h3:lang(mai), h4:lang(mai), h5:lang(mai), h6:lang(mai),
725 h2:lang(ne), h3:lang(ne), h4:lang(ne), h5:lang(ne), h6:lang(ne),
726 h2:lang(new), h3:lang(new), h4:lang(new), h5:lang(new), h6:lang(new),
727 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
728 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
729 h2:lang(pi), h3:lang(pi), h4:lang(pi), h5:lang(pi), h6:lang(pi),
730 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
731 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta),
732 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) {
733 line-height: 1.2em;
734 }
735
736 /* Localised ordered list numbering for some languages */
737 ol:lang(azb) li,
738 ol:lang(bcc) li,
739 ol:lang(bgn) li,
740 ol:lang(bqi) li,
741 ol:lang(fa) li,
742 ol:lang(glk) li,
743 ol:lang(kk-arab) li,
744 ol:lang(lrc) li,
745 ol:lang(luz) li,
746 ol:lang(mzn) li {
747 list-style-type: -moz-persian;
748 list-style-type: persian;
749 }
750
751 ol:lang(ckb) li,
752 ol:lang(sdh) li {
753 list-style-type: -moz-arabic-indic;
754 list-style-type: arabic-indic;
755 }
756
757 ol:lang(hi) li,
758 ol:lang(mr) li {
759 list-style-type: -moz-devanagari;
760 list-style-type: devanagari;
761 }
762
763 ol:lang(as) li,
764 ol:lang(bn) li {
765 list-style-type: -moz-bengali;
766 list-style-type: bengali;
767 }
768
769 ol:lang(or) li {
770 list-style-type: -moz-oriya;
771 list-style-type: oriya;
772 }
773
774 #toc ul, .toc ul {
775 margin: .3em 0;
776 }
777
778 /* Correct directionality when page dir is different from site/user dir */
779 /* @noflip */ .mw-content-ltr .toc ul,
780 .mw-content-ltr #toc ul,
781 .mw-content-rtl .mw-content-ltr .toc ul,
782 .mw-content-rtl .mw-content-ltr #toc ul {
783 text-align: left;
784 }
785
786 /* @noflip */ .mw-content-rtl .toc ul,
787 .mw-content-rtl #toc ul,
788 .mw-content-ltr .mw-content-rtl .toc ul,
789 .mw-content-ltr .mw-content-rtl #toc ul {
790 text-align: right;
791 }
792
793 /* @noflip */ .mw-content-ltr .toc ul ul,
794 .mw-content-ltr #toc ul ul,
795 .mw-content-rtl .mw-content-ltr .toc ul ul,
796 .mw-content-rtl .mw-content-ltr #toc ul ul {
797 margin: 0 0 0 2em;
798 }
799
800 /* @noflip */ .mw-content-rtl .toc ul ul,
801 .mw-content-rtl #toc ul ul,
802 .mw-content-ltr .mw-content-rtl .toc ul ul,
803 .mw-content-ltr .mw-content-rtl #toc ul ul {
804 margin: 0 2em 0 0;
805 }
806
807 #toc #toctitle,
808 .toc #toctitle,
809 #toc .toctitle,
810 .toc .toctitle {
811 direction: ltr;
812 }
813
814 /* tooltip styles */
815 .mw-help-field-hint {
816 display: none;
817 margin-left: 2px;
818 margin-bottom: -8px;
819 padding: 0 0 0 15px;
820 background-image: url(images/help-question.gif);
821 background-position: left center;
822 background-repeat: no-repeat;
823 cursor: pointer;
824 font-size: .8em;
825 text-decoration: underline;
826 color: #0645ad;
827 }
828
829 .mw-help-field-hint:hover {
830 background-image: url(images/help-question-hover.gif);
831 }
832
833 .mw-help-field-data {
834 display: block;
835 background-color: #d6f3ff;
836 padding: 5px 8px 4px 8px;
837 border: 1px solid #5dc9f4;
838 margin-left: 20px;
839 }
840
841 #mw-clearyourcache,
842 #mw-sitecsspreview,
843 #mw-sitejspreview,
844 #mw-usercsspreview,
845 #mw-userjspreview {
846 direction: ltr;
847 unicode-bidi: embed;
848 }
849
850 /* Correct user & content directionality when viewing a diff */
851 .diff-currentversion-title,
852 .diff {
853 direction: ltr;
854 unicode-bidi: embed;
855 }
856
857 /* @noflip */ .diff-contentalign-right td {
858 direction: rtl;
859 unicode-bidi: embed;
860 }
861
862 /* @noflip */ .diff-contentalign-left td {
863 direction: ltr;
864 unicode-bidi: embed;
865 }
866
867 .diff-multi,
868 .diff-otitle,
869 .diff-ntitle,
870 .diff-lineno {
871 direction: ltr !important;
872 unicode-bidi: embed;
873 }
874
875 #mw-revision-info,
876 #mw-revision-info-current,
877 #mw-revision-nav {
878 direction: ltr;
879 display: inline;
880 }
881
882 /* Images */
883
884 /* @noflip */ div.tright,
885 div.floatright,
886 table.floatright {
887 clear: right;
888 float: right;
889 }
890
891 /* @noflip */ div.tleft,
892 div.floatleft,
893 table.floatleft {
894 float: left;
895 clear: left;
896 }
897
898 div.floatright,
899 table.floatright,
900 div.floatleft,
901 table.floatleft {
902 position: relative;
903 }
904
905 /* bug 12205 */
906 #mw-credits a {
907 unicode-bidi: embed;
908 }
909
910 /* Accessibility */
911 .mw-jump,
912 #jump-to-nav {
913 overflow: hidden;
914 height: 0;
915 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
916 }
917
918 /* Print footer should be hidden by default in screen. */
919 .printfooter {
920 display: none;
921 }
922
923 /* For developers */
924 .xdebug-error {
925 position: absolute;
926 z-index: 99;
927 }
928
929 .mw-editsection,
930 .toctoggle,
931 .tochidden,
932 #jump-to-nav {
933 -moz-user-select: none;
934 -webkit-user-select: none;
935 -ms-user-select: none;
936 user-select: none;
937 }
938
939 /* Display editsection links smaller and next to headings */
940 .mw-editsection,
941 .mw-editsection-like {
942 font-size: small;
943 font-weight: normal;
944 margin-left: 1em;
945 vertical-align: baseline;
946 /* Reset line-height; headings tend to have it set to larger values */
947 line-height: 1em;
948 /* As .mw-editsection is a <span> (inline element), it is treated as part */
949 /* of the heading content when selecting text by multiple clicks and thus */
950 /* selected together with heading content, despite the user-select: none; */
951 /* rule set above. This enforces non-selection without changing the look. */
952 display: inline-block;
953 }
954
955 /* Correct directionality when page dir is different from site/user dir */
956 /* @noflip */
957 .mw-content-ltr .mw-editsection,
958 .mw-content-rtl .mw-content-ltr .mw-editsection {
959 margin-left: 1em;
960 }
961
962 /* @noflip */
963 .mw-content-rtl .mw-editsection,
964 .mw-content-ltr .mw-content-rtl .mw-editsection {
965 margin-right: 1em;
966 }
967
968 /* Prevent citations and subscripts from interfering with the line-height */
969 sup,
970 sub {
971 line-height: 1;
972 }