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 */
112 span
.history-deleted
{
113 text-decoration: line-through
;
122 background-color: #ffa;
151 vertical-align: middle
;
163 .mw-input-with-label {
170 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
174 .mw-content-ltr .thumbcaption {
179 .mw-content-ltr .magnify {
184 .mw-content-rtl .thumbcaption {
189 .mw-content-rtl .magnify {
198 * Overrides text justification (user preference)
209 list-style-type: none
;
210 list-style-image: none
;
211 vertical-align: middle
!ie
;
215 display: inline-block
;
217 border-left: 1px solid
#aaa;
224 .catlinks li:first-child {
225 padding-left: 0.25em;
229 /* (bug 5346) make category redirects italic */
230 .catlinks li a.mw-redirect {
237 .mw-hidden-cats-hidden {
241 .catlinks-allhidden {
246 * Convenience links to edit delete and protect reasons
248 p
.mw-protect-editreasons
,
249 p
.mw-filedelete-editreasons
,
250 p
.mw-delete-editreasons
{
255 /* The auto-generated edit comments */
260 /** Generic minor/bot/newpage styling (recent changes) */
268 * Recreating deleted page warning
269 * Reupload file warning
270 * Page protection warning
271 * incl. log entries for these warnings
273 div
.mw-warning-with-logexcerpt
{
276 border: 2px solid
#2f6fab;
280 div
.mw-warning-with-logexcerpt ul li
{
284 /* (show/hide) revision deletion links */
285 span
.mw-revdelundel-link
,
286 strong
.mw-revdelundel-link
{
290 span
.mw-revdelundel-hidden
,
291 input
.mw-revdelundel-hidden
{
295 td
.mw-revdel-checkbox
,
296 th
.mw-revdel-checkbox
{
301 /* red links; see bug 36276 */
306 /* Plainlinks - this can be used to switch
307 * off special external link styling */
308 .plainlinks a.external {
309 background: none
!important
;
310 padding: 0 !important
;
313 /* External URLs should always be treated as LTR (bug 4330) */
314 /* @noflip */ .rtl a
.external
.free
,
315 .rtl a.external.autonumber {
321 * wikitable class for skinning normal tables
322 * keep in sync with commonPrint.css
326 background-color: #f9f9f9;
327 border: 1px solid
#aaa;
328 border-collapse: collapse
;
332 table
.wikitable
> tr
> th
,
333 table
.wikitable
> tr
> td
,
334 table
.wikitable
> * > tr
> th
,
335 table
.wikitable
> * > tr
> td
{
336 border: 1px solid
#aaa;
337 padding: 0.2em 0.4em;
340 table
.wikitable
> tr
> th
,
341 table
.wikitable
> * > tr
> th
{
342 background-color: #f2f2f2;
346 table
.wikitable
> caption
{
350 /* success and error messages */
375 display: inline-block
;
393 border-color: #fac5c5;
394 background-color: #fae3e3;
399 border-color: #fde29b;
400 background-color: #fdf1d1;
405 border-color: #b7fdb5;
406 background-color: #e1fddf;
409 /* general info/warning box for SP */
411 border: 2px solid
#ff7f00;
424 margin: 0.5em 0.5em 0.5em 49px;
427 /* Note on preview page */
445 * Transparent table with suddle borders
446 * and blue row-highlighting.
449 border-collapse: collapse
;
455 border: 1px solid
#aaa;
456 padding: 0 0.15em 0 0.15em;
460 background-color: #ddf;
464 background-color: #fff;
467 .mw-datatable tr:hover td {
468 background-color: #eef;
471 /* Correct directionality when page dir is different from site/user dir */
473 .mw-content-rtl .mw-content-ltr ul {
475 margin: 0.3em 0 0 1.6em;
480 .mw-content-ltr .mw-content-rtl ul {
482 margin: 0.3em 1.6em 0 0;
487 .mw-content-rtl .mw-content-ltr ol {
489 margin: 0.3em 0 0 3.2em;
494 .mw-content-ltr .mw-content-rtl ol {
496 margin: 0.3em 3.2em 0 0;
502 .mw-content-rtl .mw-content-ltr dd {
509 .mw-content-ltr .mw-content-rtl dd {
515 background-image: url
( images
/ajax-loader
.gif
);
516 background-position: center center
;
517 background-repeat: no-repeat
;
524 padding: 10px !important
;
526 background-image: url
( images
/spinner
.gif
);
527 background-position: center center
;
528 background-repeat: no-repeat
;
531 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
532 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
535 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
554 line-height: 1.6em !important
;
557 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
558 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
559 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
560 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
561 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
562 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
563 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
564 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
565 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
566 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
567 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
568 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
569 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
570 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
571 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
572 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
573 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
574 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
575 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
576 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
577 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
581 /* Localised ordered list numbering for some languages */
592 list-style-type: -moz-persian
;
593 list-style-type: persian
;
598 list-style-type: -moz-arabic-indic
;
599 list-style-type: arabic-indic
;
604 list-style-type: -moz-devanagari
;
605 list-style-type: devanagari
;
610 list-style-type: -moz-bengali
;
611 list-style-type: bengali
;
615 list-style-type: -moz-oriya
;
616 list-style-type: oriya
;
623 /* Correct directionality when page dir is different from site/user dir */
624 /* @noflip */ .mw-content-ltr
.toc ul
,
625 .mw-content-ltr #toc ul
,
626 .mw-content-rtl
.mw-content-ltr
.toc ul
,
627 .mw-content-rtl .mw-content-ltr #toc ul {
631 /* @noflip */ .mw-content-rtl
.toc ul
,
632 .mw-content-rtl #toc ul
,
633 .mw-content-ltr
.mw-content-rtl
.toc ul
,
634 .mw-content-ltr .mw-content-rtl #toc ul {
638 /* @noflip */ .mw-content-ltr
.toc ul ul
,
639 .mw-content-ltr #toc ul ul
,
640 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
641 .mw-content-rtl .mw-content-ltr #toc ul ul {
645 /* @noflip */ .mw-content-rtl
.toc ul ul
,
646 .mw-content-rtl #toc ul ul
,
647 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
648 .mw-content-ltr .mw-content-rtl #toc ul ul {
660 .mw-help-field-hint {
665 background-image: url
( images
/help-question
.gif
);
666 background-position: left center
;
667 background-repeat: no-repeat
;
670 text-decoration: underline
;
674 .mw-help-field-hint:hover {
675 background-image: url
( images
/help-question-hover
.gif
);
678 .mw-help-field-data {
680 background-color: #d6f3ff;
681 padding: 5px 8px 4px 8px;
682 border: 1px solid
#5dc9f4;
696 #mw-revision-info-current,
703 /* @noflip */ div
.tright
,
710 /* @noflip */ div
.tleft
,
734 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
737 /* Print footer should be hidden by default in screen. */
750 -moz-user-select: none
;
751 -webkit-user-select: none
;
752 -ms-user-select: none
;
756 /* Display editsection links smaller and next to headings */
758 .mw-editsection-like {
762 vertical-align: baseline
;
763 /* Reset line-height; headings tend to have it set to larger values */
765 /* As .mw-editsection is a <span> (inline element), it is treated as part */
766 /* of the heading content when selecting text by multiple clicks and thus */
767 /* selected together with heading content, despite the user-select: none; */
768 /* rule set above. This enforces non-selection without changing the look. */
769 display: inline-block
;
772 /* Correct directionality when page dir is different from site/user dir */
774 .mw-content-ltr
.mw-editsection
,
775 .mw-content-rtl .mw-content-ltr .mw-editsection {
780 .mw-content-rtl
.mw-editsection
,
781 .mw-content-ltr .mw-content-rtl .mw-editsection {
785 /* Prevent citations and subscripts from interfering with the line-height */