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)
214 list-style-type: none
;
215 list-style-image: none
;
216 vertical-align: middle
!ie
;
220 display: inline-block
;
222 border-left: 1px solid
#a2a9b1;
226 display: inline
!ie
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
229 .catlinks li:first-child {
230 padding-left: 0.25em;
234 /* (T7346) make category redirects italic */
235 .catlinks li a.mw-redirect {
242 .mw-hidden-cats-hidden {
246 .catlinks-allhidden {
251 * Convenience links to edit delete and protect reasons
253 p
.mw-protect-editreasons
,
254 p
.mw-filedelete-editreasons
,
255 p
.mw-delete-editreasons
{
260 /* The auto-generated edit comments */
265 /** Generic minor/bot/newpage styling (recent changes) */
273 * Recreating deleted page warning
274 * Reupload file warning
275 * Page protection warning
276 * incl. log entries for these warnings
278 div
.mw-warning-with-logexcerpt
{
281 border: 2px solid
#2a4b8d;
285 div
.mw-warning-with-logexcerpt ul li
{
289 /* (show/hide) revision deletion links */
290 span
.mw-revdelundel-link
,
291 strong
.mw-revdelundel-link
{
295 span
.mw-revdelundel-hidden
,
296 input
.mw-revdelundel-hidden
{
300 td
.mw-revdel-checkbox
,
301 th
.mw-revdel-checkbox
{
306 /* red links; see T38276 */
311 /* Plainlinks - this can be used to switch
312 * off special external link styling */
313 .plainlinks a.external {
314 background: none
!important
; /* stylelint-disable-line declaration-no-important */
315 padding: 0 !important
; /* stylelint-disable-line declaration-no-important */
318 /* External URLs should always be treated as LTR (T6330) */
319 /* @noflip */ .rtl a
.external
.free
,
320 .rtl a.external.autonumber {
326 * wikitable class for skinning normal tables
327 * keep in sync with commonPrint.css
330 background-color: #f8f9fa;
333 border: 1px solid
#a2a9b1;
334 border-collapse: collapse
;
337 table
.wikitable
> tr
> th
,
338 table
.wikitable
> tr
> td
,
339 table
.wikitable
> * > tr
> th
,
340 table
.wikitable
> * > tr
> td
{
341 border: 1px solid
#a2a9b1;
342 padding: 0.2em 0.4em;
345 table
.wikitable
> tr
> th
,
346 table
.wikitable
> * > tr
> th
{
347 background-color: #eaecf0;
351 table
.wikitable
> caption
{
355 /* success and error messages */
380 display: inline-block
;
382 *display: inline
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
398 border-color: #fac5c5;
399 background-color: #fae3e3;
404 border-color: #fde29b;
405 background-color: #fdf1d1;
410 border-color: #b7fdb5;
411 background-color: #e1fddf;
414 /* general info/warning box for SP */
416 border: 2px solid
#ff7f00;
429 margin: 0.5em 0.5em 0.5em 49px;
432 /* Note on preview page */
450 * Transparent table with suddle borders
451 * and blue row-highlighting.
454 border-collapse: collapse
;
460 border: 1px solid
#a2a9b1;
461 padding: 0 0.15em 0 0.15em;
465 background-color: #ddf;
469 background-color: #fff;
472 .mw-datatable tr:hover td {
473 background-color: #eaf3ff;
476 /* Correct directionality when page dir is different from site/user dir */
478 .mw-content-rtl .mw-content-ltr ul {
480 margin: 0.3em 0 0 1.6em;
485 .mw-content-ltr .mw-content-rtl ul {
487 margin: 0.3em 1.6em 0 0;
492 .mw-content-rtl .mw-content-ltr ol {
494 margin: 0.3em 0 0 3.2em;
499 .mw-content-ltr .mw-content-rtl ol {
501 margin: 0.3em 3.2em 0 0;
507 .mw-content-rtl .mw-content-ltr dd {
514 .mw-content-ltr .mw-content-rtl dd {
520 background-image: url
( images
/ajax-loader
.gif
);
521 background-position: center center
;
522 background-repeat: no-repeat
;
529 padding: 10px !important
; /* stylelint-disable-line declaration-no-important */
531 background-image: url
( images
/spinner
.gif
);
532 background-position: center center
;
533 background-repeat: no-repeat
;
536 /* Language specific height correction for titles. Ref T31405 and T32809 */
537 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
540 h1:lang
( bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
559 line-height: 1.6em !important
; /* stylelint-disable-line declaration-no-important */
562 /* stylelint-disable selector-list-comma-newline-after */
563 h2:lang
( anp
), h3:lang
( anp
), h4:lang
( anp
), h5:lang
( anp
), h6:lang
( anp
),
564 h2:lang
( as
), h3:lang
( as
), h4:lang
( as
), h5:lang
( as
), h6:lang
( as
),
565 h2:lang
( bho
), h3:lang
( bho
), h4:lang
( bho
), h5:lang
( bho
), h6:lang
( bho
),
566 h2:lang
( bh
), h3:lang
( bh
), h4:lang
( bh
), h5:lang
( bh
), h6:lang
( bh
),
567 h2:lang
( bn
), h3:lang
( bn
), h4:lang
( bn
), h5:lang
( bn
), h6:lang
( bn
),
568 h2:lang
( gu
), h3:lang
( gu
), h4:lang
( gu
), h5:lang
( gu
), h6:lang
( gu
),
569 h2:lang
( hi
), h3:lang
( hi
), h4:lang
( hi
), h5:lang
( hi
), h6:lang
( hi
),
570 h2:lang
( kn
), h3:lang
( kn
), h4:lang
( kn
), h5:lang
( kn
), h6:lang
( kn
),
571 h2:lang
( ks
), h3:lang
( ks
), h4:lang
( ks
), h5:lang
( ks
), h6:lang
( ks
),
572 h2:lang
( ml
), h3:lang
( ml
), h4:lang
( ml
), h5:lang
( ml
), h6:lang
( ml
),
573 h2:lang
( mr
), h3:lang
( mr
), h4:lang
( mr
), h5:lang
( mr
), h6:lang
( mr
),
574 h2:lang
( my
), h3:lang
( my
), h4:lang
( my
), h5:lang
( my
), h6:lang
( my
),
575 h2:lang
( mai
), h3:lang
( mai
), h4:lang
( mai
), h5:lang
( mai
), h6:lang
( mai
),
576 h2:lang
( ne
), h3:lang
( ne
), h4:lang
( ne
), h5:lang
( ne
), h6:lang
( ne
),
577 h2:lang
( new
), h3:lang
( new
), h4:lang
( new
), h5:lang
( new
), h6:lang
( new
),
578 h2:lang
( or
), h3:lang
( or
), h4:lang
( or
), h5:lang
( or
), h6:lang
( or
),
579 h2:lang
( pa
), h3:lang
( pa
), h4:lang
( pa
), h5:lang
( pa
), h6:lang
( pa
),
580 h2:lang
( pi
), h3:lang
( pi
), h4:lang
( pi
), h5:lang
( pi
), h6:lang
( pi
),
581 h2:lang
( sa
), h3:lang
( sa
), h4:lang
( sa
), h5:lang
( sa
), h6:lang
( sa
),
582 h2:lang
( ta
), h3:lang
( ta
), h4:lang
( ta
), h5:lang
( ta
), h6:lang
( ta
),
583 h2:lang
( te
), h3:lang
( te
), h4:lang
( te
), h5:lang
( te
), h6:lang
( te
) {
586 /* stylelint-enable selector-list-comma-newline-after */
588 /* Localised ordered list numbering for some languages */
595 ol:lang
( kk-arab
) li
,
599 list-style-type: -moz-persian
;
600 list-style-type: persian
;
605 list-style-type: -moz-arabic-indic
;
606 list-style-type: arabic-indic
;
613 list-style-type: -moz-devanagari
;
614 list-style-type: devanagari
;
619 list-style-type: -moz-bengali
;
620 list-style-type: bengali
;
624 list-style-type: -moz-oriya
;
625 list-style-type: oriya
;
632 /* Correct directionality when page dir is different from site/user dir */
633 /* @noflip */ .mw-content-ltr
.toc ul
,
634 .mw-content-rtl .mw-content-ltr .toc ul {
638 /* @noflip */ .mw-content-rtl
.toc ul
,
639 .mw-content-ltr .mw-content-rtl .toc ul {
643 /* @noflip */ .mw-content-ltr
.toc ul ul
,
644 .mw-content-rtl .mw-content-ltr .toc ul ul {
648 /* @noflip */ .mw-content-rtl
.toc ul ul
,
649 .mw-content-ltr .mw-content-rtl .toc ul ul {
667 #mw-revision-info-current,
674 /* @noflip */ div
.tright
,
681 /* @noflip */ div
.tleft
,
705 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
708 /* Print footer should be hidden by default in screen. */
721 -moz-user-select: none
;
722 -webkit-user-select: none
;
723 -ms-user-select: none
;
727 /* Display editsection links smaller and next to headings */
729 .mw-editsection-like {
733 vertical-align: baseline
;
734 /* Reset line-height; headings tend to have it set to larger values */
738 /* Correct directionality when page dir is different from site/user dir */
740 .mw-content-ltr
.mw-editsection
,
741 .mw-content-rtl .mw-content-ltr .mw-editsection {
746 .mw-content-rtl
.mw-editsection
,
747 .mw-content-ltr .mw-content-rtl .mw-editsection {
751 /* Prevent citations and subscripts from interfering with the line-height */