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;
304 .mw-content-ltr .thumbcaption {
309 .mw-content-rtl .thumbcaption {
314 .mw-content-ltr .magnify {
320 .mw-content-rtl .magnify {
330 * Overrides text justification (user preference)
341 list-style-type: none
;
342 list-style-image: none
;
343 vertical-align: middle
!ie
;
347 display: inline-block
;
349 border-left: 1px solid
#AAA;
356 .catlinks li:first-child {
357 padding-left: 0.25em;
361 /* (bug 5346) make category redirects italic */
362 .catlinks li a.mw-redirect {
369 .mw-hidden-cats-hidden {
373 .catlinks-allhidden {
378 * Convenience links to edit block, delete and protect reasons
379 * and upload licenses
381 p
.mw-ipb-conveniencelinks
,
382 p
.mw-protect-editreasons
,
383 p
.mw-filedelete-editreasons
,
384 p
.mw-delete-editreasons
,
385 p
.mw-revdel-editreasons
,
386 p
.mw-upload-editlicenses
{
391 /* Page history styling */
393 /* The auto-generated edit comments */
398 #pagehistory .history-user
{
403 #pagehistory span
.minor
{
408 border: 1px solid white
;
411 #pagehistory li
.selected
{
412 background-color: #f9f9f9;
413 border: 1px dashed
#aaa;
416 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
420 /** Generic minor/bot/newpage styling (recent changes) */
428 #shared-image-conflict {
433 * Recreating deleted page warning
434 * Reupload file warning
435 * Page protection warning
436 * incl. log entries for these warnings
438 div
.mw-warning-with-logexcerpt
{
441 border: 2px solid
#2F6FAB;
445 div
.mw-warning-with-logexcerpt ul li
{
449 /* (show/hide) revision deletion links */
450 span
.mw-revdelundel-link
,
451 strong
.mw-revdelundel-link
{
455 span
.mw-revdelundel-hidden
,
456 input
.mw-revdelundel-hidden
{
460 td
.mw-revdel-checkbox
,
461 th
.mw-revdel-checkbox
{
466 /* red links; see bug 36276 */
473 /* SVG support using a transparent gradient to guarantee cross-browser
474 * compatibility (browsers able to understand gradient syntax support also SVG).
475 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
476 background-image: url
(images
/feed-icon
.png
);
478 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
480 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
481 background-position: center left
;
482 background-repeat: no-repeat
;
483 background-size: 12px 12px;
487 /* Plainlinks - this can be used to switch
488 * off special external link styling */
490 background: none
!important
;
491 padding: 0 !important
;
494 /* External URLs should always be treated as LTR (bug 4330) */
495 /* @noflip */ .rtl a
.external
.free
,
496 .rtl a.external.autonumber {
502 * wikitable class for skinning normal tables
503 * keep in sync with commonPrint.css
507 background-color: #f9f9f9;
508 border: 1px #aaa solid
;
509 border-collapse: collapse
;
513 table
.wikitable
> tr
> th
,
514 table
.wikitable
> tr
> td
,
515 table
.wikitable
> * > tr
> th
,
516 table
.wikitable
> * > tr
> td
{
517 border: 1px #aaa solid
;
521 table
.wikitable
> tr
> th
,
522 table
.wikitable
> * > tr
> th
{
523 background-color: #f2f2f2;
527 table
.wikitable
> caption
{
532 * Hide collapsable rows in a collapsed table.
534 * Used by ImagePage and the mediawiki.action.view.metadata module.
536 table
.collapsed tr
.collapsable
{
540 /* success and error messages */
565 display: -moz-inline-block
;
566 display: inline-block
;
584 border-color: #fac5c5;
585 background-color: #fae3e3;
590 border-color: #fde29b;
591 background-color: #fdf1d1;
596 border-color: #b7fdb5;
597 background-color: #e1fddf;
600 /* general info/warning box for SP */
602 border: 2px solid
#ff7f00;
615 margin: 0.5em 0.5em 0.5em 49px;
618 /* Note on preview page */
636 * Transparent table with suddle borders
637 * and blue row-highlighting.
640 border-collapse: collapse
;
646 border: 1px solid
#aaaaaa;
647 padding: 0 0.15em 0 0.15em;
651 background-color: #ddddff;
655 background-color: #ffffff;
658 .mw-datatable tr:hover td {
659 background-color: #eeeeff;
663 * TablePager tables generated by the TablePager PHP class
664 * in MediaWiki (e.g. Special:ListFiles).
680 text-decoration: none
;
688 .imagelist .TablePager_col_links {
689 background-color: #eeeeff;
692 .imagelist .TablePager_col_img_description {
696 .imagelist th.TablePager_sort {
697 background-color: #ccccff;
703 border: 1px solid
#aaaaaa;
704 background-color: #f9f9f9;
707 margin-bottom: 0.5em;
714 list-style-type: none
;
718 /* Classes for Exif data display */
722 margin-bottom: 0.5em;
726 table
.mw_metadata caption
{
730 table
.mw_metadata th
{
734 table
.mw_metadata td
{
740 border-collapse: collapse
;
743 table
.mw_metadata td
,
744 table
.mw_metadata th
{
746 border: 1px solid
#aaaaaa;
751 table
.mw_metadata th
{
752 background-color: #f9f9f9;
755 table
.mw_metadata td
{
756 background-color: #fcfcfc;
759 table
.mw_metadata ul
.metadata-langlist
{
760 list-style-type: none
;
761 list-style-image: none
;
767 /* Correct directionality when page dir is different from site/user dir */
769 .mw-content-rtl .mw-content-ltr ul {
771 margin: 0.3em 0 0 1.6em;
776 .mw-content-ltr .mw-content-rtl ul {
778 margin: 0.3em 1.6em 0 0;
783 .mw-content-rtl .mw-content-ltr ol {
785 margin: 0.3em 0 0 3.2em;
790 .mw-content-ltr .mw-content-rtl ol {
792 margin: 0.3em 3.2em 0 0;
798 .mw-content-rtl .mw-content-ltr dd {
805 .mw-content-ltr .mw-content-rtl dd {
811 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
812 /* Don't forget to update commonPrint.css */
815 display: -moz-inline-box
;
816 display: inline-block
;
835 word-wrap: break-word
;
838 li
.gallerybox div
.thumb
{
840 border: 1px solid
#ccc;
841 background-color: #f9f9f9;
845 li
.gallerybox div
.thumb img
{
854 word-wrap: break-word
;
857 /* new gallery stuff */
858 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
859 background-color: transparent
;
863 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
867 /* height constrained gallery */
869 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
870 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
871 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
872 background-color: transparent
;
876 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
877 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
878 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
882 ul
.mw-gallery-packed-hover li
.gallerybox
,
883 ul
.mw-gallery-packed-overlay li
.gallerybox
{
887 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
892 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
893 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
894 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
897 background: rgba
(255, 255, 255, 0.8);
900 left: 0; /* Needed for IE */
903 margin: 2px; /* correspond to style on div.thumb */
906 ul
.mw-gallery-packed-hover
,
907 ul
.mw-gallery-packed-overlay
,
908 ul
.mw-gallery-packed
{
914 background-image: url
(images
/ajax-loader
.gif
);
915 background-position: center center
;
916 background-repeat: no-repeat
;
923 padding: 10px !important
;
926 background-image: url
(images/spinner.gif);
927 background-position: center center
;
928 background-repeat: no-repeat
;
931 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
932 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
935 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
954 line-height: 1.6em !important
;
957 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
958 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
959 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
960 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
961 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
962 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
963 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
964 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
965 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
966 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
967 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
968 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
969 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
970 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
971 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
972 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
973 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
974 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
975 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
976 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
977 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
981 /* Localised ordered list numbering for some languages */
988 list-style-type: -moz-persian
;
989 list-style-type: persian
;
993 list-style-type: -moz-arabic-indic
;
994 list-style-type: arabic-indic
;
999 list-style-type: -moz-devanagari
;
1000 list-style-type: devanagari
;
1005 list-style-type: -moz-bengali
;
1006 list-style-type: bengali
;
1010 list-style-type: -moz-oriya
;
1011 list-style-type: oriya
;
1018 /* Correct directionality when page dir is different from site/user dir */
1019 /* @noflip */ .mw-content-ltr
.toc ul
,
1020 .mw-content-ltr #toc ul
,
1021 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1022 .mw-content-rtl .mw-content-ltr #toc ul {
1026 /* @noflip */ .mw-content-rtl
.toc ul
,
1027 .mw-content-rtl #toc ul
,
1028 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1029 .mw-content-ltr .mw-content-rtl #toc ul {
1033 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1034 .mw-content-ltr #toc ul ul
,
1035 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1036 .mw-content-rtl .mw-content-ltr #toc ul ul {
1040 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1041 .mw-content-rtl #toc ul ul
,
1042 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1043 .mw-content-ltr .mw-content-rtl #toc ul ul {
1054 /* tooltip styles */
1055 .mw-help-field-hint {
1058 margin-bottom: -8px;
1059 padding: 0 0 0 15px;
1061 background-image: url
(images
/help-question
.gif
);
1062 background-position: left center
;
1063 background-repeat: no-repeat
;
1066 text-decoration: underline
;
1070 .mw-help-field-hint:hover {
1072 background-image: url
(images
/help-question-hover
.gif
);
1075 .mw-help-field-data {
1077 background-color: #d6f3ff;
1078 padding: 5px 8px 4px 8px;
1079 border: 1px solid
#5dc9f4;
1089 unicode-bidi: embed
;
1092 /* Correct user & content directionality when viewing a diff */
1093 .diff-currentversion-title
,
1096 unicode-bidi: embed
;
1099 /* @noflip */ .diff-contentalign-right td
{
1101 unicode-bidi: embed
;
1104 /* @noflip */ .diff-contentalign-left td
{
1106 unicode-bidi: embed
;
1113 direction: ltr
!important
;
1114 unicode-bidi: embed
;
1118 #mw-revision-info-current,
1126 /* @noflip */ div
.tright
,
1133 /* @noflip */ div
.tleft
,
1149 unicode-bidi: embed
;
1157 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1160 /* Print footer should be hidden by default in screen. */
1165 /* For developers */
1174 -moz-user-select: none
;
1175 -webkit-user-select: none
;
1176 -ms-user-select: none
;
1180 /* Display editsection links smaller and next to headings */
1182 .mw-editsection-like {
1184 font-weight: normal
;
1186 vertical-align: baseline
;
1187 /* Reset line-height; headings tend to have it set to larger values */
1189 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1190 /* of the heading content when selecting text by multiple clicks and thus */
1191 /* selected together with heading content, despite the user-select: none; */
1192 /* rule set above. This enforces non-selection without changing the look. */
1193 display: inline-block
;
1196 /* Correct directionality when page dir is different from site/user dir */
1198 .mw-content-ltr
.mw-editsection
,
1199 .mw-content-rtl .mw-content-ltr .mw-editsection {
1204 .mw-content-rtl
.mw-editsection
,
1205 .mw-content-ltr .mw-content-rtl .mw-editsection {
1209 /* Prevent citations and subscripts from interfering with the line-height */