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
,
40 /* User-Agent styles for new HTML5 elements */
42 background-color: yellow
;
46 /* Helper for wbr element on IE 8+; in HTML5, but not supported by default as of IE 11. */
47 /* Note canonical HTML5 styles recommend "content: \u200B", but this doesn't work as of IE 11. */
49 display: inline-block
;
52 /* Input types that should follow user direction, like buttons */
53 /* TODO: What about buttons in wikipage content ? */
61 /* Override default values */
74 /* Default style for semantic tags */
77 border-bottom: 1px dotted
;
81 /* Colored watchlist and recent changes numbers */
83 color: #006400; /* dark green */
87 color: #8b0000; /* dark red */
91 color: #aaa; /* gray */
95 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
96 * [[Special:Watchlist/edit]] and in category listings.
99 .redirect-in-category
,
104 /* Comment and username portions of RC entries */
120 vertical-align: middle
;
128 * Add a bit of margin space between the preview and the toolbar.
129 * This replaces the ugly <p><br /></p> we used to insert into the page source
135 /* Stop floats from intruding into edit area in previews */
147 * File description page
150 div
.mw-filepage-resolutioninfo
{
161 table
.filehistory th
,
162 table
.filehistory td
{
166 table
.filehistory th
{
170 table
.filehistory td
.mw-imagepage-filesize
,
171 table
.filehistory th
.mw-imagepage-filesize
{
175 table
.filehistory td
.filehistory-selected
{
180 * Add a checkered background image on hover for file
181 * description pages. (bug 26470)
186 background: white url
(images/checker.png) repeat
;
193 span
.history-deleted
{
194 text-decoration: line-through
;
203 background-color: #ffa;
235 .prefsection td.mw-label {
243 .prefsection table.mw-htmlform-matrix {
248 /* SVG support using a transparent gradient to guarantee cross-browser
249 * compatibility (browsers able to understand gradient syntax support also SVG).
250 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
251 background-image: url
(images/question.png);
253 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images/question.svg);
255 background-image: linear-gradient
(transparent
, transparent
), url
(images/question.svg);
256 background-repeat: no-repeat
;
257 background-size: 13px 13px;
258 display: inline-block
;
264 .mw-icon-question:lang
(ar
),
265 .mw-icon-question:lang
(fa
),
266 .mw-icon-question:lang(ur) {
267 -webkit-transform: scaleX
(-1);
268 -ms-transform: scaleX
(-1);
269 transform: scaleX
(-1);
276 table
.mw-htmlform-nolabel td
.mw-label
{
280 tr
.mw-htmlform-vertical-label td
.mw-label
{
281 text-align: left
!important
;
284 .mw-htmlform-invalid-input td.mw-input input {
288 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
294 .mw-htmlform-matrix td {
296 padding-right: 0.5em;
307 * This is only meant to provide the most basic of styles, visual settings shouldn't be added here.
311 .mw-content-ltr .thumbcaption {
316 .mw-content-ltr .magnify {
321 .mw-content-rtl .thumbcaption {
326 .mw-content-rtl .magnify {
335 * Overrides text justification (user preference)
346 list-style-type: none
;
347 list-style-image: none
;
348 vertical-align: middle
!ie
;
352 display: inline-block
;
354 border-left: 1px solid
#AAA;
361 .catlinks li:first-child {
362 padding-left: 0.25em;
366 /* (bug 5346) make category redirects italic */
367 .catlinks li a.mw-redirect {
374 .mw-hidden-cats-hidden {
378 .catlinks-allhidden {
383 * Convenience links to edit block, delete and protect reasons
384 * and upload licenses
386 p
.mw-ipb-conveniencelinks
,
387 p
.mw-protect-editreasons
,
388 p
.mw-filedelete-editreasons
,
389 p
.mw-delete-editreasons
,
390 p
.mw-revdel-editreasons
,
391 p
.mw-upload-editlicenses
{
396 /* Page history styling */
398 /* The auto-generated edit comments */
403 #pagehistory .history-user
{
408 #pagehistory span
.minor
{
413 border: 1px solid white
;
416 #pagehistory li
.selected
{
417 background-color: #f9f9f9;
418 border: 1px dashed
#aaa;
421 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
425 /** Generic minor/bot/newpage styling (recent changes) */
433 #shared-image-conflict {
438 * Recreating deleted page warning
439 * Reupload file warning
440 * Page protection warning
441 * incl. log entries for these warnings
443 div
.mw-warning-with-logexcerpt
{
446 border: 2px solid
#2F6FAB;
450 div
.mw-warning-with-logexcerpt ul li
{
454 /* (show/hide) revision deletion links */
455 span
.mw-revdelundel-link
,
456 strong
.mw-revdelundel-link
{
460 span
.mw-revdelundel-hidden
,
461 input
.mw-revdelundel-hidden
{
465 td
.mw-revdel-checkbox
,
466 th
.mw-revdel-checkbox
{
471 /* red links; see bug 36276 */
478 /* SVG support using a transparent gradient to guarantee cross-browser
479 * compatibility (browsers able to understand gradient syntax support also SVG).
480 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
481 background-image: url
(images
/feed-icon
.png
);
483 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
485 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
486 background-position: center left
;
487 background-repeat: no-repeat
;
488 background-size: 12px 12px;
492 /* Plainlinks - this can be used to switch
493 * off special external link styling */
494 .plainlinks a.external {
495 background: none
!important
;
496 padding: 0 !important
;
499 /* External URLs should always be treated as LTR (bug 4330) */
500 /* @noflip */ .rtl a
.external
.free
,
501 .rtl a.external.autonumber {
507 * wikitable class for skinning normal tables
508 * keep in sync with commonPrint.css
512 background-color: #f9f9f9;
513 border: 1px #aaa solid
;
514 border-collapse: collapse
;
518 table
.wikitable
> tr
> th
,
519 table
.wikitable
> tr
> td
,
520 table
.wikitable
> * > tr
> th
,
521 table
.wikitable
> * > tr
> td
{
522 border: 1px #aaa solid
;
526 table
.wikitable
> tr
> th
,
527 table
.wikitable
> * > tr
> th
{
528 background-color: #f2f2f2;
532 table
.wikitable
> caption
{
536 /* success and error messages */
561 display: -moz-inline-block
;
562 display: inline-block
;
580 border-color: #fac5c5;
581 background-color: #fae3e3;
586 border-color: #fde29b;
587 background-color: #fdf1d1;
592 border-color: #b7fdb5;
593 background-color: #e1fddf;
596 /* general info/warning box for SP */
598 border: 2px solid
#ff7f00;
611 margin: 0.5em 0.5em 0.5em 49px;
614 /* Note on preview page */
632 * Transparent table with suddle borders
633 * and blue row-highlighting.
636 border-collapse: collapse
;
642 border: 1px solid
#aaaaaa;
643 padding: 0 0.15em 0 0.15em;
647 background-color: #ddddff;
651 background-color: #ffffff;
654 .mw-datatable tr:hover td {
655 background-color: #eeeeff;
661 border: 1px solid
#aaaaaa;
662 background-color: #f9f9f9;
665 margin-bottom: 0.5em;
672 list-style-type: none
;
676 /* Classes for Exif data display */
680 margin-bottom: 0.5em;
684 table
.mw_metadata caption
{
688 table
.mw_metadata th
{
692 table
.mw_metadata td
{
698 border-collapse: collapse
;
701 table
.mw_metadata td
,
702 table
.mw_metadata th
{
704 border: 1px solid
#aaaaaa;
709 table
.mw_metadata th
{
710 background-color: #f9f9f9;
713 table
.mw_metadata td
{
714 background-color: #fcfcfc;
717 table
.mw_metadata ul
.metadata-langlist
{
718 list-style-type: none
;
719 list-style-image: none
;
725 /* Correct directionality when page dir is different from site/user dir */
727 .mw-content-rtl .mw-content-ltr ul {
729 margin: 0.3em 0 0 1.6em;
734 .mw-content-ltr .mw-content-rtl ul {
736 margin: 0.3em 1.6em 0 0;
741 .mw-content-rtl .mw-content-ltr ol {
743 margin: 0.3em 0 0 3.2em;
748 .mw-content-ltr .mw-content-rtl ol {
750 margin: 0.3em 3.2em 0 0;
756 .mw-content-rtl .mw-content-ltr dd {
763 .mw-content-ltr .mw-content-rtl dd {
769 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
770 /* Don't forget to update commonPrint.css */
773 display: -moz-inline-box
;
774 display: inline-block
;
793 word-wrap: break-word
;
796 li
.gallerybox div
.thumb
{
798 border: 1px solid
#ccc;
799 background-color: #f9f9f9;
803 li
.gallerybox div
.thumb img
{
812 word-wrap: break-word
;
815 /* new gallery stuff */
816 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
817 background-color: transparent
;
821 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
825 /* height constrained gallery */
827 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
828 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
829 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
830 background-color: transparent
;
834 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
835 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
836 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
840 ul
.mw-gallery-packed-hover li
.gallerybox
,
841 ul
.mw-gallery-packed-overlay li
.gallerybox
{
845 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
850 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
851 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
852 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
855 background: rgba
(255, 255, 255, 0.8);
858 left: 0; /* Needed for IE */
861 margin: 2px; /* correspond to style on div.thumb */
864 ul
.mw-gallery-packed-hover
,
865 ul
.mw-gallery-packed-overlay
,
866 ul
.mw-gallery-packed
{
872 background-image: url
(images
/ajax-loader
.gif
);
873 background-position: center center
;
874 background-repeat: no-repeat
;
881 padding: 10px !important
;
884 background-image: url
(images/spinner.gif);
885 background-position: center center
;
886 background-repeat: no-repeat
;
889 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
890 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
893 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
912 line-height: 1.6em !important
;
915 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
916 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
917 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
918 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
919 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
920 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
921 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
922 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
923 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
924 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
925 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
926 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
927 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
928 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
929 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
930 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
931 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
932 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
933 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
934 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
935 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
939 /* Localised ordered list numbering for some languages */
946 list-style-type: -moz-persian
;
947 list-style-type: persian
;
951 list-style-type: -moz-arabic-indic
;
952 list-style-type: arabic-indic
;
957 list-style-type: -moz-devanagari
;
958 list-style-type: devanagari
;
963 list-style-type: -moz-bengali
;
964 list-style-type: bengali
;
968 list-style-type: -moz-oriya
;
969 list-style-type: oriya
;
976 /* Correct directionality when page dir is different from site/user dir */
977 /* @noflip */ .mw-content-ltr
.toc ul
,
978 .mw-content-ltr #toc ul
,
979 .mw-content-rtl
.mw-content-ltr
.toc ul
,
980 .mw-content-rtl .mw-content-ltr #toc ul {
984 /* @noflip */ .mw-content-rtl
.toc ul
,
985 .mw-content-rtl #toc ul
,
986 .mw-content-ltr
.mw-content-rtl
.toc ul
,
987 .mw-content-ltr .mw-content-rtl #toc ul {
991 /* @noflip */ .mw-content-ltr
.toc ul ul
,
992 .mw-content-ltr #toc ul ul
,
993 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
994 .mw-content-rtl .mw-content-ltr #toc ul ul {
998 /* @noflip */ .mw-content-rtl
.toc ul ul
,
999 .mw-content-rtl #toc ul ul
,
1000 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1001 .mw-content-ltr .mw-content-rtl #toc ul ul {
1012 /* tooltip styles */
1013 .mw-help-field-hint {
1016 margin-bottom: -8px;
1017 padding: 0 0 0 15px;
1019 background-image: url
(images
/help-question
.gif
);
1020 background-position: left center
;
1021 background-repeat: no-repeat
;
1024 text-decoration: underline
;
1028 .mw-help-field-hint:hover {
1030 background-image: url
(images
/help-question-hover
.gif
);
1033 .mw-help-field-data {
1035 background-color: #d6f3ff;
1036 padding: 5px 8px 4px 8px;
1037 border: 1px solid
#5dc9f4;
1047 unicode-bidi: embed
;
1050 /* Correct user & content directionality when viewing a diff */
1051 .diff-currentversion-title
,
1054 unicode-bidi: embed
;
1057 /* @noflip */ .diff-contentalign-right td
{
1059 unicode-bidi: embed
;
1062 /* @noflip */ .diff-contentalign-left td
{
1064 unicode-bidi: embed
;
1071 direction: ltr
!important
;
1072 unicode-bidi: embed
;
1076 #mw-revision-info-current,
1084 /* @noflip */ div
.tright
,
1091 /* @noflip */ div
.tleft
,
1107 unicode-bidi: embed
;
1115 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1118 /* Print footer should be hidden by default in screen. */
1123 /* For developers */
1132 -moz-user-select: none
;
1133 -webkit-user-select: none
;
1134 -ms-user-select: none
;
1138 /* Display editsection links smaller and next to headings */
1140 .mw-editsection-like {
1142 font-weight: normal
;
1144 vertical-align: baseline
;
1145 /* Reset line-height; headings tend to have it set to larger values */
1147 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1148 /* of the heading content when selecting text by multiple clicks and thus */
1149 /* selected together with heading content, despite the user-select: none; */
1150 /* rule set above. This enforces non-selection without changing the look. */
1151 display: inline-block
;
1154 /* Correct directionality when page dir is different from site/user dir */
1156 .mw-content-ltr
.mw-editsection
,
1157 .mw-content-rtl .mw-content-ltr .mw-editsection {
1162 .mw-content-rtl
.mw-editsection
,
1163 .mw-content-ltr .mw-content-rtl .mw-editsection {
1167 /* Prevent citations and subscripts from interfering with the line-height */