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: #ff0;
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 /* Comment portions of RC entries */
97 unicode-bidi: -moz-isolate
;
98 unicode-bidi: isolate
;
101 /* Stop floats from intruding into edit area in previews */
112 span
.history-deleted
{
113 text-decoration: line-through
;
134 vertical-align: middle
;
146 .mw-input-with-label {
153 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
157 .mw-content-ltr .thumbcaption {
162 .mw-content-ltr .magnify {
167 .mw-content-rtl .thumbcaption {
172 .mw-content-rtl .magnify {
181 * Overrides text justification (user preference)
192 list-style-type: none
;
193 list-style-image: none
;
194 vertical-align: middle
!ie
;
198 display: inline-block
;
200 border-left: 1px solid
#aaa;
207 .catlinks li:first-child {
208 padding-left: 0.25em;
212 /* (bug 5346) make category redirects italic */
213 .catlinks li a.mw-redirect {
220 .mw-hidden-cats-hidden {
224 .catlinks-allhidden {
229 * Convenience links to edit delete and protect reasons
231 p
.mw-protect-editreasons
,
232 p
.mw-filedelete-editreasons
,
233 p
.mw-delete-editreasons
{
238 /* The auto-generated edit comments */
243 /** Generic minor/bot/newpage styling (recent changes) */
251 * Recreating deleted page warning
252 * Reupload file warning
253 * Page protection warning
254 * incl. log entries for these warnings
256 div
.mw-warning-with-logexcerpt
{
259 border: 2px solid
#2f6fab;
263 div
.mw-warning-with-logexcerpt ul li
{
267 /* (show/hide) revision deletion links */
268 span
.mw-revdelundel-link
,
269 strong
.mw-revdelundel-link
{
273 span
.mw-revdelundel-hidden
,
274 input
.mw-revdelundel-hidden
{
278 td
.mw-revdel-checkbox
,
279 th
.mw-revdel-checkbox
{
284 /* red links; see bug 36276 */
289 /* Plainlinks - this can be used to switch
290 * off special external link styling */
291 .plainlinks a.external {
292 background: none
!important
;
293 padding: 0 !important
;
296 /* External URLs should always be treated as LTR (bug 4330) */
297 /* @noflip */ .rtl a
.external
.free
,
298 .rtl a.external.autonumber {
304 * wikitable class for skinning normal tables
305 * keep in sync with commonPrint.css
309 background-color: #f9f9f9;
310 border: 1px solid
#aaa;
311 border-collapse: collapse
;
315 table
.wikitable
> tr
> th
,
316 table
.wikitable
> tr
> td
,
317 table
.wikitable
> * > tr
> th
,
318 table
.wikitable
> * > tr
> td
{
319 border: 1px solid
#aaa;
320 padding: 0.2em 0.4em;
323 table
.wikitable
> tr
> th
,
324 table
.wikitable
> * > tr
> th
{
325 background-color: #f2f2f2;
329 table
.wikitable
> caption
{
333 /* success and error messages */
358 display: inline-block
;
376 border-color: #fac5c5;
377 background-color: #fae3e3;
382 border-color: #fde29b;
383 background-color: #fdf1d1;
388 border-color: #b7fdb5;
389 background-color: #e1fddf;
392 /* general info/warning box for SP */
394 border: 2px solid
#ff7f00;
407 margin: 0.5em 0.5em 0.5em 49px;
410 /* Note on preview page */
428 * Transparent table with suddle borders
429 * and blue row-highlighting.
432 border-collapse: collapse
;
438 border: 1px solid
#aaa;
439 padding: 0 0.15em 0 0.15em;
443 background-color: #ddf;
447 background-color: #fff;
450 .mw-datatable tr:hover td {
451 background-color: #eef;
454 /* Correct directionality when page dir is different from site/user dir */
456 .mw-content-rtl .mw-content-ltr ul {
458 margin: 0.3em 0 0 1.6em;
463 .mw-content-ltr .mw-content-rtl ul {
465 margin: 0.3em 1.6em 0 0;
470 .mw-content-rtl .mw-content-ltr ol {
472 margin: 0.3em 0 0 3.2em;
477 .mw-content-ltr .mw-content-rtl ol {
479 margin: 0.3em 3.2em 0 0;
485 .mw-content-rtl .mw-content-ltr dd {
492 .mw-content-ltr .mw-content-rtl dd {
498 background-image: url
( images
/ajax-loader
.gif
);
499 background-position: center center
;
500 background-repeat: no-repeat
;
507 padding: 10px !important
;
509 background-image: url
( images
/spinner
.gif
);
510 background-position: center center
;
511 background-repeat: no-repeat
;
514 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
515 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
518 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
537 line-height: 1.6em !important
;
540 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
541 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
542 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
543 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
544 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
545 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
546 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
547 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
548 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
549 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
550 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
551 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
552 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
553 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
554 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
555 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
556 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
557 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
558 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
559 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
560 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
564 /* Localised ordered list numbering for some languages */
575 list-style-type: -moz-persian
;
576 list-style-type: persian
;
581 list-style-type: -moz-arabic-indic
;
582 list-style-type: arabic-indic
;
587 list-style-type: -moz-devanagari
;
588 list-style-type: devanagari
;
593 list-style-type: -moz-bengali
;
594 list-style-type: bengali
;
598 list-style-type: -moz-oriya
;
599 list-style-type: oriya
;
606 /* Correct directionality when page dir is different from site/user dir */
607 /* @noflip */ .mw-content-ltr
.toc ul
,
608 .mw-content-ltr #toc ul
,
609 .mw-content-rtl
.mw-content-ltr
.toc ul
,
610 .mw-content-rtl .mw-content-ltr #toc ul {
614 /* @noflip */ .mw-content-rtl
.toc ul
,
615 .mw-content-rtl #toc ul
,
616 .mw-content-ltr
.mw-content-rtl
.toc ul
,
617 .mw-content-ltr .mw-content-rtl #toc ul {
621 /* @noflip */ .mw-content-ltr
.toc ul ul
,
622 .mw-content-ltr #toc ul ul
,
623 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
624 .mw-content-rtl .mw-content-ltr #toc ul ul {
628 /* @noflip */ .mw-content-rtl
.toc ul ul
,
629 .mw-content-rtl #toc ul ul
,
630 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
631 .mw-content-ltr .mw-content-rtl #toc ul ul {
643 .mw-help-field-hint {
648 background-image: url
( images
/help-question
.gif
);
649 background-position: left center
;
650 background-repeat: no-repeat
;
653 text-decoration: underline
;
657 .mw-help-field-hint:hover {
658 background-image: url
( images
/help-question-hover
.gif
);
661 .mw-help-field-data {
663 background-color: #d6f3ff;
664 padding: 5px 8px 4px 8px;
665 border: 1px solid
#5dc9f4;
679 #mw-revision-info-current,
686 /* @noflip */ div
.tright
,
693 /* @noflip */ div
.tleft
,
717 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
720 /* Print footer should be hidden by default in screen. */
733 -moz-user-select: none
;
734 -webkit-user-select: none
;
735 -ms-user-select: none
;
739 /* Display editsection links smaller and next to headings */
741 .mw-editsection-like {
745 vertical-align: baseline
;
746 /* Reset line-height; headings tend to have it set to larger values */
748 /* As .mw-editsection is a <span> (inline element), it is treated as part */
749 /* of the heading content when selecting text by multiple clicks and thus */
750 /* selected together with heading content, despite the user-select: none; */
751 /* rule set above. This enforces non-selection without changing the look. */
752 display: inline-block
;
755 /* Correct directionality when page dir is different from site/user dir */
757 .mw-content-ltr
.mw-editsection
,
758 .mw-content-rtl .mw-content-ltr .mw-editsection {
763 .mw-content-rtl
.mw-editsection
,
764 .mw-content-ltr .mw-content-rtl .mw-editsection {
768 /* Prevent citations and subscripts from interfering with the line-height */