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 ? */
66 /* Override default values */
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 /* Edit font preference */
109 /* TODO: for 'default' on non-textareas we could compute the default font of textarea in the client */
110 .mw-editfont-default:not( textarea ) {
111 font-family: monospace
;
114 /* Keep this rule separate from the :not rule above so it still works in older browsers */
115 .mw-editfont-monospace {
116 font-family: monospace
;
119 .mw-editfont-sans-serif {
120 font-family: sans-serif
;
127 /* Underline preference */
129 .mw-underline-always a {
130 text-decoration: underline
;
133 .mw-underline-never a {
134 text-decoration: none
;
141 span
.history-deleted
{
142 text-decoration: line-through
;
151 background-color: #ffa;
169 vertical-align: middle
;
181 .mw-input-with-label {
183 display: inline-block
;
189 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
193 .mw-content-ltr .thumbcaption {
198 .mw-content-ltr .magnify {
203 .mw-content-rtl .thumbcaption {
208 .mw-content-rtl .magnify {
217 * Overrides text justification (user preference)
228 list-style-type: none
;
229 list-style-image: none
;
230 vertical-align: middle
!ie
;
234 display: inline-block
;
236 border-left: 1px solid
#a2a9b1;
240 display: inline
!ie
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
243 .catlinks li:first-child {
244 padding-left: 0.25em;
248 /* (T7346) make category redirects italic */
249 .catlinks li a.mw-redirect {
256 .mw-hidden-cats-hidden {
260 .catlinks-allhidden {
265 * Convenience links to edit delete and protect reasons
267 p
.mw-protect-editreasons
,
268 p
.mw-filedelete-editreasons
,
269 p
.mw-delete-editreasons
{
274 /* The auto-generated edit comments */
279 /** Generic minor/bot/newpage styling (recent changes) */
287 * Recreating deleted page warning
288 * Reupload file warning
289 * Page protection warning
290 * incl. log entries for these warnings
292 div
.mw-warning-with-logexcerpt
{
295 border: 2px solid
#2a4b8d;
299 div
.mw-warning-with-logexcerpt ul li
{
303 /* (show/hide) revision deletion links */
304 span
.mw-revdelundel-link
,
305 strong
.mw-revdelundel-link
{
309 span
.mw-revdelundel-hidden
,
310 input
.mw-revdelundel-hidden
{
314 td
.mw-revdel-checkbox
,
315 th
.mw-revdel-checkbox
{
320 /* red links; see T38276 */
329 text-decoration: inherit
;
331 a
.mw-selflink:hover
{
333 text-decoration: inherit
;
335 a
.mw-selflink:active
,
336 a
.mw-selflink:visited
{
340 /* Plainlinks - this can be used to switch
341 * off special external link styling */
342 .plainlinks a.external {
343 background: none
!important
; /* stylelint-disable-line declaration-no-important */
344 padding: 0 !important
; /* stylelint-disable-line declaration-no-important */
347 /* External URLs should always be treated as LTR (T6330) */
348 /* @noflip */ .rtl a
.external
.free
,
349 .rtl a.external.autonumber {
355 * wikitable class for skinning normal tables
356 * keep in sync with commonPrint.css
360 background-color: #f8f9fa;
361 border: 1px solid
#a2a9b1;
362 border-collapse: collapse
;
366 table
.wikitable
> tr
> th
,
367 table
.wikitable
> tr
> td
,
368 table
.wikitable
> * > tr
> th
,
369 table
.wikitable
> * > tr
> td
{
370 border: 1px solid
#a2a9b1;
371 padding: 0.2em 0.4em;
374 table
.wikitable
> tr
> th
,
375 table
.wikitable
> * > tr
> th
{
376 background-color: #eaecf0;
380 table
.wikitable
> caption
{
384 /* success and error messages */
409 display: inline-block
;
411 *display: inline
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
427 border-color: #fac5c5;
428 background-color: #fae3e3;
433 border-color: #fde29b;
434 background-color: #fdf1d1;
439 border-color: #b7fdb5;
440 background-color: #e1fddf;
443 /* general info/warning box for SP */
445 border: 2px solid
#ff7f00;
458 margin: 0.5em 0.5em 0.5em 49px;
461 /* Note on preview page */
479 * Transparent table with suddle borders
480 * and blue row-highlighting.
483 border-collapse: collapse
;
489 border: 1px solid
#a2a9b1;
490 padding: 0 0.15em 0 0.15em;
494 background-color: #ddf;
498 background-color: #fff;
501 .mw-datatable tr:hover td {
502 background-color: #eaf3ff;
505 /* Correct directionality when page dir is different from site/user dir */
507 .mw-content-rtl .mw-content-ltr ul {
509 margin: 0.3em 0 0 1.6em;
514 .mw-content-ltr .mw-content-rtl ul {
516 margin: 0.3em 1.6em 0 0;
521 .mw-content-rtl .mw-content-ltr ol {
523 margin: 0.3em 0 0 3.2em;
528 .mw-content-ltr .mw-content-rtl ol {
530 margin: 0.3em 3.2em 0 0;
536 .mw-content-rtl .mw-content-ltr dd {
543 .mw-content-ltr .mw-content-rtl dd {
549 background-image: url
( images
/ajax-loader
.gif
);
550 background-position: center center
;
551 background-repeat: no-repeat
;
558 padding: 10px !important
; /* stylelint-disable-line declaration-no-important */
560 background-image: url
( images
/spinner
.gif
);
561 background-position: center center
;
562 background-repeat: no-repeat
;
565 /* Language specific height correction for titles. Ref T31405 and T32809 */
566 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
569 h1:lang
( bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
588 line-height: 1.6em !important
; /* stylelint-disable-line declaration-no-important */
591 /* stylelint-disable selector-list-comma-newline-after */
592 h2:lang
( anp
), h3:lang
( anp
), h4:lang
( anp
), h5:lang
( anp
), h6:lang
( anp
),
593 h2:lang
( as
), h3:lang
( as
), h4:lang
( as
), h5:lang
( as
), h6:lang
( as
),
594 h2:lang
( bho
), h3:lang
( bho
), h4:lang
( bho
), h5:lang
( bho
), h6:lang
( bho
),
595 h2:lang
( bh
), h3:lang
( bh
), h4:lang
( bh
), h5:lang
( bh
), h6:lang
( bh
),
596 h2:lang
( bn
), h3:lang
( bn
), h4:lang
( bn
), h5:lang
( bn
), h6:lang
( bn
),
597 h2:lang
( gu
), h3:lang
( gu
), h4:lang
( gu
), h5:lang
( gu
), h6:lang
( gu
),
598 h2:lang
( hi
), h3:lang
( hi
), h4:lang
( hi
), h5:lang
( hi
), h6:lang
( hi
),
599 h2:lang
( kn
), h3:lang
( kn
), h4:lang
( kn
), h5:lang
( kn
), h6:lang
( kn
),
600 h2:lang
( ks
), h3:lang
( ks
), h4:lang
( ks
), h5:lang
( ks
), h6:lang
( ks
),
601 h2:lang
( ml
), h3:lang
( ml
), h4:lang
( ml
), h5:lang
( ml
), h6:lang
( ml
),
602 h2:lang
( mr
), h3:lang
( mr
), h4:lang
( mr
), h5:lang
( mr
), h6:lang
( mr
),
603 h2:lang
( my
), h3:lang
( my
), h4:lang
( my
), h5:lang
( my
), h6:lang
( my
),
604 h2:lang
( mai
), h3:lang
( mai
), h4:lang
( mai
), h5:lang
( mai
), h6:lang
( mai
),
605 h2:lang
( ne
), h3:lang
( ne
), h4:lang
( ne
), h5:lang
( ne
), h6:lang
( ne
),
606 h2:lang
( new
), h3:lang
( new
), h4:lang
( new
), h5:lang
( new
), h6:lang
( new
),
607 h2:lang
( or
), h3:lang
( or
), h4:lang
( or
), h5:lang
( or
), h6:lang
( or
),
608 h2:lang
( pa
), h3:lang
( pa
), h4:lang
( pa
), h5:lang
( pa
), h6:lang
( pa
),
609 h2:lang
( pi
), h3:lang
( pi
), h4:lang
( pi
), h5:lang
( pi
), h6:lang
( pi
),
610 h2:lang
( sa
), h3:lang
( sa
), h4:lang
( sa
), h5:lang
( sa
), h6:lang
( sa
),
611 h2:lang
( ta
), h3:lang
( ta
), h4:lang
( ta
), h5:lang
( ta
), h6:lang
( ta
),
612 h2:lang
( te
), h3:lang
( te
), h4:lang
( te
), h5:lang
( te
), h6:lang
( te
) {
615 /* stylelint-enable selector-list-comma-newline-after */
617 /* Localised ordered list numbering for some languages */
624 ol:lang
( kk-arab
) li
,
628 list-style-type: -moz-persian
;
629 list-style-type: persian
;
634 list-style-type: -moz-arabic-indic
;
635 list-style-type: arabic-indic
;
642 list-style-type: -moz-devanagari
;
643 list-style-type: devanagari
;
648 list-style-type: -moz-bengali
;
649 list-style-type: bengali
;
653 list-style-type: -moz-oriya
;
654 list-style-type: oriya
;
662 /* Correct directionality when page dir is different from site/user dir */
663 /* @noflip */ .mw-content-ltr
.toc ul
,
664 .mw-content-ltr #toc ul
,
665 .mw-content-rtl
.mw-content-ltr
.toc ul
,
666 .mw-content-rtl .mw-content-ltr #toc ul {
670 /* @noflip */ .mw-content-rtl
.toc ul
,
671 .mw-content-rtl #toc ul
,
672 .mw-content-ltr
.mw-content-rtl
.toc ul
,
673 .mw-content-ltr .mw-content-rtl #toc ul {
677 /* @noflip */ .mw-content-ltr
.toc ul ul
,
678 .mw-content-ltr #toc ul ul
,
679 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
680 .mw-content-rtl .mw-content-ltr #toc ul ul {
684 /* @noflip */ .mw-content-rtl
.toc ul ul
,
685 .mw-content-rtl #toc ul ul
,
686 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
687 .mw-content-ltr .mw-content-rtl #toc ul ul {
708 #mw-revision-info-current,
715 /* @noflip */ div
.tright
,
722 /* @noflip */ div
.tleft
,
746 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
749 /* Print footer should be hidden by default in screen. */
762 -moz-user-select: none
;
763 -webkit-user-select: none
;
764 -ms-user-select: none
;
768 /* Display editsection links smaller and next to headings */
770 .mw-editsection-like {
774 vertical-align: baseline
;
775 /* Reset line-height; headings tend to have it set to larger values */
777 /* As .mw-editsection is a <span> (inline element), it is treated as part */
778 /* of the heading content when selecting text by multiple clicks and thus */
779 /* selected together with heading content, despite the user-select: none; */
780 /* rule set above. This enforces non-selection without changing the look. */
781 display: inline-block
;
784 /* Correct directionality when page dir is different from site/user dir */
786 .mw-content-ltr
.mw-editsection
,
787 .mw-content-rtl .mw-content-ltr .mw-editsection {
792 .mw-content-rtl
.mw-editsection
,
793 .mw-content-ltr .mw-content-rtl .mw-editsection {
797 /* Prevent citations and subscripts from interfering with the line-height */