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: yellow
;
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 /* Colored watchlist and recent changes numbers */
96 color: #006400; /* dark green */
100 color: #8b0000; /* dark red */
104 color: #aaa; /* gray */
108 * Bidi-isolate these numbers.
109 * See https://phabricator.wikimedia.org/T93484
114 unicode-bidi: -moz-isolate
;
115 unicode-bidi: -webkit-isolate
;
116 unicode-bidi: isolate
;
120 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
121 * [[Special:Watchlist/edit]] and in category listings.
124 .redirect-in-category
,
129 /* Comment portions of RC entries */
141 vertical-align: middle
;
149 * Add a bit of margin space between the preview and the toolbar.
150 * This replaces the ugly <p><br /></p> we used to insert into the page source
156 /* Stop floats from intruding into edit area in previews */
167 span
.history-deleted
{
168 text-decoration: line-through
;
177 background-color: #ffa;
206 vertical-align: middle
;
209 .prefsection td.mw-label {
217 .prefsection table.mw-htmlform-matrix {
233 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
237 .mw-content-ltr .thumbcaption {
242 .mw-content-ltr .magnify {
247 .mw-content-rtl .thumbcaption {
252 .mw-content-rtl .magnify {
261 * Overrides text justification (user preference)
272 list-style-type: none
;
273 list-style-image: none
;
274 vertical-align: middle
!ie
;
278 display: inline-block
;
280 border-left: 1px solid
#AAA;
287 .catlinks li:first-child {
288 padding-left: 0.25em;
292 /* (bug 5346) make category redirects italic */
293 .catlinks li a.mw-redirect {
300 .mw-hidden-cats-hidden {
304 .catlinks-allhidden {
309 * Convenience links to edit block, delete and protect reasons
310 * and upload licenses
312 p
.mw-ipb-conveniencelinks
,
313 p
.mw-protect-editreasons
,
314 p
.mw-filedelete-editreasons
,
315 p
.mw-delete-editreasons
,
316 p
.mw-revdel-editreasons
,
317 p
.mw-upload-editlicenses
{
322 /* Page history styling */
324 /* The auto-generated edit comments */
329 #pagehistory .history-user
{
334 #pagehistory span
.minor
{
339 border: 1px solid white
;
342 #pagehistory li
.selected
{
343 background-color: #f9f9f9;
344 border: 1px dashed
#aaa;
347 .mw-history-revisionactions, #mw-fileduplicatesearch-icon {
351 /** Generic minor/bot/newpage styling (recent changes) */
359 * Recreating deleted page warning
360 * Reupload file warning
361 * Page protection warning
362 * incl. log entries for these warnings
364 div
.mw-warning-with-logexcerpt
{
367 border: 2px solid
#2F6FAB;
371 div
.mw-warning-with-logexcerpt ul li
{
375 /* (show/hide) revision deletion links */
376 span
.mw-revdelundel-link
,
377 strong
.mw-revdelundel-link
{
381 span
.mw-revdelundel-hidden
,
382 input
.mw-revdelundel-hidden
{
386 td
.mw-revdel-checkbox
,
387 th
.mw-revdel-checkbox
{
392 /* red links; see bug 36276 */
397 /* Plainlinks - this can be used to switch
398 * off special external link styling */
399 .plainlinks a.external {
400 background: none
!important
;
401 padding: 0 !important
;
404 /* External URLs should always be treated as LTR (bug 4330) */
405 /* @noflip */ .rtl a
.external
.free
,
406 .rtl a.external.autonumber {
412 * wikitable class for skinning normal tables
413 * keep in sync with commonPrint.css
417 background-color: #f9f9f9;
418 border: 1px solid
#aaa;
419 border-collapse: collapse
;
423 table
.wikitable
> tr
> th
,
424 table
.wikitable
> tr
> td
,
425 table
.wikitable
> * > tr
> th
,
426 table
.wikitable
> * > tr
> td
{
427 border: 1px solid
#aaa;
428 padding: 0.2em 0.4em;
431 table
.wikitable
> tr
> th
,
432 table
.wikitable
> * > tr
> th
{
433 background-color: #f2f2f2;
437 table
.wikitable
> caption
{
441 /* success and error messages */
466 display: inline-block
;
484 border-color: #fac5c5;
485 background-color: #fae3e3;
490 border-color: #fde29b;
491 background-color: #fdf1d1;
496 border-color: #b7fdb5;
497 background-color: #e1fddf;
500 /* general info/warning box for SP */
502 border: 2px solid
#ff7f00;
515 margin: 0.5em 0.5em 0.5em 49px;
518 /* Note on preview page */
536 * Transparent table with suddle borders
537 * and blue row-highlighting.
540 border-collapse: collapse
;
546 border: 1px solid
#aaaaaa;
547 padding: 0 0.15em 0 0.15em;
551 background-color: #ddddff;
555 background-color: #ffffff;
558 .mw-datatable tr:hover td {
559 background-color: #eeeeff;
562 /* Classes for Exif data display */
566 margin-bottom: 0.5em;
570 table
.mw_metadata caption
{
574 table
.mw_metadata th
{
578 table
.mw_metadata td
{
584 border-collapse: collapse
;
587 table
.mw_metadata td
,
588 table
.mw_metadata th
{
590 border: 1px solid
#aaaaaa;
595 table
.mw_metadata th
{
596 background-color: #f9f9f9;
599 table
.mw_metadata td
{
600 background-color: #fcfcfc;
603 table
.mw_metadata ul
.metadata-langlist
{
604 list-style-type: none
;
605 list-style-image: none
;
611 /* Correct directionality when page dir is different from site/user dir */
613 .mw-content-rtl .mw-content-ltr ul {
615 margin: 0.3em 0 0 1.6em;
620 .mw-content-ltr .mw-content-rtl ul {
622 margin: 0.3em 1.6em 0 0;
627 .mw-content-rtl .mw-content-ltr ol {
629 margin: 0.3em 0 0 3.2em;
634 .mw-content-ltr .mw-content-rtl ol {
636 margin: 0.3em 3.2em 0 0;
642 .mw-content-rtl .mw-content-ltr dd {
649 .mw-content-ltr .mw-content-rtl dd {
655 background-image: url
(images
/ajax-loader
.gif
);
656 background-position: center center
;
657 background-repeat: no-repeat
;
664 padding: 10px !important
;
666 background-image: url
(images/spinner.gif);
667 background-position: center center
;
668 background-repeat: no-repeat
;
671 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
672 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
675 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
694 line-height: 1.6em !important
;
697 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
698 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
699 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
700 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
701 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
702 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
703 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
704 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
705 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
706 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
707 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
708 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
709 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
710 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
711 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
712 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
713 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
714 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
715 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
716 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
717 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
721 /* Localised ordered list numbering for some languages */
732 list-style-type: -moz-persian
;
733 list-style-type: persian
;
738 list-style-type: -moz-arabic-indic
;
739 list-style-type: arabic-indic
;
744 list-style-type: -moz-devanagari
;
745 list-style-type: devanagari
;
750 list-style-type: -moz-bengali
;
751 list-style-type: bengali
;
755 list-style-type: -moz-oriya
;
756 list-style-type: oriya
;
763 /* Correct directionality when page dir is different from site/user dir */
764 /* @noflip */ .mw-content-ltr
.toc ul
,
765 .mw-content-ltr #toc ul
,
766 .mw-content-rtl
.mw-content-ltr
.toc ul
,
767 .mw-content-rtl .mw-content-ltr #toc ul {
771 /* @noflip */ .mw-content-rtl
.toc ul
,
772 .mw-content-rtl #toc ul
,
773 .mw-content-ltr
.mw-content-rtl
.toc ul
,
774 .mw-content-ltr .mw-content-rtl #toc ul {
778 /* @noflip */ .mw-content-ltr
.toc ul ul
,
779 .mw-content-ltr #toc ul ul
,
780 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
781 .mw-content-rtl .mw-content-ltr #toc ul ul {
785 /* @noflip */ .mw-content-rtl
.toc ul ul
,
786 .mw-content-rtl #toc ul ul
,
787 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
788 .mw-content-ltr .mw-content-rtl #toc ul ul {
800 .mw-help-field-hint {
805 background-image: url
(images
/help-question
.gif
);
806 background-position: left center
;
807 background-repeat: no-repeat
;
810 text-decoration: underline
;
814 .mw-help-field-hint:hover {
815 background-image: url
(images
/help-question-hover
.gif
);
818 .mw-help-field-data {
820 background-color: #d6f3ff;
821 padding: 5px 8px 4px 8px;
822 border: 1px solid
#5dc9f4;
835 /* Correct user & content directionality when viewing a diff */
836 .diff-currentversion-title
,
842 /* @noflip */ .diff-contentalign-right td
{
847 /* @noflip */ .diff-contentalign-left td
{
856 direction: ltr
!important
;
861 #mw-revision-info-current,
869 /* @noflip */ div
.tright
,
876 /* @noflip */ div
.tleft
,
900 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
903 /* Print footer should be hidden by default in screen. */
918 -moz-user-select: none
;
919 -webkit-user-select: none
;
920 -ms-user-select: none
;
924 /* Display editsection links smaller and next to headings */
926 .mw-editsection-like {
930 vertical-align: baseline
;
931 /* Reset line-height; headings tend to have it set to larger values */
933 /* As .mw-editsection is a <span> (inline element), it is treated as part */
934 /* of the heading content when selecting text by multiple clicks and thus */
935 /* selected together with heading content, despite the user-select: none; */
936 /* rule set above. This enforces non-selection without changing the look. */
937 display: inline-block
;
940 /* Correct directionality when page dir is different from site/user dir */
942 .mw-content-ltr
.mw-editsection
,
943 .mw-content-rtl .mw-content-ltr .mw-editsection {
948 .mw-content-rtl
.mw-editsection
,
949 .mw-content-ltr .mw-content-rtl .mw-editsection {
953 /* Prevent citations and subscripts from interfering with the line-height */