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
;
119 /* Comment portions of RC entries */
131 vertical-align: middle
;
139 * Add a bit of margin space between the preview and the toolbar.
140 * This replaces the ugly <p><br /></p> we used to insert into the page source
146 /* Stop floats from intruding into edit area in previews */
157 span
.history-deleted
{
158 text-decoration: line-through
;
167 background-color: #ffa;
196 vertical-align: middle
;
211 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
215 .mw-content-ltr .thumbcaption {
220 .mw-content-ltr .magnify {
225 .mw-content-rtl .thumbcaption {
230 .mw-content-rtl .magnify {
239 * Overrides text justification (user preference)
250 list-style-type: none
;
251 list-style-image: none
;
252 vertical-align: middle
!ie
;
256 display: inline-block
;
258 border-left: 1px solid
#AAA;
265 .catlinks li:first-child {
266 padding-left: 0.25em;
270 /* (bug 5346) make category redirects italic */
271 .catlinks li a.mw-redirect {
278 .mw-hidden-cats-hidden {
282 .catlinks-allhidden {
287 * Convenience links to edit delete and protect reasons
289 p
.mw-protect-editreasons
,
290 p
.mw-filedelete-editreasons
,
291 p
.mw-delete-editreasons
{
296 /* Page history styling */
298 /* The auto-generated edit comments */
303 #pagehistory .history-user
{
309 border: 1px solid white
;
312 #pagehistory li
.selected
{
313 background-color: #f9f9f9;
314 border: 1px dashed
#aaa;
317 .mw-history-revisionactions {
321 /** Generic minor/bot/newpage styling (recent changes) */
329 * Recreating deleted page warning
330 * Reupload file warning
331 * Page protection warning
332 * incl. log entries for these warnings
334 div
.mw-warning-with-logexcerpt
{
337 border: 2px solid
#2F6FAB;
341 div
.mw-warning-with-logexcerpt ul li
{
345 /* (show/hide) revision deletion links */
346 span
.mw-revdelundel-link
,
347 strong
.mw-revdelundel-link
{
351 span
.mw-revdelundel-hidden
,
352 input
.mw-revdelundel-hidden
{
356 td
.mw-revdel-checkbox
,
357 th
.mw-revdel-checkbox
{
362 /* red links; see bug 36276 */
367 /* Plainlinks - this can be used to switch
368 * off special external link styling */
369 .plainlinks a.external {
370 background: none
!important
;
371 padding: 0 !important
;
374 /* External URLs should always be treated as LTR (bug 4330) */
375 /* @noflip */ .rtl a
.external
.free
,
376 .rtl a.external.autonumber {
382 * wikitable class for skinning normal tables
383 * keep in sync with commonPrint.css
387 background-color: #f9f9f9;
388 border: 1px solid
#aaa;
389 border-collapse: collapse
;
393 table
.wikitable
> tr
> th
,
394 table
.wikitable
> tr
> td
,
395 table
.wikitable
> * > tr
> th
,
396 table
.wikitable
> * > tr
> td
{
397 border: 1px solid
#aaa;
398 padding: 0.2em 0.4em;
401 table
.wikitable
> tr
> th
,
402 table
.wikitable
> * > tr
> th
{
403 background-color: #f2f2f2;
407 table
.wikitable
> caption
{
411 /* success and error messages */
436 display: inline-block
;
454 border-color: #fac5c5;
455 background-color: #fae3e3;
460 border-color: #fde29b;
461 background-color: #fdf1d1;
466 border-color: #b7fdb5;
467 background-color: #e1fddf;
470 /* general info/warning box for SP */
472 border: 2px solid
#ff7f00;
485 margin: 0.5em 0.5em 0.5em 49px;
488 /* Note on preview page */
506 * Transparent table with suddle borders
507 * and blue row-highlighting.
510 border-collapse: collapse
;
516 border: 1px solid
#aaaaaa;
517 padding: 0 0.15em 0 0.15em;
521 background-color: #ddddff;
525 background-color: #ffffff;
528 .mw-datatable tr:hover td {
529 background-color: #eeeeff;
532 /* Classes for Exif data display */
536 margin-bottom: 0.5em;
540 table
.mw_metadata caption
{
544 table
.mw_metadata th
{
548 table
.mw_metadata td
{
554 border-collapse: collapse
;
557 table
.mw_metadata td
,
558 table
.mw_metadata th
{
560 border: 1px solid
#aaaaaa;
565 table
.mw_metadata th
{
566 background-color: #f9f9f9;
569 table
.mw_metadata td
{
570 background-color: #fcfcfc;
573 table
.mw_metadata ul
.metadata-langlist
{
574 list-style-type: none
;
575 list-style-image: none
;
581 /* Correct directionality when page dir is different from site/user dir */
583 .mw-content-rtl .mw-content-ltr ul {
585 margin: 0.3em 0 0 1.6em;
590 .mw-content-ltr .mw-content-rtl ul {
592 margin: 0.3em 1.6em 0 0;
597 .mw-content-rtl .mw-content-ltr ol {
599 margin: 0.3em 0 0 3.2em;
604 .mw-content-ltr .mw-content-rtl ol {
606 margin: 0.3em 3.2em 0 0;
612 .mw-content-rtl .mw-content-ltr dd {
619 .mw-content-ltr .mw-content-rtl dd {
625 background-image: url
(images
/ajax-loader
.gif
);
626 background-position: center center
;
627 background-repeat: no-repeat
;
634 padding: 10px !important
;
636 background-image: url
(images/spinner.gif);
637 background-position: center center
;
638 background-repeat: no-repeat
;
641 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
642 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
645 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
664 line-height: 1.6em !important
;
667 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
668 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
669 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
670 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
671 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
672 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
673 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
674 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
675 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
676 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
677 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
678 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
679 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
680 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
681 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
682 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
683 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
684 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
685 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
686 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
687 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
691 /* Localised ordered list numbering for some languages */
702 list-style-type: -moz-persian
;
703 list-style-type: persian
;
708 list-style-type: -moz-arabic-indic
;
709 list-style-type: arabic-indic
;
714 list-style-type: -moz-devanagari
;
715 list-style-type: devanagari
;
720 list-style-type: -moz-bengali
;
721 list-style-type: bengali
;
725 list-style-type: -moz-oriya
;
726 list-style-type: oriya
;
733 /* Correct directionality when page dir is different from site/user dir */
734 /* @noflip */ .mw-content-ltr
.toc ul
,
735 .mw-content-ltr #toc ul
,
736 .mw-content-rtl
.mw-content-ltr
.toc ul
,
737 .mw-content-rtl .mw-content-ltr #toc ul {
741 /* @noflip */ .mw-content-rtl
.toc ul
,
742 .mw-content-rtl #toc ul
,
743 .mw-content-ltr
.mw-content-rtl
.toc ul
,
744 .mw-content-ltr .mw-content-rtl #toc ul {
748 /* @noflip */ .mw-content-ltr
.toc ul ul
,
749 .mw-content-ltr #toc ul ul
,
750 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
751 .mw-content-rtl .mw-content-ltr #toc ul ul {
755 /* @noflip */ .mw-content-rtl
.toc ul ul
,
756 .mw-content-rtl #toc ul ul
,
757 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
758 .mw-content-ltr .mw-content-rtl #toc ul ul {
770 .mw-help-field-hint {
775 background-image: url
(images
/help-question
.gif
);
776 background-position: left center
;
777 background-repeat: no-repeat
;
780 text-decoration: underline
;
784 .mw-help-field-hint:hover {
785 background-image: url
(images
/help-question-hover
.gif
);
788 .mw-help-field-data {
790 background-color: #d6f3ff;
791 padding: 5px 8px 4px 8px;
792 border: 1px solid
#5dc9f4;
805 /* Correct user & content directionality when viewing a diff */
806 .diff-currentversion-title
,
812 /* @noflip */ .diff-contentalign-right td
{
817 /* @noflip */ .diff-contentalign-left td
{
826 direction: ltr
!important
;
831 #mw-revision-info-current,
839 /* @noflip */ div
.tright
,
846 /* @noflip */ div
.tleft
,
870 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
873 /* Print footer should be hidden by default in screen. */
888 -moz-user-select: none
;
889 -webkit-user-select: none
;
890 -ms-user-select: none
;
894 /* Display editsection links smaller and next to headings */
896 .mw-editsection-like {
900 vertical-align: baseline
;
901 /* Reset line-height; headings tend to have it set to larger values */
903 /* As .mw-editsection is a <span> (inline element), it is treated as part */
904 /* of the heading content when selecting text by multiple clicks and thus */
905 /* selected together with heading content, despite the user-select: none; */
906 /* rule set above. This enforces non-selection without changing the look. */
907 display: inline-block
;
910 /* Correct directionality when page dir is different from site/user dir */
912 .mw-content-ltr
.mw-editsection
,
913 .mw-content-rtl .mw-content-ltr .mw-editsection {
918 .mw-content-rtl
.mw-editsection
,
919 .mw-content-ltr .mw-content-rtl .mw-editsection {
923 /* Prevent citations and subscripts from interfering with the line-height */