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.
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.
12 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
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.
28 /* Most input fields should be in site direction */
29 .sitedir-ltr textarea
,
35 .sitedir-rtl textarea
,
45 /* User-Agent styles for new HTML5 elements */
47 background-color: #ff0;
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. */
54 display: inline-block
;
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' ] {
66 /* Override default values */
67 textarea
[ dir
='ltr' ],
73 textarea
[ dir
='rtl' ],
79 /* Default style for semantic tags */
82 border-bottom: 1px dotted
;
86 @supports ( text-decoration: underline dotted
) {
90 text-decoration: underline dotted
;
94 /* Comment portions of RC entries */
97 unicode-bidi: -moz-isolate
;
98 unicode-bidi: isolate
;
101 /* Stop floats from intruding into edit area in previews */
108 /* Prevent editing textarea from jumping when toolbar is loaded */
113 /* Edit font preference */
114 .mw-editfont-monospace {
115 font-family: monospace
;
118 .mw-editfont-sans-serif {
119 font-family: sans-serif
;
126 /* Underline preference */
128 .mw-underline-always a {
129 text-decoration: underline
;
132 .mw-underline-never a {
133 text-decoration: none
;
140 span
.history-deleted
{
141 text-decoration: line-through
;
150 background-color: #ffa;
168 vertical-align: middle
;
180 .mw-input-with-label {
182 display: inline-block
;
188 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
192 .mw-content-ltr .thumbcaption {
197 .mw-content-ltr .magnify {
202 .mw-content-rtl .thumbcaption {
207 .mw-content-rtl .magnify {
216 * Overrides text justification (user preference)
227 list-style-type: none
;
228 list-style-image: none
;
229 vertical-align: middle
!ie
;
233 display: inline-block
;
235 border-left: 1px solid
#a2a9b1;
239 display: inline
!ie
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
242 .catlinks li:first-child {
243 padding-left: 0.25em;
247 /* (T7346) make category redirects italic */
248 .catlinks li a.mw-redirect {
255 .mw-hidden-cats-hidden {
259 .catlinks-allhidden {
264 * Convenience links to edit delete and protect reasons
266 p
.mw-protect-editreasons
,
267 p
.mw-filedelete-editreasons
,
268 p
.mw-delete-editreasons
{
273 /* The auto-generated edit comments */
278 /** Generic minor/bot/newpage styling (recent changes) */
286 * Recreating deleted page warning
287 * Reupload file warning
288 * Page protection warning
289 * incl. log entries for these warnings
291 div
.mw-warning-with-logexcerpt
{
294 border: 2px solid
#2a4b8d;
298 div
.mw-warning-with-logexcerpt ul li
{
302 /* (show/hide) revision deletion links */
303 span
.mw-revdelundel-link
,
304 strong
.mw-revdelundel-link
{
308 span
.mw-revdelundel-hidden
,
309 input
.mw-revdelundel-hidden
{
313 td
.mw-revdel-checkbox
,
314 th
.mw-revdel-checkbox
{
319 /* red links; see T38276 */
328 text-decoration: inherit
;
330 a
.mw-selflink:hover
{
332 text-decoration: inherit
;
334 a
.mw-selflink:active
,
335 a
.mw-selflink:visited
{
339 /* Plainlinks - this can be used to switch
340 * off special external link styling */
341 .plainlinks a.external {
342 background: none
!important
; /* stylelint-disable-line declaration-no-important */
343 padding: 0 !important
; /* stylelint-disable-line declaration-no-important */
346 /* External URLs should always be treated as LTR (T6330) */
347 /* @noflip */ .rtl a
.external
.free
,
348 .rtl a.external.autonumber {
354 * wikitable class for skinning normal tables
355 * keep in sync with commonPrint.css
358 background-color: #f8f9fa;
361 border: 1px solid
#a2a9b1;
362 border-collapse: collapse
;
365 table
.wikitable
> tr
> th
,
366 table
.wikitable
> tr
> td
,
367 table
.wikitable
> * > tr
> th
,
368 table
.wikitable
> * > tr
> td
{
369 border: 1px solid
#a2a9b1;
370 padding: 0.2em 0.4em;
373 table
.wikitable
> tr
> th
,
374 table
.wikitable
> * > tr
> th
{
375 background-color: #eaecf0;
379 table
.wikitable
> caption
{
383 /* success and error messages */
408 display: inline-block
;
410 *display: inline
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
426 border-color: #fac5c5;
427 background-color: #fae3e3;
432 border-color: #fde29b;
433 background-color: #fdf1d1;
438 border-color: #b7fdb5;
439 background-color: #e1fddf;
442 /* general info/warning box for SP */
444 border: 2px solid
#ff7f00;
457 margin: 0.5em 0.5em 0.5em 49px;
460 /* Note on preview page */
478 * Transparent table with suddle borders
479 * and blue row-highlighting.
482 border-collapse: collapse
;
488 border: 1px solid
#a2a9b1;
489 padding: 0 0.15em 0 0.15em;
493 background-color: #ddf;
497 background-color: #fff;
500 .mw-datatable tr:hover td {
501 background-color: #eaf3ff;
504 /* Correct directionality when page dir is different from site/user dir */
506 .mw-content-rtl .mw-content-ltr ul {
508 margin: 0.3em 0 0 1.6em;
513 .mw-content-ltr .mw-content-rtl ul {
515 margin: 0.3em 1.6em 0 0;
520 .mw-content-rtl .mw-content-ltr ol {
522 margin: 0.3em 0 0 3.2em;
527 .mw-content-ltr .mw-content-rtl ol {
529 margin: 0.3em 3.2em 0 0;
535 .mw-content-rtl .mw-content-ltr dd {
542 .mw-content-ltr .mw-content-rtl dd {
548 background-image: url
( images
/ajax-loader
.gif
);
549 background-position: center center
;
550 background-repeat: no-repeat
;
557 padding: 10px !important
; /* stylelint-disable-line declaration-no-important */
559 background-image: url
( images
/spinner
.gif
);
560 background-position: center center
;
561 background-repeat: no-repeat
;
564 /* Language specific height correction for titles. Ref T31405 and T32809 */
565 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
568 h1:lang
( bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
587 line-height: 1.6em !important
; /* stylelint-disable-line declaration-no-important */
590 /* stylelint-disable selector-list-comma-newline-after */
591 h2:lang
( anp
), h3:lang
( anp
), h4:lang
( anp
), h5:lang
( anp
), h6:lang
( anp
),
592 h2:lang
( as
), h3:lang
( as
), h4:lang
( as
), h5:lang
( as
), h6:lang
( as
),
593 h2:lang
( bho
), h3:lang
( bho
), h4:lang
( bho
), h5:lang
( bho
), h6:lang
( bho
),
594 h2:lang
( bh
), h3:lang
( bh
), h4:lang
( bh
), h5:lang
( bh
), h6:lang
( bh
),
595 h2:lang
( bn
), h3:lang
( bn
), h4:lang
( bn
), h5:lang
( bn
), h6:lang
( bn
),
596 h2:lang
( gu
), h3:lang
( gu
), h4:lang
( gu
), h5:lang
( gu
), h6:lang
( gu
),
597 h2:lang
( hi
), h3:lang
( hi
), h4:lang
( hi
), h5:lang
( hi
), h6:lang
( hi
),
598 h2:lang
( kn
), h3:lang
( kn
), h4:lang
( kn
), h5:lang
( kn
), h6:lang
( kn
),
599 h2:lang
( ks
), h3:lang
( ks
), h4:lang
( ks
), h5:lang
( ks
), h6:lang
( ks
),
600 h2:lang
( ml
), h3:lang
( ml
), h4:lang
( ml
), h5:lang
( ml
), h6:lang
( ml
),
601 h2:lang
( mr
), h3:lang
( mr
), h4:lang
( mr
), h5:lang
( mr
), h6:lang
( mr
),
602 h2:lang
( my
), h3:lang
( my
), h4:lang
( my
), h5:lang
( my
), h6:lang
( my
),
603 h2:lang
( mai
), h3:lang
( mai
), h4:lang
( mai
), h5:lang
( mai
), h6:lang
( mai
),
604 h2:lang
( ne
), h3:lang
( ne
), h4:lang
( ne
), h5:lang
( ne
), h6:lang
( ne
),
605 h2:lang
( new
), h3:lang
( new
), h4:lang
( new
), h5:lang
( new
), h6:lang
( new
),
606 h2:lang
( or
), h3:lang
( or
), h4:lang
( or
), h5:lang
( or
), h6:lang
( or
),
607 h2:lang
( pa
), h3:lang
( pa
), h4:lang
( pa
), h5:lang
( pa
), h6:lang
( pa
),
608 h2:lang
( pi
), h3:lang
( pi
), h4:lang
( pi
), h5:lang
( pi
), h6:lang
( pi
),
609 h2:lang
( sa
), h3:lang
( sa
), h4:lang
( sa
), h5:lang
( sa
), h6:lang
( sa
),
610 h2:lang
( ta
), h3:lang
( ta
), h4:lang
( ta
), h5:lang
( ta
), h6:lang
( ta
),
611 h2:lang
( te
), h3:lang
( te
), h4:lang
( te
), h5:lang
( te
), h6:lang
( te
) {
614 /* stylelint-enable selector-list-comma-newline-after */
616 /* Localised ordered list numbering for some languages */
623 ol:lang
( kk-arab
) li
,
627 list-style-type: -moz-persian
;
628 list-style-type: persian
;
633 list-style-type: -moz-arabic-indic
;
634 list-style-type: arabic-indic
;
641 list-style-type: -moz-devanagari
;
642 list-style-type: devanagari
;
647 list-style-type: -moz-bengali
;
648 list-style-type: bengali
;
652 list-style-type: -moz-oriya
;
653 list-style-type: oriya
;
661 /* Correct directionality when page dir is different from site/user dir */
662 /* @noflip */ .mw-content-ltr
.toc ul
,
663 .mw-content-ltr #toc ul
,
664 .mw-content-rtl
.mw-content-ltr
.toc ul
,
665 .mw-content-rtl .mw-content-ltr #toc ul {
669 /* @noflip */ .mw-content-rtl
.toc ul
,
670 .mw-content-rtl #toc ul
,
671 .mw-content-ltr
.mw-content-rtl
.toc ul
,
672 .mw-content-ltr .mw-content-rtl #toc ul {
676 /* @noflip */ .mw-content-ltr
.toc ul ul
,
677 .mw-content-ltr #toc ul ul
,
678 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
679 .mw-content-rtl .mw-content-ltr #toc ul ul {
683 /* @noflip */ .mw-content-rtl
.toc ul ul
,
684 .mw-content-rtl #toc ul ul
,
685 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
686 .mw-content-ltr .mw-content-rtl #toc ul ul {
707 #mw-revision-info-current,
714 /* @noflip */ div
.tright
,
721 /* @noflip */ div
.tleft
,
745 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
748 /* Print footer should be hidden by default in screen. */
761 -moz-user-select: none
;
762 -webkit-user-select: none
;
763 -ms-user-select: none
;
767 /* Display editsection links smaller and next to headings */
769 .mw-editsection-like {
773 vertical-align: baseline
;
774 /* Reset line-height; headings tend to have it set to larger values */
776 /* As .mw-editsection is a <span> (inline element), it is treated as part */
777 /* of the heading content when selecting text by multiple clicks and thus */
778 /* selected together with heading content, despite the user-select: none; */
779 /* rule set above. This enforces non-selection without changing the look. */
780 display: inline-block
;
783 /* Correct directionality when page dir is different from site/user dir */
785 .mw-content-ltr
.mw-editsection
,
786 .mw-content-rtl .mw-content-ltr .mw-editsection {
791 .mw-content-rtl
.mw-editsection
,
792 .mw-content-ltr .mw-content-rtl .mw-editsection {
796 /* Prevent citations and subscripts from interfering with the line-height */