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
;
221 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
225 .mw-content-ltr .thumbcaption {
230 .mw-content-ltr .magnify {
235 .mw-content-rtl .thumbcaption {
240 .mw-content-rtl .magnify {
249 * Overrides text justification (user preference)
260 list-style-type: none
;
261 list-style-image: none
;
262 vertical-align: middle
!ie
;
266 display: inline-block
;
268 border-left: 1px solid
#AAA;
275 .catlinks li:first-child {
276 padding-left: 0.25em;
280 /* (bug 5346) make category redirects italic */
281 .catlinks li a.mw-redirect {
288 .mw-hidden-cats-hidden {
292 .catlinks-allhidden {
297 * Convenience links to edit block, delete and protect reasons
298 * and upload licenses
300 p
.mw-ipb-conveniencelinks
,
301 p
.mw-protect-editreasons
,
302 p
.mw-filedelete-editreasons
,
303 p
.mw-delete-editreasons
,
304 p
.mw-revdel-editreasons
,
305 p
.mw-upload-editlicenses
{
310 /* Page history styling */
312 /* The auto-generated edit comments */
317 #pagehistory .history-user
{
322 #pagehistory span
.minor
{
327 border: 1px solid white
;
330 #pagehistory li
.selected
{
331 background-color: #f9f9f9;
332 border: 1px dashed
#aaa;
335 .mw-history-revisionactions, #mw-fileduplicatesearch-icon {
339 /** Generic minor/bot/newpage styling (recent changes) */
347 * Recreating deleted page warning
348 * Reupload file warning
349 * Page protection warning
350 * incl. log entries for these warnings
352 div
.mw-warning-with-logexcerpt
{
355 border: 2px solid
#2F6FAB;
359 div
.mw-warning-with-logexcerpt ul li
{
363 /* (show/hide) revision deletion links */
364 span
.mw-revdelundel-link
,
365 strong
.mw-revdelundel-link
{
369 span
.mw-revdelundel-hidden
,
370 input
.mw-revdelundel-hidden
{
374 td
.mw-revdel-checkbox
,
375 th
.mw-revdel-checkbox
{
380 /* red links; see bug 36276 */
385 /* Plainlinks - this can be used to switch
386 * off special external link styling */
387 .plainlinks a.external {
388 background: none
!important
;
389 padding: 0 !important
;
392 /* External URLs should always be treated as LTR (bug 4330) */
393 /* @noflip */ .rtl a
.external
.free
,
394 .rtl a.external.autonumber {
400 * wikitable class for skinning normal tables
401 * keep in sync with commonPrint.css
405 background-color: #f9f9f9;
406 border: 1px solid
#aaa;
407 border-collapse: collapse
;
411 table
.wikitable
> tr
> th
,
412 table
.wikitable
> tr
> td
,
413 table
.wikitable
> * > tr
> th
,
414 table
.wikitable
> * > tr
> td
{
415 border: 1px solid
#aaa;
416 padding: 0.2em 0.4em;
419 table
.wikitable
> tr
> th
,
420 table
.wikitable
> * > tr
> th
{
421 background-color: #f2f2f2;
425 table
.wikitable
> caption
{
429 /* success and error messages */
454 display: inline-block
;
472 border-color: #fac5c5;
473 background-color: #fae3e3;
478 border-color: #fde29b;
479 background-color: #fdf1d1;
484 border-color: #b7fdb5;
485 background-color: #e1fddf;
488 /* general info/warning box for SP */
490 border: 2px solid
#ff7f00;
503 margin: 0.5em 0.5em 0.5em 49px;
506 /* Note on preview page */
524 * Transparent table with suddle borders
525 * and blue row-highlighting.
528 border-collapse: collapse
;
534 border: 1px solid
#aaaaaa;
535 padding: 0 0.15em 0 0.15em;
539 background-color: #ddddff;
543 background-color: #ffffff;
546 .mw-datatable tr:hover td {
547 background-color: #eeeeff;
550 /* Classes for Exif data display */
554 margin-bottom: 0.5em;
558 table
.mw_metadata caption
{
562 table
.mw_metadata th
{
566 table
.mw_metadata td
{
572 border-collapse: collapse
;
575 table
.mw_metadata td
,
576 table
.mw_metadata th
{
578 border: 1px solid
#aaaaaa;
583 table
.mw_metadata th
{
584 background-color: #f9f9f9;
587 table
.mw_metadata td
{
588 background-color: #fcfcfc;
591 table
.mw_metadata ul
.metadata-langlist
{
592 list-style-type: none
;
593 list-style-image: none
;
599 /* Correct directionality when page dir is different from site/user dir */
601 .mw-content-rtl .mw-content-ltr ul {
603 margin: 0.3em 0 0 1.6em;
608 .mw-content-ltr .mw-content-rtl ul {
610 margin: 0.3em 1.6em 0 0;
615 .mw-content-rtl .mw-content-ltr ol {
617 margin: 0.3em 0 0 3.2em;
622 .mw-content-ltr .mw-content-rtl ol {
624 margin: 0.3em 3.2em 0 0;
630 .mw-content-rtl .mw-content-ltr dd {
637 .mw-content-ltr .mw-content-rtl dd {
643 background-image: url
(images
/ajax-loader
.gif
);
644 background-position: center center
;
645 background-repeat: no-repeat
;
652 padding: 10px !important
;
654 background-image: url
(images/spinner.gif);
655 background-position: center center
;
656 background-repeat: no-repeat
;
659 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
660 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
663 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
682 line-height: 1.6em !important
;
685 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
686 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
687 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
688 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
689 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
690 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
691 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
692 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
693 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
694 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
695 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
696 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
697 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
698 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
699 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
700 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
701 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
702 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
703 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
704 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
705 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
709 /* Localised ordered list numbering for some languages */
720 list-style-type: -moz-persian
;
721 list-style-type: persian
;
726 list-style-type: -moz-arabic-indic
;
727 list-style-type: arabic-indic
;
732 list-style-type: -moz-devanagari
;
733 list-style-type: devanagari
;
738 list-style-type: -moz-bengali
;
739 list-style-type: bengali
;
743 list-style-type: -moz-oriya
;
744 list-style-type: oriya
;
751 /* Correct directionality when page dir is different from site/user dir */
752 /* @noflip */ .mw-content-ltr
.toc ul
,
753 .mw-content-ltr #toc ul
,
754 .mw-content-rtl
.mw-content-ltr
.toc ul
,
755 .mw-content-rtl .mw-content-ltr #toc ul {
759 /* @noflip */ .mw-content-rtl
.toc ul
,
760 .mw-content-rtl #toc ul
,
761 .mw-content-ltr
.mw-content-rtl
.toc ul
,
762 .mw-content-ltr .mw-content-rtl #toc ul {
766 /* @noflip */ .mw-content-ltr
.toc ul ul
,
767 .mw-content-ltr #toc ul ul
,
768 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
769 .mw-content-rtl .mw-content-ltr #toc ul ul {
773 /* @noflip */ .mw-content-rtl
.toc ul ul
,
774 .mw-content-rtl #toc ul ul
,
775 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
776 .mw-content-ltr .mw-content-rtl #toc ul ul {
788 .mw-help-field-hint {
793 background-image: url
(images
/help-question
.gif
);
794 background-position: left center
;
795 background-repeat: no-repeat
;
798 text-decoration: underline
;
802 .mw-help-field-hint:hover {
803 background-image: url
(images
/help-question-hover
.gif
);
806 .mw-help-field-data {
808 background-color: #d6f3ff;
809 padding: 5px 8px 4px 8px;
810 border: 1px solid
#5dc9f4;
823 /* Correct user & content directionality when viewing a diff */
824 .diff-currentversion-title
,
830 /* @noflip */ .diff-contentalign-right td
{
835 /* @noflip */ .diff-contentalign-left td
{
844 direction: ltr
!important
;
849 #mw-revision-info-current,
857 /* @noflip */ div
.tright
,
864 /* @noflip */ div
.tleft
,
888 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
891 /* Print footer should be hidden by default in screen. */
906 -moz-user-select: none
;
907 -webkit-user-select: none
;
908 -ms-user-select: none
;
912 /* Display editsection links smaller and next to headings */
914 .mw-editsection-like {
918 vertical-align: baseline
;
919 /* Reset line-height; headings tend to have it set to larger values */
921 /* As .mw-editsection is a <span> (inline element), it is treated as part */
922 /* of the heading content when selecting text by multiple clicks and thus */
923 /* selected together with heading content, despite the user-select: none; */
924 /* rule set above. This enforces non-selection without changing the look. */
925 display: inline-block
;
928 /* Correct directionality when page dir is different from site/user dir */
930 .mw-content-ltr
.mw-editsection
,
931 .mw-content-rtl .mw-content-ltr .mw-editsection {
936 .mw-content-rtl
.mw-editsection
,
937 .mw-content-ltr .mw-content-rtl .mw-editsection {
941 /* Prevent citations and subscripts from interfering with the line-height */