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.
7 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */
10 * These classes should be used for text depending on the content direction.
11 * Content stuff like editsection, ul/ol and TOC depend on this.
23 /* Most input fields should be in site direction */
24 .sitedir-ltr textarea
,
30 .sitedir-rtl textarea
,
36 /* User-Agent styles for new HTML5 elements */
38 background-color: yellow
;
42 /* Helper for wbr element on IE 8+; in HTML5, but not supported by default as of IE 11. */
43 /* Note canonical HTML5 styles recommend "content: \u200B", but this doesn't work as of IE 11. */
45 display: inline-block
;
48 /* Input types that should follow user direction, like buttons */
49 /* TODO: What about buttons in wikipage content ? */
57 /* Override default values */
70 /* Default style for semantic tags */
73 border-bottom: 1px dotted
;
77 /* Colored watchlist and recent changes numbers */
79 color: #006400; /* dark green */
83 color: #8b0000; /* dark red */
87 color: #aaa; /* gray */
91 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
92 * [[Special:Watchlist/edit]] and in category listings.
95 .redirect-in-category
,
100 /* Comment and username portions of RC entries */
116 vertical-align: middle
;
124 * Add a bit of margin space between the preview and the toolbar.
125 * This replaces the ugly <p><br /></p> we used to insert into the page source
131 /* Stop floats from intruding into edit area in previews */
143 * File description page
146 div
.mw-filepage-resolutioninfo
{
157 table
.filehistory th
,
158 table
.filehistory td
{
162 table
.filehistory th
{
166 table
.filehistory td
.mw-imagepage-filesize
,
167 table
.filehistory th
.mw-imagepage-filesize
{
171 table
.filehistory td
.filehistory-selected
{
176 * Add a checkered background image on hover for file
177 * description pages. (bug 26470)
182 background: white url
(images
/Checker-16x16
.png
) repeat
;
189 span
.history-deleted
{
190 text-decoration: line-through
;
199 background-color: #ffa;
231 .prefsection td.mw-label {
239 .prefsection table.mw-htmlform-matrix {
244 /* SVG support using a transparent gradient to guarantee cross-browser
245 * compatibility (browsers able to understand gradient syntax support also SVG).
246 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
247 background-image: url
(images
/question-small
.png
);
249 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images/question.svg);
251 background-image: linear-gradient
(transparent
, transparent
), url
(images/question.svg);
252 background-repeat: no-repeat
;
253 background-size: 13px 13px;
254 display: inline-block
;
260 .mw-icon-question:lang
(ar
),
261 .mw-icon-question:lang
(fa
),
262 .mw-icon-question:lang(ur) {
263 -webkit-transform: scaleX
(-1);
264 -ms-transform: scaleX
(-1);
265 transform: scaleX
(-1);
272 table
.mw-htmlform-nolabel td
.mw-label
{
276 tr
.mw-htmlform-vertical-label td
.mw-label
{
277 text-align: left
!important
;
280 .mw-htmlform-invalid-input td.mw-input input {
284 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
290 .mw-htmlform-matrix td {
292 padding-right: 0.5em;
303 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
307 .mw-content-ltr .thumbcaption {
312 .mw-content-ltr .magnify {
317 .mw-content-rtl .thumbcaption {
322 .mw-content-rtl .magnify {
331 * Overrides text justification (user preference)
342 list-style-type: none
;
343 list-style-image: none
;
344 vertical-align: middle
!ie
;
348 display: inline-block
;
350 border-left: 1px solid
#AAA;
357 .catlinks li:first-child {
358 padding-left: 0.25em;
362 /* (bug 5346) make category redirects italic */
363 .catlinks li a.mw-redirect {
370 .mw-hidden-cats-hidden {
374 .catlinks-allhidden {
379 * Convenience links to edit block, delete and protect reasons
380 * and upload licenses
382 p
.mw-ipb-conveniencelinks
,
383 p
.mw-protect-editreasons
,
384 p
.mw-filedelete-editreasons
,
385 p
.mw-delete-editreasons
,
386 p
.mw-revdel-editreasons
,
387 p
.mw-upload-editlicenses
{
392 /* Page history styling */
394 /* The auto-generated edit comments */
399 #pagehistory .history-user
{
404 #pagehistory span
.minor
{
409 border: 1px solid white
;
412 #pagehistory li
.selected
{
413 background-color: #f9f9f9;
414 border: 1px dashed
#aaa;
417 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
421 /** Generic minor/bot/newpage styling (recent changes) */
429 #shared-image-conflict {
434 * Recreating deleted page warning
435 * Reupload file warning
436 * Page protection warning
437 * incl. log entries for these warnings
439 div
.mw-warning-with-logexcerpt
{
442 border: 2px solid
#2F6FAB;
446 div
.mw-warning-with-logexcerpt ul li
{
450 /* (show/hide) revision deletion links */
451 span
.mw-revdelundel-link
,
452 strong
.mw-revdelundel-link
{
456 span
.mw-revdelundel-hidden
,
457 input
.mw-revdelundel-hidden
{
461 td
.mw-revdel-checkbox
,
462 th
.mw-revdel-checkbox
{
467 /* red links; see bug 36276 */
474 /* SVG support using a transparent gradient to guarantee cross-browser
475 * compatibility (browsers able to understand gradient syntax support also SVG).
476 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
477 background-image: url
(images
/feed-icon
.png
);
479 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
481 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
482 background-position: center left
;
483 background-repeat: no-repeat
;
484 background-size: 12px 12px;
488 /* Plainlinks - this can be used to switch
489 * off special external link styling */
491 background: none
!important
;
492 padding: 0 !important
;
495 /* External URLs should always be treated as LTR (bug 4330) */
496 /* @noflip */ .rtl a
.external
.free
,
497 .rtl a.external.autonumber {
503 * wikitable class for skinning normal tables
504 * keep in sync with commonPrint.css
508 background-color: #f9f9f9;
509 border: 1px #aaa solid
;
510 border-collapse: collapse
;
514 table
.wikitable
> tr
> th
,
515 table
.wikitable
> tr
> td
,
516 table
.wikitable
> * > tr
> th
,
517 table
.wikitable
> * > tr
> td
{
518 border: 1px #aaa solid
;
522 table
.wikitable
> tr
> th
,
523 table
.wikitable
> * > tr
> th
{
524 background-color: #f2f2f2;
528 table
.wikitable
> caption
{
533 * Hide collapsable rows in a collapsed table.
535 * Used by ImagePage and the mediawiki.action.view.metadata module.
537 table
.collapsed tr
.collapsable
{
541 /* success and error messages */
566 display: -moz-inline-block
;
567 display: inline-block
;
585 border-color: #fac5c5;
586 background-color: #fae3e3;
591 border-color: #fde29b;
592 background-color: #fdf1d1;
597 border-color: #b7fdb5;
598 background-color: #e1fddf;
601 /* general info/warning box for SP */
603 border: 2px solid
#ff7f00;
616 margin: 0.5em 0.5em 0.5em 49px;
619 /* Note on preview page */
637 * Transparent table with suddle borders
638 * and blue row-highlighting.
641 border-collapse: collapse
;
647 border: 1px solid
#aaaaaa;
648 padding: 0 0.15em 0 0.15em;
652 background-color: #ddddff;
656 background-color: #ffffff;
659 .mw-datatable tr:hover td {
660 background-color: #eeeeff;
664 * TablePager tables generated by the TablePager PHP class
665 * in MediaWiki (e.g. Special:ListFiles).
681 text-decoration: none
;
687 border: 1px solid
#aaaaaa;
688 background-color: #f9f9f9;
691 margin-bottom: 0.5em;
698 list-style-type: none
;
702 /* Classes for Exif data display */
706 margin-bottom: 0.5em;
710 table
.mw_metadata caption
{
714 table
.mw_metadata th
{
718 table
.mw_metadata td
{
724 border-collapse: collapse
;
727 table
.mw_metadata td
,
728 table
.mw_metadata th
{
730 border: 1px solid
#aaaaaa;
735 table
.mw_metadata th
{
736 background-color: #f9f9f9;
739 table
.mw_metadata td
{
740 background-color: #fcfcfc;
743 table
.mw_metadata ul
.metadata-langlist
{
744 list-style-type: none
;
745 list-style-image: none
;
751 /* Correct directionality when page dir is different from site/user dir */
753 .mw-content-rtl .mw-content-ltr ul {
755 margin: 0.3em 0 0 1.6em;
760 .mw-content-ltr .mw-content-rtl ul {
762 margin: 0.3em 1.6em 0 0;
767 .mw-content-rtl .mw-content-ltr ol {
769 margin: 0.3em 0 0 3.2em;
774 .mw-content-ltr .mw-content-rtl ol {
776 margin: 0.3em 3.2em 0 0;
782 .mw-content-rtl .mw-content-ltr dd {
789 .mw-content-ltr .mw-content-rtl dd {
795 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
796 /* Don't forget to update commonPrint.css */
799 display: -moz-inline-box
;
800 display: inline-block
;
819 word-wrap: break-word
;
822 li
.gallerybox div
.thumb
{
824 border: 1px solid
#ccc;
825 background-color: #f9f9f9;
829 li
.gallerybox div
.thumb img
{
838 word-wrap: break-word
;
841 /* new gallery stuff */
842 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
843 background-color: transparent
;
847 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
851 /* height constrained gallery */
853 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
854 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
855 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
856 background-color: transparent
;
860 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
861 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
862 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
866 ul
.mw-gallery-packed-hover li
.gallerybox
,
867 ul
.mw-gallery-packed-overlay li
.gallerybox
{
871 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
876 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
877 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
878 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
881 background: rgba
(255, 255, 255, 0.8);
884 left: 0; /* Needed for IE */
887 margin: 2px; /* correspond to style on div.thumb */
890 ul
.mw-gallery-packed-hover
,
891 ul
.mw-gallery-packed-overlay
,
892 ul
.mw-gallery-packed
{
898 background-image: url
(images
/ajax-loader
.gif
);
899 background-position: center center
;
900 background-repeat: no-repeat
;
907 padding: 10px !important
;
910 background-image: url
(images/spinner.gif);
911 background-position: center center
;
912 background-repeat: no-repeat
;
915 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
916 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
919 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
938 line-height: 1.6em !important
;
941 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
942 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
943 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
944 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
945 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
946 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
947 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
948 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
949 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
950 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
951 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
952 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
953 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
954 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
955 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
956 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
957 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
958 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
959 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
960 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
961 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
965 /* Localised ordered list numbering for some languages */
972 list-style-type: -moz-persian
;
973 list-style-type: persian
;
977 list-style-type: -moz-arabic-indic
;
978 list-style-type: arabic-indic
;
983 list-style-type: -moz-devanagari
;
984 list-style-type: devanagari
;
989 list-style-type: -moz-bengali
;
990 list-style-type: bengali
;
994 list-style-type: -moz-oriya
;
995 list-style-type: oriya
;
1002 /* Correct directionality when page dir is different from site/user dir */
1003 /* @noflip */ .mw-content-ltr
.toc ul
,
1004 .mw-content-ltr #toc ul
,
1005 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1006 .mw-content-rtl .mw-content-ltr #toc ul {
1010 /* @noflip */ .mw-content-rtl
.toc ul
,
1011 .mw-content-rtl #toc ul
,
1012 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1013 .mw-content-ltr .mw-content-rtl #toc ul {
1017 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1018 .mw-content-ltr #toc ul ul
,
1019 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1020 .mw-content-rtl .mw-content-ltr #toc ul ul {
1024 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1025 .mw-content-rtl #toc ul ul
,
1026 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1027 .mw-content-ltr .mw-content-rtl #toc ul ul {
1038 /* tooltip styles */
1039 .mw-help-field-hint {
1042 margin-bottom: -8px;
1043 padding: 0 0 0 15px;
1045 background-image: url
(images
/help-question
.gif
);
1046 background-position: left center
;
1047 background-repeat: no-repeat
;
1050 text-decoration: underline
;
1054 .mw-help-field-hint:hover {
1056 background-image: url
(images
/help-question-hover
.gif
);
1059 .mw-help-field-data {
1061 background-color: #d6f3ff;
1062 padding: 5px 8px 4px 8px;
1063 border: 1px solid
#5dc9f4;
1073 unicode-bidi: embed
;
1076 /* Correct user & content directionality when viewing a diff */
1077 .diff-currentversion-title
,
1080 unicode-bidi: embed
;
1083 /* @noflip */ .diff-contentalign-right td
{
1085 unicode-bidi: embed
;
1088 /* @noflip */ .diff-contentalign-left td
{
1090 unicode-bidi: embed
;
1097 direction: ltr
!important
;
1098 unicode-bidi: embed
;
1102 #mw-revision-info-current,
1110 /* @noflip */ div
.tright
,
1117 /* @noflip */ div
.tleft
,
1133 unicode-bidi: embed
;
1141 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1144 /* Print footer should be hidden by default in screen. */
1149 /* For developers */
1158 -moz-user-select: none
;
1159 -webkit-user-select: none
;
1160 -ms-user-select: none
;
1164 /* Display editsection links smaller and next to headings */
1166 .mw-editsection-like {
1168 font-weight: normal
;
1170 vertical-align: baseline
;
1171 /* Reset line-height; headings tend to have it set to larger values */
1173 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1174 /* of the heading content when selecting text by multiple clicks and thus */
1175 /* selected together with heading content, despite the user-select: none; */
1176 /* rule set above. This enforces non-selection without changing the look. */
1177 display: inline-block
;
1180 /* Correct directionality when page dir is different from site/user dir */
1182 .mw-content-ltr
.mw-editsection
,
1183 .mw-content-rtl .mw-content-ltr .mw-editsection {
1188 .mw-content-rtl
.mw-editsection
,
1189 .mw-content-ltr .mw-content-rtl .mw-editsection {
1193 /* Prevent citations and subscripts from interfering with the line-height */