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 and username portions of RC entries */
145 vertical-align: middle
;
153 * Add a bit of margin space between the preview and the toolbar.
154 * This replaces the ugly <p><br /></p> we used to insert into the page source
160 /* Stop floats from intruding into edit area in previews */
168 * File description page
171 div
.mw-filepage-resolutioninfo
{
182 table
.filehistory th
,
183 table
.filehistory td
{
187 table
.filehistory th
{
191 table
.filehistory td
.mw-imagepage-filesize
,
192 table
.filehistory th
.mw-imagepage-filesize
{
196 table
.filehistory td
.filehistory-selected
{
201 * Add a checkered background image on hover for file
202 * description pages. (bug 26470)
207 background: white url
(images/checker.png) repeat
;
214 span
.history-deleted
{
215 text-decoration: line-through
;
224 background-color: #ffa;
253 vertical-align: middle
;
256 .prefsection td.mw-label {
264 .prefsection table.mw-htmlform-matrix {
269 /* SVG support using a transparent gradient to guarantee cross-browser
270 * compatibility (browsers able to understand gradient syntax support also SVG).
271 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
272 background-image: url
(images/question.png);
273 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images/question.svg);
274 background-image: linear-gradient
(transparent
, transparent
), url
(images/question.svg);
275 background-repeat: no-repeat
;
276 background-size: 13px 13px;
277 display: inline-block
;
283 .mw-icon-question:lang
(ar
),
284 .mw-icon-question:lang
(fa
),
285 .mw-icon-question:lang(ur) {
286 -webkit-transform: scaleX
(-1);
287 -ms-transform: scaleX
(-1);
288 transform: scaleX
(-1);
295 table
.mw-htmlform-nolabel td
.mw-label
{
299 tr
.mw-htmlform-vertical-label td
.mw-label
{
300 text-align: left
!important
;
303 .mw-htmlform-invalid-input td.mw-input input {
307 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
313 .mw-htmlform-matrix td {
315 padding-right: 0.5em;
326 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
330 .mw-content-ltr .thumbcaption {
335 .mw-content-ltr .magnify {
340 .mw-content-rtl .thumbcaption {
345 .mw-content-rtl .magnify {
354 * Overrides text justification (user preference)
365 list-style-type: none
;
366 list-style-image: none
;
367 vertical-align: middle
!ie
;
371 display: inline-block
;
373 border-left: 1px solid
#AAA;
380 .catlinks li:first-child {
381 padding-left: 0.25em;
385 /* (bug 5346) make category redirects italic */
386 .catlinks li a.mw-redirect {
393 .mw-hidden-cats-hidden {
397 .catlinks-allhidden {
402 * Convenience links to edit block, delete and protect reasons
403 * and upload licenses
405 p
.mw-ipb-conveniencelinks
,
406 p
.mw-protect-editreasons
,
407 p
.mw-filedelete-editreasons
,
408 p
.mw-delete-editreasons
,
409 p
.mw-revdel-editreasons
,
410 p
.mw-upload-editlicenses
{
415 /* Page history styling */
417 /* The auto-generated edit comments */
420 /* In RTL wikis, Latin heading sections can get jumbled with comments that
421 begin with Latin letters or numbers */
422 unicode-bidi: -moz-isolate
;
423 unicode-bidi: -webkit-isolate
;
424 unicode-bidi: isolate
;
427 #pagehistory .history-user
{
432 #pagehistory span
.minor
{
437 border: 1px solid white
;
440 #pagehistory li
.selected
{
441 background-color: #f9f9f9;
442 border: 1px dashed
#aaa;
445 .mw-history-revisionactions, #mw-fileduplicatesearch-icon {
449 /** Generic minor/bot/newpage styling (recent changes) */
457 #shared-image-conflict {
462 * Recreating deleted page warning
463 * Reupload file warning
464 * Page protection warning
465 * incl. log entries for these warnings
467 div
.mw-warning-with-logexcerpt
{
470 border: 2px solid
#2F6FAB;
474 div
.mw-warning-with-logexcerpt ul li
{
478 /* (show/hide) revision deletion links */
479 span
.mw-revdelundel-link
,
480 strong
.mw-revdelundel-link
{
484 span
.mw-revdelundel-hidden
,
485 input
.mw-revdelundel-hidden
{
489 td
.mw-revdel-checkbox
,
490 th
.mw-revdel-checkbox
{
495 /* red links; see bug 36276 */
501 /* To be removed before 1.26 release, moved to mediawiki.feedlink module */
503 /* SVG support using a transparent gradient to guarantee cross-browser
504 * compatibility (browsers able to understand gradient syntax support also SVG).
505 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
506 background-image: url
(../mediawiki
/images
/feed-icon
.png
);
507 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
508 background-image: linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
509 background-position: center left
;
510 background-repeat: no-repeat
;
511 background-size: 12px 12px;
515 /* Plainlinks - this can be used to switch
516 * off special external link styling */
517 .plainlinks a.external {
518 background: none
!important
;
519 padding: 0 !important
;
522 /* External URLs should always be treated as LTR (bug 4330) */
523 /* @noflip */ .rtl a
.external
.free
,
524 .rtl a.external.autonumber {
530 * wikitable class for skinning normal tables
531 * keep in sync with commonPrint.css
535 background-color: #f9f9f9;
536 border: 1px solid
#aaa;
537 border-collapse: collapse
;
541 table
.wikitable
> tr
> th
,
542 table
.wikitable
> tr
> td
,
543 table
.wikitable
> * > tr
> th
,
544 table
.wikitable
> * > tr
> td
{
545 border: 1px solid
#aaa;
546 padding: 0.2em 0.4em;
549 table
.wikitable
> tr
> th
,
550 table
.wikitable
> * > tr
> th
{
551 background-color: #f2f2f2;
555 table
.wikitable
> caption
{
559 /* success and error messages */
584 display: inline-block
;
602 border-color: #fac5c5;
603 background-color: #fae3e3;
608 border-color: #fde29b;
609 background-color: #fdf1d1;
614 border-color: #b7fdb5;
615 background-color: #e1fddf;
618 /* general info/warning box for SP */
620 border: 2px solid
#ff7f00;
633 margin: 0.5em 0.5em 0.5em 49px;
636 /* Note on preview page */
654 * Transparent table with suddle borders
655 * and blue row-highlighting.
658 border-collapse: collapse
;
664 border: 1px solid
#aaaaaa;
665 padding: 0 0.15em 0 0.15em;
669 background-color: #ddddff;
673 background-color: #ffffff;
676 .mw-datatable tr:hover td {
677 background-color: #eeeeff;
683 border: 1px solid
#aaaaaa;
684 background-color: #f9f9f9;
687 margin-bottom: 0.5em;
694 list-style-type: none
;
698 /* Classes for Exif data display */
702 margin-bottom: 0.5em;
706 table
.mw_metadata caption
{
710 table
.mw_metadata th
{
714 table
.mw_metadata td
{
720 border-collapse: collapse
;
723 table
.mw_metadata td
,
724 table
.mw_metadata th
{
726 border: 1px solid
#aaaaaa;
731 table
.mw_metadata th
{
732 background-color: #f9f9f9;
735 table
.mw_metadata td
{
736 background-color: #fcfcfc;
739 table
.mw_metadata ul
.metadata-langlist
{
740 list-style-type: none
;
741 list-style-image: none
;
747 /* Correct directionality when page dir is different from site/user dir */
749 .mw-content-rtl .mw-content-ltr ul {
751 margin: 0.3em 0 0 1.6em;
756 .mw-content-ltr .mw-content-rtl ul {
758 margin: 0.3em 1.6em 0 0;
763 .mw-content-rtl .mw-content-ltr ol {
765 margin: 0.3em 0 0 3.2em;
770 .mw-content-ltr .mw-content-rtl ol {
772 margin: 0.3em 3.2em 0 0;
778 .mw-content-rtl .mw-content-ltr dd {
785 .mw-content-ltr .mw-content-rtl dd {
791 background-image: url
(images
/ajax-loader
.gif
);
792 background-position: center center
;
793 background-repeat: no-repeat
;
800 padding: 10px !important
;
802 background-image: url
(images/spinner.gif);
803 background-position: center center
;
804 background-repeat: no-repeat
;
807 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
808 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
811 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
830 line-height: 1.6em !important
;
833 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
834 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
835 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
836 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
837 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
838 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
839 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
840 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
841 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
842 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
843 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
844 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
845 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
846 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
847 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
848 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
849 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
850 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
851 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
852 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
853 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
857 /* Localised ordered list numbering for some languages */
868 list-style-type: -moz-persian
;
869 list-style-type: persian
;
874 list-style-type: -moz-arabic-indic
;
875 list-style-type: arabic-indic
;
880 list-style-type: -moz-devanagari
;
881 list-style-type: devanagari
;
886 list-style-type: -moz-bengali
;
887 list-style-type: bengali
;
891 list-style-type: -moz-oriya
;
892 list-style-type: oriya
;
899 /* Correct directionality when page dir is different from site/user dir */
900 /* @noflip */ .mw-content-ltr
.toc ul
,
901 .mw-content-ltr #toc ul
,
902 .mw-content-rtl
.mw-content-ltr
.toc ul
,
903 .mw-content-rtl .mw-content-ltr #toc ul {
907 /* @noflip */ .mw-content-rtl
.toc ul
,
908 .mw-content-rtl #toc ul
,
909 .mw-content-ltr
.mw-content-rtl
.toc ul
,
910 .mw-content-ltr .mw-content-rtl #toc ul {
914 /* @noflip */ .mw-content-ltr
.toc ul ul
,
915 .mw-content-ltr #toc ul ul
,
916 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
917 .mw-content-rtl .mw-content-ltr #toc ul ul {
921 /* @noflip */ .mw-content-rtl
.toc ul ul
,
922 .mw-content-rtl #toc ul ul
,
923 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
924 .mw-content-ltr .mw-content-rtl #toc ul ul {
936 .mw-help-field-hint {
941 background-image: url
(images
/help-question
.gif
);
942 background-position: left center
;
943 background-repeat: no-repeat
;
946 text-decoration: underline
;
950 .mw-help-field-hint:hover {
951 background-image: url
(images
/help-question-hover
.gif
);
954 .mw-help-field-data {
956 background-color: #d6f3ff;
957 padding: 5px 8px 4px 8px;
958 border: 1px solid
#5dc9f4;
971 /* Correct user & content directionality when viewing a diff */
972 .diff-currentversion-title
,
978 /* @noflip */ .diff-contentalign-right td
{
983 /* @noflip */ .diff-contentalign-left td
{
992 direction: ltr
!important
;
997 #mw-revision-info-current,
1005 /* @noflip */ div
.tright
,
1012 /* @noflip */ div
.tleft
,
1028 unicode-bidi: embed
;
1036 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1039 /* Print footer should be hidden by default in screen. */
1044 /* For developers */
1054 -moz-user-select: none
;
1055 -webkit-user-select: none
;
1056 -ms-user-select: none
;
1060 /* Display editsection links smaller and next to headings */
1062 .mw-editsection-like {
1064 font-weight: normal
;
1066 vertical-align: baseline
;
1067 /* Reset line-height; headings tend to have it set to larger values */
1069 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1070 /* of the heading content when selecting text by multiple clicks and thus */
1071 /* selected together with heading content, despite the user-select: none; */
1072 /* rule set above. This enforces non-selection without changing the look. */
1073 display: inline-block
;
1076 /* Correct directionality when page dir is different from site/user dir */
1078 .mw-content-ltr
.mw-editsection
,
1079 .mw-content-rtl .mw-content-ltr .mw-editsection {
1084 .mw-content-rtl
.mw-editsection
,
1085 .mw-content-ltr .mw-content-rtl .mw-editsection {
1089 /* Prevent citations and subscripts from interfering with the line-height */