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 /* Underline preference */
115 .mw-underline-always a {
116 text-decoration: underline
;
119 .mw-underline-never a {
120 text-decoration: none
;
127 span
.history-deleted
{
128 text-decoration: line-through
;
137 background-color: #ffa;
155 vertical-align: middle
;
167 .mw-input-with-label {
169 display: inline-block
;
175 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
179 .mw-content-ltr .thumbcaption {
184 .mw-content-ltr .magnify {
189 .mw-content-rtl .thumbcaption {
194 .mw-content-rtl .magnify {
203 * Overrides text justification (user preference)
213 list-style: none none
;
214 vertical-align: middle
!ie
;
218 display: inline-block
;
220 border-left: 1px solid
#a2a9b1;
224 display: inline
!ie
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
227 .catlinks li:first-child {
228 padding-left: 0.25em;
232 /* (T7346) make category redirects italic */
233 .catlinks li a.mw-redirect {
240 .mw-hidden-cats-hidden {
244 .catlinks-allhidden {
249 * Convenience links to edit delete and protect reasons
251 p
.mw-protect-editreasons
,
252 p
.mw-filedelete-editreasons
,
253 p
.mw-delete-editreasons
{
258 /* The auto-generated edit comments */
263 /** Generic minor/bot/newpage styling (recent changes) */
271 * Recreating deleted page warning
272 * Reupload file warning
273 * Page protection warning
274 * incl. log entries for these warnings
276 div
.mw-warning-with-logexcerpt
{
279 border: 2px solid
#2a4b8d;
283 div
.mw-warning-with-logexcerpt ul li
{
287 /* (show/hide) revision deletion links */
288 span
.mw-revdelundel-link
,
289 strong
.mw-revdelundel-link
{
293 span
.mw-revdelundel-hidden
,
294 input
.mw-revdelundel-hidden
{
298 td
.mw-revdel-checkbox
,
299 th
.mw-revdel-checkbox
{
304 /* red links; see T38276 */
309 /* Plainlinks - this can be used to switch
310 * off special external link styling */
311 .plainlinks a.external {
312 background: none
!important
; /* stylelint-disable-line declaration-no-important */
313 padding: 0 !important
; /* stylelint-disable-line declaration-no-important */
316 /* External URLs should always be treated as LTR (T6330) */
317 /* @noflip */ .rtl a
.external
.free
,
318 .rtl a.external.autonumber {
324 * wikitable class for skinning normal tables
325 * keep in sync with commonPrint.css
328 background-color: #f8f9fa;
331 border: 1px solid
#a2a9b1;
332 border-collapse: collapse
;
335 table
.wikitable
> tr
> th
,
336 table
.wikitable
> tr
> td
,
337 table
.wikitable
> * > tr
> th
,
338 table
.wikitable
> * > tr
> td
{
339 border: 1px solid
#a2a9b1;
340 padding: 0.2em 0.4em;
343 table
.wikitable
> tr
> th
,
344 table
.wikitable
> * > tr
> th
{
345 background-color: #eaecf0;
349 table
.wikitable
> caption
{
353 /* success and error messages */
378 display: inline-block
;
380 *display: inline
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
396 border-color: #fac5c5;
397 background-color: #fae3e3;
402 border-color: #fde29b;
403 background-color: #fdf1d1;
408 border-color: #b7fdb5;
409 background-color: #e1fddf;
412 /* general info/warning box for SP */
414 border: 2px solid
#ff7f00;
427 margin: 0.5em 0.5em 0.5em 49px;
430 /* Note on preview page */
448 * Transparent table with suddle borders
449 * and blue row-highlighting.
452 border-collapse: collapse
;
458 border: 1px solid
#a2a9b1;
459 padding: 0 0.15em 0 0.15em;
463 background-color: #ddf;
467 background-color: #fff;
470 .mw-datatable tr:hover td {
471 background-color: #eaf3ff;
474 /* Correct directionality when page dir is different from site/user dir */
476 .mw-content-rtl .mw-content-ltr ul {
478 margin: 0.3em 0 0 1.6em;
483 .mw-content-ltr .mw-content-rtl ul {
485 margin: 0.3em 1.6em 0 0;
490 .mw-content-rtl .mw-content-ltr ol {
492 margin: 0.3em 0 0 3.2em;
497 .mw-content-ltr .mw-content-rtl ol {
499 margin: 0.3em 3.2em 0 0;
505 .mw-content-rtl .mw-content-ltr dd {
512 .mw-content-ltr .mw-content-rtl dd {
518 background-image: url
( images
/ajax-loader
.gif
);
519 background-position: center center
;
520 background-repeat: no-repeat
;
527 padding: 10px !important
; /* stylelint-disable-line declaration-no-important */
529 background-image: url
( images
/spinner
.gif
);
530 background-position: center center
;
531 background-repeat: no-repeat
;
534 /* Language specific height correction for titles. Ref T31405 and T32809 */
535 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
538 h1:lang
( bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
557 line-height: 1.6em !important
; /* stylelint-disable-line declaration-no-important */
560 /* stylelint-disable selector-list-comma-newline-after */
561 h2:lang
( anp
), h3:lang
( anp
), h4:lang
( anp
), h5:lang
( anp
), h6:lang
( anp
),
562 h2:lang
( as
), h3:lang
( as
), h4:lang
( as
), h5:lang
( as
), h6:lang
( as
),
563 h2:lang
( bho
), h3:lang
( bho
), h4:lang
( bho
), h5:lang
( bho
), h6:lang
( bho
),
564 h2:lang
( bh
), h3:lang
( bh
), h4:lang
( bh
), h5:lang
( bh
), h6:lang
( bh
),
565 h2:lang
( bn
), h3:lang
( bn
), h4:lang
( bn
), h5:lang
( bn
), h6:lang
( bn
),
566 h2:lang
( gu
), h3:lang
( gu
), h4:lang
( gu
), h5:lang
( gu
), h6:lang
( gu
),
567 h2:lang
( hi
), h3:lang
( hi
), h4:lang
( hi
), h5:lang
( hi
), h6:lang
( hi
),
568 h2:lang
( kn
), h3:lang
( kn
), h4:lang
( kn
), h5:lang
( kn
), h6:lang
( kn
),
569 h2:lang
( ks
), h3:lang
( ks
), h4:lang
( ks
), h5:lang
( ks
), h6:lang
( ks
),
570 h2:lang
( ml
), h3:lang
( ml
), h4:lang
( ml
), h5:lang
( ml
), h6:lang
( ml
),
571 h2:lang
( mr
), h3:lang
( mr
), h4:lang
( mr
), h5:lang
( mr
), h6:lang
( mr
),
572 h2:lang
( my
), h3:lang
( my
), h4:lang
( my
), h5:lang
( my
), h6:lang
( my
),
573 h2:lang
( mai
), h3:lang
( mai
), h4:lang
( mai
), h5:lang
( mai
), h6:lang
( mai
),
574 h2:lang
( ne
), h3:lang
( ne
), h4:lang
( ne
), h5:lang
( ne
), h6:lang
( ne
),
575 h2:lang
( new
), h3:lang
( new
), h4:lang
( new
), h5:lang
( new
), h6:lang
( new
),
576 h2:lang
( or
), h3:lang
( or
), h4:lang
( or
), h5:lang
( or
), h6:lang
( or
),
577 h2:lang
( pa
), h3:lang
( pa
), h4:lang
( pa
), h5:lang
( pa
), h6:lang
( pa
),
578 h2:lang
( pi
), h3:lang
( pi
), h4:lang
( pi
), h5:lang
( pi
), h6:lang
( pi
),
579 h2:lang
( sa
), h3:lang
( sa
), h4:lang
( sa
), h5:lang
( sa
), h6:lang
( sa
),
580 h2:lang
( ta
), h3:lang
( ta
), h4:lang
( ta
), h5:lang
( ta
), h6:lang
( ta
),
581 h2:lang
( te
), h3:lang
( te
), h4:lang
( te
), h5:lang
( te
), h6:lang
( te
) {
584 /* stylelint-enable selector-list-comma-newline-after */
586 /* Localised ordered list numbering for some languages */
593 ol:lang
( kk-arab
) li
,
597 list-style-type: -moz-persian
;
598 list-style-type: persian
;
603 list-style-type: -moz-arabic-indic
;
604 list-style-type: arabic-indic
;
611 list-style-type: -moz-devanagari
;
612 list-style-type: devanagari
;
617 list-style-type: -moz-bengali
;
618 list-style-type: bengali
;
622 list-style-type: -moz-oriya
;
623 list-style-type: oriya
;
630 /* Correct directionality when page dir is different from site/user dir */
631 /* @noflip */ .mw-content-ltr
.toc ul
,
632 .mw-content-rtl .mw-content-ltr .toc ul {
636 /* @noflip */ .mw-content-rtl
.toc ul
,
637 .mw-content-ltr .mw-content-rtl .toc ul {
641 /* @noflip */ .mw-content-ltr
.toc ul ul
,
642 .mw-content-rtl .mw-content-ltr .toc ul ul {
646 /* @noflip */ .mw-content-rtl
.toc ul ul
,
647 .mw-content-ltr .mw-content-rtl .toc ul ul {
665 #mw-revision-info-current,
672 /* @noflip */ div
.tright
,
679 /* @noflip */ div
.tleft
,
698 /* Print footer should be hidden by default in screen. */
710 -moz-user-select: none
;
711 -webkit-user-select: none
;
712 -ms-user-select: none
;
716 /* Display editsection links smaller and next to headings */
718 .mw-editsection-like {
722 vertical-align: baseline
;
723 /* Reset line-height; headings tend to have it set to larger values */
727 /* Correct directionality when page dir is different from site/user dir */
729 .mw-content-ltr
.mw-editsection
,
730 .mw-content-rtl .mw-content-ltr .mw-editsection {
735 .mw-content-rtl
.mw-editsection
,
736 .mw-content-ltr .mw-content-rtl .mw-editsection {
740 /* Prevent citations and subscripts from interfering with the line-height */