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 */
398 /* To be removed before 1.26 release, moved to mediawiki.feedlink module */
400 /* SVG support using a transparent gradient to guarantee cross-browser
401 * compatibility (browsers able to understand gradient syntax support also SVG).
402 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
403 background-image: url
(../mediawiki
/images
/feed-icon
.png
);
404 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
405 background-image: linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
406 background-position: center left
;
407 background-repeat: no-repeat
;
408 background-size: 12px 12px;
412 /* Plainlinks - this can be used to switch
413 * off special external link styling */
414 .plainlinks a.external {
415 background: none
!important
;
416 padding: 0 !important
;
419 /* External URLs should always be treated as LTR (bug 4330) */
420 /* @noflip */ .rtl a
.external
.free
,
421 .rtl a.external.autonumber {
427 * wikitable class for skinning normal tables
428 * keep in sync with commonPrint.css
432 background-color: #f9f9f9;
433 border: 1px solid
#aaa;
434 border-collapse: collapse
;
438 table
.wikitable
> tr
> th
,
439 table
.wikitable
> tr
> td
,
440 table
.wikitable
> * > tr
> th
,
441 table
.wikitable
> * > tr
> td
{
442 border: 1px solid
#aaa;
443 padding: 0.2em 0.4em;
446 table
.wikitable
> tr
> th
,
447 table
.wikitable
> * > tr
> th
{
448 background-color: #f2f2f2;
452 table
.wikitable
> caption
{
456 /* success and error messages */
481 display: inline-block
;
499 border-color: #fac5c5;
500 background-color: #fae3e3;
505 border-color: #fde29b;
506 background-color: #fdf1d1;
511 border-color: #b7fdb5;
512 background-color: #e1fddf;
515 /* general info/warning box for SP */
517 border: 2px solid
#ff7f00;
530 margin: 0.5em 0.5em 0.5em 49px;
533 /* Note on preview page */
551 * Transparent table with suddle borders
552 * and blue row-highlighting.
555 border-collapse: collapse
;
561 border: 1px solid
#aaaaaa;
562 padding: 0 0.15em 0 0.15em;
566 background-color: #ddddff;
570 background-color: #ffffff;
573 .mw-datatable tr:hover td {
574 background-color: #eeeeff;
577 /* Classes for Exif data display */
581 margin-bottom: 0.5em;
585 table
.mw_metadata caption
{
589 table
.mw_metadata th
{
593 table
.mw_metadata td
{
599 border-collapse: collapse
;
602 table
.mw_metadata td
,
603 table
.mw_metadata th
{
605 border: 1px solid
#aaaaaa;
610 table
.mw_metadata th
{
611 background-color: #f9f9f9;
614 table
.mw_metadata td
{
615 background-color: #fcfcfc;
618 table
.mw_metadata ul
.metadata-langlist
{
619 list-style-type: none
;
620 list-style-image: none
;
626 /* Correct directionality when page dir is different from site/user dir */
628 .mw-content-rtl .mw-content-ltr ul {
630 margin: 0.3em 0 0 1.6em;
635 .mw-content-ltr .mw-content-rtl ul {
637 margin: 0.3em 1.6em 0 0;
642 .mw-content-rtl .mw-content-ltr ol {
644 margin: 0.3em 0 0 3.2em;
649 .mw-content-ltr .mw-content-rtl ol {
651 margin: 0.3em 3.2em 0 0;
657 .mw-content-rtl .mw-content-ltr dd {
664 .mw-content-ltr .mw-content-rtl dd {
670 background-image: url
(images
/ajax-loader
.gif
);
671 background-position: center center
;
672 background-repeat: no-repeat
;
679 padding: 10px !important
;
681 background-image: url
(images/spinner.gif);
682 background-position: center center
;
683 background-repeat: no-repeat
;
686 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
687 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
690 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
709 line-height: 1.6em !important
;
712 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
713 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
714 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
715 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
716 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
717 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
718 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
719 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
720 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
721 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
722 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
723 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
724 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
725 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
726 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
727 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
728 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
729 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
730 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
731 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
732 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
736 /* Localised ordered list numbering for some languages */
747 list-style-type: -moz-persian
;
748 list-style-type: persian
;
753 list-style-type: -moz-arabic-indic
;
754 list-style-type: arabic-indic
;
759 list-style-type: -moz-devanagari
;
760 list-style-type: devanagari
;
765 list-style-type: -moz-bengali
;
766 list-style-type: bengali
;
770 list-style-type: -moz-oriya
;
771 list-style-type: oriya
;
778 /* Correct directionality when page dir is different from site/user dir */
779 /* @noflip */ .mw-content-ltr
.toc ul
,
780 .mw-content-ltr #toc ul
,
781 .mw-content-rtl
.mw-content-ltr
.toc ul
,
782 .mw-content-rtl .mw-content-ltr #toc ul {
786 /* @noflip */ .mw-content-rtl
.toc ul
,
787 .mw-content-rtl #toc ul
,
788 .mw-content-ltr
.mw-content-rtl
.toc ul
,
789 .mw-content-ltr .mw-content-rtl #toc ul {
793 /* @noflip */ .mw-content-ltr
.toc ul ul
,
794 .mw-content-ltr #toc ul ul
,
795 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
796 .mw-content-rtl .mw-content-ltr #toc ul ul {
800 /* @noflip */ .mw-content-rtl
.toc ul ul
,
801 .mw-content-rtl #toc ul ul
,
802 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
803 .mw-content-ltr .mw-content-rtl #toc ul ul {
815 .mw-help-field-hint {
820 background-image: url
(images
/help-question
.gif
);
821 background-position: left center
;
822 background-repeat: no-repeat
;
825 text-decoration: underline
;
829 .mw-help-field-hint:hover {
830 background-image: url
(images
/help-question-hover
.gif
);
833 .mw-help-field-data {
835 background-color: #d6f3ff;
836 padding: 5px 8px 4px 8px;
837 border: 1px solid
#5dc9f4;
850 /* Correct user & content directionality when viewing a diff */
851 .diff-currentversion-title
,
857 /* @noflip */ .diff-contentalign-right td
{
862 /* @noflip */ .diff-contentalign-left td
{
871 direction: ltr
!important
;
876 #mw-revision-info-current,
884 /* @noflip */ div
.tright
,
891 /* @noflip */ div
.tleft
,
915 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
918 /* Print footer should be hidden by default in screen. */
933 -moz-user-select: none
;
934 -webkit-user-select: none
;
935 -ms-user-select: none
;
939 /* Display editsection links smaller and next to headings */
941 .mw-editsection-like {
945 vertical-align: baseline
;
946 /* Reset line-height; headings tend to have it set to larger values */
948 /* As .mw-editsection is a <span> (inline element), it is treated as part */
949 /* of the heading content when selecting text by multiple clicks and thus */
950 /* selected together with heading content, despite the user-select: none; */
951 /* rule set above. This enforces non-selection without changing the look. */
952 display: inline-block
;
955 /* Correct directionality when page dir is different from site/user dir */
957 .mw-content-ltr
.mw-editsection
,
958 .mw-content-rtl .mw-content-ltr .mw-editsection {
963 .mw-content-rtl
.mw-editsection
,
964 .mw-content-ltr .mw-content-rtl .mw-editsection {
968 /* Prevent citations and subscripts from interfering with the line-height */