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
;
102 * Add a bit of margin space between the preview and the toolbar.
103 * This replaces the ugly <p><br /></p> we used to insert into the page source
109 /* Stop floats from intruding into edit area in previews */
120 span
.history-deleted
{
121 text-decoration: line-through
;
130 background-color: #ffa;
159 vertical-align: middle
;
171 .mw-input-with-label {
178 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
182 .mw-content-ltr .thumbcaption {
187 .mw-content-ltr .magnify {
192 .mw-content-rtl .thumbcaption {
197 .mw-content-rtl .magnify {
206 * Overrides text justification (user preference)
217 list-style-type: none
;
218 list-style-image: none
;
219 vertical-align: middle
!ie
;
223 display: inline-block
;
225 border-left: 1px solid
#aaa;
232 .catlinks li:first-child {
233 padding-left: 0.25em;
237 /* (bug 5346) make category redirects italic */
238 .catlinks li a.mw-redirect {
245 .mw-hidden-cats-hidden {
249 .catlinks-allhidden {
254 * Convenience links to edit delete and protect reasons
256 p
.mw-protect-editreasons
,
257 p
.mw-filedelete-editreasons
,
258 p
.mw-delete-editreasons
{
263 /* The auto-generated edit comments */
268 /** Generic minor/bot/newpage styling (recent changes) */
276 * Recreating deleted page warning
277 * Reupload file warning
278 * Page protection warning
279 * incl. log entries for these warnings
281 div
.mw-warning-with-logexcerpt
{
284 border: 2px solid
#2f6fab;
288 div
.mw-warning-with-logexcerpt ul li
{
292 /* (show/hide) revision deletion links */
293 span
.mw-revdelundel-link
,
294 strong
.mw-revdelundel-link
{
298 span
.mw-revdelundel-hidden
,
299 input
.mw-revdelundel-hidden
{
303 td
.mw-revdel-checkbox
,
304 th
.mw-revdel-checkbox
{
309 /* red links; see bug 36276 */
314 /* Plainlinks - this can be used to switch
315 * off special external link styling */
316 .plainlinks a.external {
317 background: none
!important
;
318 padding: 0 !important
;
321 /* External URLs should always be treated as LTR (bug 4330) */
322 /* @noflip */ .rtl a
.external
.free
,
323 .rtl a.external.autonumber {
329 * wikitable class for skinning normal tables
330 * keep in sync with commonPrint.css
334 background-color: #f9f9f9;
335 border: 1px solid
#aaa;
336 border-collapse: collapse
;
340 table
.wikitable
> tr
> th
,
341 table
.wikitable
> tr
> td
,
342 table
.wikitable
> * > tr
> th
,
343 table
.wikitable
> * > tr
> td
{
344 border: 1px solid
#aaa;
345 padding: 0.2em 0.4em;
348 table
.wikitable
> tr
> th
,
349 table
.wikitable
> * > tr
> th
{
350 background-color: #f2f2f2;
354 table
.wikitable
> caption
{
358 /* success and error messages */
383 display: inline-block
;
401 border-color: #fac5c5;
402 background-color: #fae3e3;
407 border-color: #fde29b;
408 background-color: #fdf1d1;
413 border-color: #b7fdb5;
414 background-color: #e1fddf;
417 /* general info/warning box for SP */
419 border: 2px solid
#ff7f00;
432 margin: 0.5em 0.5em 0.5em 49px;
435 /* Note on preview page */
453 * Transparent table with suddle borders
454 * and blue row-highlighting.
457 border-collapse: collapse
;
463 border: 1px solid
#aaa;
464 padding: 0 0.15em 0 0.15em;
468 background-color: #ddf;
472 background-color: #fff;
475 .mw-datatable tr:hover td {
476 background-color: #eef;
479 /* Correct directionality when page dir is different from site/user dir */
481 .mw-content-rtl .mw-content-ltr ul {
483 margin: 0.3em 0 0 1.6em;
488 .mw-content-ltr .mw-content-rtl ul {
490 margin: 0.3em 1.6em 0 0;
495 .mw-content-rtl .mw-content-ltr ol {
497 margin: 0.3em 0 0 3.2em;
502 .mw-content-ltr .mw-content-rtl ol {
504 margin: 0.3em 3.2em 0 0;
510 .mw-content-rtl .mw-content-ltr dd {
517 .mw-content-ltr .mw-content-rtl dd {
523 background-image: url
( images
/ajax-loader
.gif
);
524 background-position: center center
;
525 background-repeat: no-repeat
;
532 padding: 10px !important
;
534 background-image: url
( images
/spinner
.gif
);
535 background-position: center center
;
536 background-repeat: no-repeat
;
539 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
540 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
543 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
562 line-height: 1.6em !important
;
565 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
566 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
567 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
568 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
569 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
570 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
571 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
572 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
573 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
574 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
575 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
576 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
577 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
578 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
579 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
580 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
581 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
582 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
583 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
584 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
585 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
589 /* Localised ordered list numbering for some languages */
600 list-style-type: -moz-persian
;
601 list-style-type: persian
;
606 list-style-type: -moz-arabic-indic
;
607 list-style-type: arabic-indic
;
612 list-style-type: -moz-devanagari
;
613 list-style-type: devanagari
;
618 list-style-type: -moz-bengali
;
619 list-style-type: bengali
;
623 list-style-type: -moz-oriya
;
624 list-style-type: oriya
;
631 /* Correct directionality when page dir is different from site/user dir */
632 /* @noflip */ .mw-content-ltr
.toc ul
,
633 .mw-content-ltr #toc ul
,
634 .mw-content-rtl
.mw-content-ltr
.toc ul
,
635 .mw-content-rtl .mw-content-ltr #toc ul {
639 /* @noflip */ .mw-content-rtl
.toc ul
,
640 .mw-content-rtl #toc ul
,
641 .mw-content-ltr
.mw-content-rtl
.toc ul
,
642 .mw-content-ltr .mw-content-rtl #toc ul {
646 /* @noflip */ .mw-content-ltr
.toc ul ul
,
647 .mw-content-ltr #toc ul ul
,
648 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
649 .mw-content-rtl .mw-content-ltr #toc ul ul {
653 /* @noflip */ .mw-content-rtl
.toc ul ul
,
654 .mw-content-rtl #toc ul ul
,
655 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
656 .mw-content-ltr .mw-content-rtl #toc ul ul {
668 .mw-help-field-hint {
673 background-image: url
( images
/help-question
.gif
);
674 background-position: left center
;
675 background-repeat: no-repeat
;
678 text-decoration: underline
;
682 .mw-help-field-hint:hover {
683 background-image: url
( images
/help-question-hover
.gif
);
686 .mw-help-field-data {
688 background-color: #d6f3ff;
689 padding: 5px 8px 4px 8px;
690 border: 1px solid
#5dc9f4;
704 #mw-revision-info-current,
711 /* @noflip */ div
.tright
,
718 /* @noflip */ div
.tleft
,
742 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
745 /* Print footer should be hidden by default in screen. */
758 -moz-user-select: none
;
759 -webkit-user-select: none
;
760 -ms-user-select: none
;
764 /* Display editsection links smaller and next to headings */
766 .mw-editsection-like {
770 vertical-align: baseline
;
771 /* Reset line-height; headings tend to have it set to larger values */
773 /* As .mw-editsection is a <span> (inline element), it is treated as part */
774 /* of the heading content when selecting text by multiple clicks and thus */
775 /* selected together with heading content, despite the user-select: none; */
776 /* rule set above. This enforces non-selection without changing the look. */
777 display: inline-block
;
780 /* Correct directionality when page dir is different from site/user dir */
782 .mw-content-ltr
.mw-editsection
,
783 .mw-content-rtl .mw-content-ltr .mw-editsection {
788 .mw-content-rtl
.mw-editsection
,
789 .mw-content-ltr .mw-content-rtl .mw-editsection {
793 /* Prevent citations and subscripts from interfering with the line-height */