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;
180 vertical-align: middle
;
188 background-color: #fff;
192 padding: 0.625em 0.546875em 0.546875em;
193 border: 1px solid
#a2a9b1;
195 box-shadow: inset
0 0 0 1px #fff;
196 font-family: inherit
;
198 -webkit-transition: border-color
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 ), box-shadow
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 );
199 -moz-transition: border-color
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 ), box-shadow
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 );
200 transition: border-color
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 ), box-shadow
200ms cubic-bezier
( 0.39, 0.575, 0.565, 1 );
203 input#
wpSummary:focus
,
204 input#
wpSummary:active
{
207 box-shadow: inset
0 0 0 1px #36c;
210 .mw-input-with-label {
212 display: inline-block
;
218 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
222 .mw-content-ltr .thumbcaption {
227 .mw-content-ltr .magnify {
232 .mw-content-rtl .thumbcaption {
237 .mw-content-rtl .magnify {
246 * Overrides text justification (user preference)
257 list-style-type: none
;
258 list-style-image: none
;
259 vertical-align: middle
!ie
;
263 display: inline-block
;
265 border-left: 1px solid
#a2a9b1;
269 display: inline
!ie
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
272 .catlinks li:first-child {
273 padding-left: 0.25em;
277 /* (bug 5346) make category redirects italic */
278 .catlinks li a.mw-redirect {
285 .mw-hidden-cats-hidden {
289 .catlinks-allhidden {
294 * Convenience links to edit delete and protect reasons
296 p
.mw-protect-editreasons
,
297 p
.mw-filedelete-editreasons
,
298 p
.mw-delete-editreasons
{
303 /* The auto-generated edit comments */
308 /** Generic minor/bot/newpage styling (recent changes) */
316 * Recreating deleted page warning
317 * Reupload file warning
318 * Page protection warning
319 * incl. log entries for these warnings
321 div
.mw-warning-with-logexcerpt
{
324 border: 2px solid
#2a4b8d;
328 div
.mw-warning-with-logexcerpt ul li
{
332 /* (show/hide) revision deletion links */
333 span
.mw-revdelundel-link
,
334 strong
.mw-revdelundel-link
{
338 span
.mw-revdelundel-hidden
,
339 input
.mw-revdelundel-hidden
{
343 td
.mw-revdel-checkbox
,
344 th
.mw-revdel-checkbox
{
349 /* red links; see bug 36276 */
354 /* Plainlinks - this can be used to switch
355 * off special external link styling */
356 .plainlinks a.external {
357 background: none
!important
;
358 padding: 0 !important
;
361 /* External URLs should always be treated as LTR (bug 4330) */
362 /* @noflip */ .rtl a
.external
.free
,
363 .rtl a.external.autonumber {
369 * wikitable class for skinning normal tables
370 * keep in sync with commonPrint.css
374 background-color: #f8f9fa;
375 border: 1px solid
#a2a9b1;
376 border-collapse: collapse
;
380 table
.wikitable
> tr
> th
,
381 table
.wikitable
> tr
> td
,
382 table
.wikitable
> * > tr
> th
,
383 table
.wikitable
> * > tr
> td
{
384 border: 1px solid
#a2a9b1;
385 padding: 0.2em 0.4em;
388 table
.wikitable
> tr
> th
,
389 table
.wikitable
> * > tr
> th
{
390 background-color: #eaecf0;
394 table
.wikitable
> caption
{
398 /* success and error messages */
423 display: inline-block
;
425 *display: inline
; /* stylelint-disable-line declaration-block-no-duplicate-properties */
441 border-color: #fac5c5;
442 background-color: #fae3e3;
447 border-color: #fde29b;
448 background-color: #fdf1d1;
453 border-color: #b7fdb5;
454 background-color: #e1fddf;
457 /* general info/warning box for SP */
459 border: 2px solid
#ff7f00;
472 margin: 0.5em 0.5em 0.5em 49px;
475 /* Note on preview page */
493 * Transparent table with suddle borders
494 * and blue row-highlighting.
497 border-collapse: collapse
;
503 border: 1px solid
#a2a9b1;
504 padding: 0 0.15em 0 0.15em;
508 background-color: #ddf;
512 background-color: #fff;
515 .mw-datatable tr:hover td {
516 background-color: #eaf3ff;
519 /* Correct directionality when page dir is different from site/user dir */
521 .mw-content-rtl .mw-content-ltr ul {
523 margin: 0.3em 0 0 1.6em;
528 .mw-content-ltr .mw-content-rtl ul {
530 margin: 0.3em 1.6em 0 0;
535 .mw-content-rtl .mw-content-ltr ol {
537 margin: 0.3em 0 0 3.2em;
542 .mw-content-ltr .mw-content-rtl ol {
544 margin: 0.3em 3.2em 0 0;
550 .mw-content-rtl .mw-content-ltr dd {
557 .mw-content-ltr .mw-content-rtl dd {
563 background-image: url
( images
/ajax-loader
.gif
);
564 background-position: center center
;
565 background-repeat: no-repeat
;
572 padding: 10px !important
;
574 background-image: url
( images
/spinner
.gif
);
575 background-position: center center
;
576 background-repeat: no-repeat
;
579 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
580 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
583 h1:lang
( bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
602 line-height: 1.6em !important
;
605 h2:lang
( anp
), h3:lang
( anp
), h4:lang
( anp
), h5:lang
( anp
), h6:lang
( anp
),
606 h2:lang
( as
), h3:lang
( as
), h4:lang
( as
), h5:lang
( as
), h6:lang
( as
),
607 h2:lang
( bho
), h3:lang
( bho
), h4:lang
( bho
), h5:lang
( bho
), h6:lang
( bho
),
608 h2:lang
( bh
), h3:lang
( bh
), h4:lang
( bh
), h5:lang
( bh
), h6:lang
( bh
),
609 h2:lang
( bn
), h3:lang
( bn
), h4:lang
( bn
), h5:lang
( bn
), h6:lang
( bn
),
610 h2:lang
( gu
), h3:lang
( gu
), h4:lang
( gu
), h5:lang
( gu
), h6:lang
( gu
),
611 h2:lang
( hi
), h3:lang
( hi
), h4:lang
( hi
), h5:lang
( hi
), h6:lang
( hi
),
612 h2:lang
( kn
), h3:lang
( kn
), h4:lang
( kn
), h5:lang
( kn
), h6:lang
( kn
),
613 h2:lang
( ks
), h3:lang
( ks
), h4:lang
( ks
), h5:lang
( ks
), h6:lang
( ks
),
614 h2:lang
( ml
), h3:lang
( ml
), h4:lang
( ml
), h5:lang
( ml
), h6:lang
( ml
),
615 h2:lang
( mr
), h3:lang
( mr
), h4:lang
( mr
), h5:lang
( mr
), h6:lang
( mr
),
616 h2:lang
( my
), h3:lang
( my
), h4:lang
( my
), h5:lang
( my
), h6:lang
( my
),
617 h2:lang
( mai
), h3:lang
( mai
), h4:lang
( mai
), h5:lang
( mai
), h6:lang
( mai
),
618 h2:lang
( ne
), h3:lang
( ne
), h4:lang
( ne
), h5:lang
( ne
), h6:lang
( ne
),
619 h2:lang
( new
), h3:lang
( new
), h4:lang
( new
), h5:lang
( new
), h6:lang
( new
),
620 h2:lang
( or
), h3:lang
( or
), h4:lang
( or
), h5:lang
( or
), h6:lang
( or
),
621 h2:lang
( pa
), h3:lang
( pa
), h4:lang
( pa
), h5:lang
( pa
), h6:lang
( pa
),
622 h2:lang
( pi
), h3:lang
( pi
), h4:lang
( pi
), h5:lang
( pi
), h6:lang
( pi
),
623 h2:lang
( sa
), h3:lang
( sa
), h4:lang
( sa
), h5:lang
( sa
), h6:lang
( sa
),
624 h2:lang
( ta
), h3:lang
( ta
), h4:lang
( ta
), h5:lang
( ta
), h6:lang
( ta
),
625 h2:lang
( te
), h3:lang
( te
), h4:lang
( te
), h5:lang
( te
), h6:lang
( te
) {
629 /* Localised ordered list numbering for some languages */
636 ol:lang
( kk-arab
) li
,
640 list-style-type: -moz-persian
;
641 list-style-type: persian
;
646 list-style-type: -moz-arabic-indic
;
647 list-style-type: arabic-indic
;
652 list-style-type: -moz-devanagari
;
653 list-style-type: devanagari
;
658 list-style-type: -moz-bengali
;
659 list-style-type: bengali
;
663 list-style-type: -moz-oriya
;
664 list-style-type: oriya
;
671 /* Correct directionality when page dir is different from site/user dir */
672 /* @noflip */ .mw-content-ltr
.toc ul
,
673 .mw-content-ltr #toc ul
,
674 .mw-content-rtl
.mw-content-ltr
.toc ul
,
675 .mw-content-rtl .mw-content-ltr #toc ul {
679 /* @noflip */ .mw-content-rtl
.toc ul
,
680 .mw-content-rtl #toc ul
,
681 .mw-content-ltr
.mw-content-rtl
.toc ul
,
682 .mw-content-ltr .mw-content-rtl #toc ul {
686 /* @noflip */ .mw-content-ltr
.toc ul ul
,
687 .mw-content-ltr #toc ul ul
,
688 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
689 .mw-content-rtl .mw-content-ltr #toc ul ul {
693 /* @noflip */ .mw-content-rtl
.toc ul ul
,
694 .mw-content-rtl #toc ul ul
,
695 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
696 .mw-content-ltr .mw-content-rtl #toc ul ul {
717 #mw-revision-info-current,
724 /* @noflip */ div
.tright
,
731 /* @noflip */ div
.tleft
,
755 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
758 /* Print footer should be hidden by default in screen. */
771 -moz-user-select: none
;
772 -webkit-user-select: none
;
773 -ms-user-select: none
;
777 /* Display editsection links smaller and next to headings */
779 .mw-editsection-like {
783 vertical-align: baseline
;
784 /* Reset line-height; headings tend to have it set to larger values */
786 /* As .mw-editsection is a <span> (inline element), it is treated as part */
787 /* of the heading content when selecting text by multiple clicks and thus */
788 /* selected together with heading content, despite the user-select: none; */
789 /* rule set above. This enforces non-selection without changing the look. */
790 display: inline-block
;
793 /* Correct directionality when page dir is different from site/user dir */
795 .mw-content-ltr
.mw-editsection
,
796 .mw-content-rtl .mw-content-ltr .mw-editsection {
801 .mw-content-rtl
.mw-editsection
,
802 .mw-content-ltr .mw-content-rtl .mw-editsection {
806 /* Prevent citations and subscripts from interfering with the line-height */