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
;
199 .prefsection td.mw-label {
207 .prefsection table.mw-htmlform-matrix {
223 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
227 .mw-content-ltr .thumbcaption {
232 .mw-content-ltr .magnify {
237 .mw-content-rtl .thumbcaption {
242 .mw-content-rtl .magnify {
251 * Overrides text justification (user preference)
262 list-style-type: none
;
263 list-style-image: none
;
264 vertical-align: middle
!ie
;
268 display: inline-block
;
270 border-left: 1px solid
#AAA;
277 .catlinks li:first-child {
278 padding-left: 0.25em;
282 /* (bug 5346) make category redirects italic */
283 .catlinks li a.mw-redirect {
290 .mw-hidden-cats-hidden {
294 .catlinks-allhidden {
299 * Convenience links to edit block, delete and protect reasons
300 * and upload licenses
302 p
.mw-ipb-conveniencelinks
,
303 p
.mw-protect-editreasons
,
304 p
.mw-filedelete-editreasons
,
305 p
.mw-delete-editreasons
,
306 p
.mw-revdel-editreasons
,
307 p
.mw-upload-editlicenses
{
312 /* Page history styling */
314 /* The auto-generated edit comments */
319 #pagehistory .history-user
{
324 #pagehistory span
.minor
{
329 border: 1px solid white
;
332 #pagehistory li
.selected
{
333 background-color: #f9f9f9;
334 border: 1px dashed
#aaa;
337 .mw-history-revisionactions, #mw-fileduplicatesearch-icon {
341 /** Generic minor/bot/newpage styling (recent changes) */
349 * Recreating deleted page warning
350 * Reupload file warning
351 * Page protection warning
352 * incl. log entries for these warnings
354 div
.mw-warning-with-logexcerpt
{
357 border: 2px solid
#2F6FAB;
361 div
.mw-warning-with-logexcerpt ul li
{
365 /* (show/hide) revision deletion links */
366 span
.mw-revdelundel-link
,
367 strong
.mw-revdelundel-link
{
371 span
.mw-revdelundel-hidden
,
372 input
.mw-revdelundel-hidden
{
376 td
.mw-revdel-checkbox
,
377 th
.mw-revdel-checkbox
{
382 /* red links; see bug 36276 */
388 /* To be removed before 1.26 release, moved to mediawiki.feedlink module */
390 /* SVG support using a transparent gradient to guarantee cross-browser
391 * compatibility (browsers able to understand gradient syntax support also SVG).
392 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
393 background-image: url
(../mediawiki
/images
/feed-icon
.png
);
394 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
395 background-image: linear-gradient
(transparent
, transparent
), url
(../mediawiki
/images
/feed-icon
.svg
);
396 background-position: center left
;
397 background-repeat: no-repeat
;
398 background-size: 12px 12px;
402 /* Plainlinks - this can be used to switch
403 * off special external link styling */
404 .plainlinks a.external {
405 background: none
!important
;
406 padding: 0 !important
;
409 /* External URLs should always be treated as LTR (bug 4330) */
410 /* @noflip */ .rtl a
.external
.free
,
411 .rtl a.external.autonumber {
417 * wikitable class for skinning normal tables
418 * keep in sync with commonPrint.css
422 background-color: #f9f9f9;
423 border: 1px solid
#aaa;
424 border-collapse: collapse
;
428 table
.wikitable
> tr
> th
,
429 table
.wikitable
> tr
> td
,
430 table
.wikitable
> * > tr
> th
,
431 table
.wikitable
> * > tr
> td
{
432 border: 1px solid
#aaa;
433 padding: 0.2em 0.4em;
436 table
.wikitable
> tr
> th
,
437 table
.wikitable
> * > tr
> th
{
438 background-color: #f2f2f2;
442 table
.wikitable
> caption
{
446 /* success and error messages */
471 display: inline-block
;
489 border-color: #fac5c5;
490 background-color: #fae3e3;
495 border-color: #fde29b;
496 background-color: #fdf1d1;
501 border-color: #b7fdb5;
502 background-color: #e1fddf;
505 /* general info/warning box for SP */
507 border: 2px solid
#ff7f00;
520 margin: 0.5em 0.5em 0.5em 49px;
523 /* Note on preview page */
541 * Transparent table with suddle borders
542 * and blue row-highlighting.
545 border-collapse: collapse
;
551 border: 1px solid
#aaaaaa;
552 padding: 0 0.15em 0 0.15em;
556 background-color: #ddddff;
560 background-color: #ffffff;
563 .mw-datatable tr:hover td {
564 background-color: #eeeeff;
567 /* Classes for Exif data display */
571 margin-bottom: 0.5em;
575 table
.mw_metadata caption
{
579 table
.mw_metadata th
{
583 table
.mw_metadata td
{
589 border-collapse: collapse
;
592 table
.mw_metadata td
,
593 table
.mw_metadata th
{
595 border: 1px solid
#aaaaaa;
600 table
.mw_metadata th
{
601 background-color: #f9f9f9;
604 table
.mw_metadata td
{
605 background-color: #fcfcfc;
608 table
.mw_metadata ul
.metadata-langlist
{
609 list-style-type: none
;
610 list-style-image: none
;
616 /* Correct directionality when page dir is different from site/user dir */
618 .mw-content-rtl .mw-content-ltr ul {
620 margin: 0.3em 0 0 1.6em;
625 .mw-content-ltr .mw-content-rtl ul {
627 margin: 0.3em 1.6em 0 0;
632 .mw-content-rtl .mw-content-ltr ol {
634 margin: 0.3em 0 0 3.2em;
639 .mw-content-ltr .mw-content-rtl ol {
641 margin: 0.3em 3.2em 0 0;
647 .mw-content-rtl .mw-content-ltr dd {
654 .mw-content-ltr .mw-content-rtl dd {
660 background-image: url
(images
/ajax-loader
.gif
);
661 background-position: center center
;
662 background-repeat: no-repeat
;
669 padding: 10px !important
;
671 background-image: url
(images/spinner.gif);
672 background-position: center center
;
673 background-repeat: no-repeat
;
676 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
677 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
680 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
699 line-height: 1.6em !important
;
702 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
703 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
704 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
705 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
706 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
707 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
708 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
709 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
710 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
711 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
712 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
713 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
714 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
715 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
716 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
717 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
718 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
719 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
720 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
721 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
722 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
726 /* Localised ordered list numbering for some languages */
737 list-style-type: -moz-persian
;
738 list-style-type: persian
;
743 list-style-type: -moz-arabic-indic
;
744 list-style-type: arabic-indic
;
749 list-style-type: -moz-devanagari
;
750 list-style-type: devanagari
;
755 list-style-type: -moz-bengali
;
756 list-style-type: bengali
;
760 list-style-type: -moz-oriya
;
761 list-style-type: oriya
;
768 /* Correct directionality when page dir is different from site/user dir */
769 /* @noflip */ .mw-content-ltr
.toc ul
,
770 .mw-content-ltr #toc ul
,
771 .mw-content-rtl
.mw-content-ltr
.toc ul
,
772 .mw-content-rtl .mw-content-ltr #toc ul {
776 /* @noflip */ .mw-content-rtl
.toc ul
,
777 .mw-content-rtl #toc ul
,
778 .mw-content-ltr
.mw-content-rtl
.toc ul
,
779 .mw-content-ltr .mw-content-rtl #toc ul {
783 /* @noflip */ .mw-content-ltr
.toc ul ul
,
784 .mw-content-ltr #toc ul ul
,
785 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
786 .mw-content-rtl .mw-content-ltr #toc ul ul {
790 /* @noflip */ .mw-content-rtl
.toc ul ul
,
791 .mw-content-rtl #toc ul ul
,
792 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
793 .mw-content-ltr .mw-content-rtl #toc ul ul {
805 .mw-help-field-hint {
810 background-image: url
(images
/help-question
.gif
);
811 background-position: left center
;
812 background-repeat: no-repeat
;
815 text-decoration: underline
;
819 .mw-help-field-hint:hover {
820 background-image: url
(images
/help-question-hover
.gif
);
823 .mw-help-field-data {
825 background-color: #d6f3ff;
826 padding: 5px 8px 4px 8px;
827 border: 1px solid
#5dc9f4;
840 /* Correct user & content directionality when viewing a diff */
841 .diff-currentversion-title
,
847 /* @noflip */ .diff-contentalign-right td
{
852 /* @noflip */ .diff-contentalign-left td
{
861 direction: ltr
!important
;
866 #mw-revision-info-current,
874 /* @noflip */ div
.tright
,
881 /* @noflip */ div
.tleft
,
905 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
908 /* Print footer should be hidden by default in screen. */
923 -moz-user-select: none
;
924 -webkit-user-select: none
;
925 -ms-user-select: none
;
929 /* Display editsection links smaller and next to headings */
931 .mw-editsection-like {
935 vertical-align: baseline
;
936 /* Reset line-height; headings tend to have it set to larger values */
938 /* As .mw-editsection is a <span> (inline element), it is treated as part */
939 /* of the heading content when selecting text by multiple clicks and thus */
940 /* selected together with heading content, despite the user-select: none; */
941 /* rule set above. This enforces non-selection without changing the look. */
942 display: inline-block
;
945 /* Correct directionality when page dir is different from site/user dir */
947 .mw-content-ltr
.mw-editsection
,
948 .mw-content-rtl .mw-content-ltr .mw-editsection {
953 .mw-content-rtl
.mw-editsection
,
954 .mw-content-ltr .mw-content-rtl .mw-editsection {
958 /* Prevent citations and subscripts from interfering with the line-height */