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 /* Input types that should follow user direction, like buttons */
43 /* TODO: What about buttons in wikipage content ? */
51 /* Override default values */
64 /* Default style for semantic tags */
67 border-bottom: 1px dotted
;
71 /* Colored watchlist and recent changes numbers */
73 color: #006400; /* dark green */
77 color: #8b0000; /* dark red */
81 color: #aaa; /* gray */
85 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
86 * [[Special:Watchlist/edit]] and in category listings.
89 .redirect-in-category
,
94 /* Comment and username portions of RC entries */
110 vertical-align: middle
;
118 * Add a bit of margin space between the preview and the toolbar.
119 * This replaces the ugly <p><br /></p> we used to insert into the page source
125 /* Stop floats from intruding into edit area in previews */
137 * File description page
140 div
.mw-filepage-resolutioninfo
{
151 table
.filehistory th
,
152 table
.filehistory td
{
156 table
.filehistory th
{
160 table
.filehistory td
.mw-imagepage-filesize
,
161 table
.filehistory th
.mw-imagepage-filesize
{
165 table
.filehistory td
.filehistory-selected
{
170 * Add a checkered background image on hover for file
171 * description pages. (bug 26470)
176 background: white url
(images
/Checker-16x16
.png
) repeat
;
183 span
.history-deleted
{
184 text-decoration: line-through
;
193 background-color: #ffa;
225 .prefsection td.mw-label {
233 .prefsection table.mw-htmlform-matrix {
238 /* SVG support using a transparent gradient to guarantee cross-browser
239 * compatibility (browsers able to understand gradient syntax support also SVG).
240 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
241 background-image: url
(images
/question-small
.png
);
243 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images/question.svg);
245 background-image: linear-gradient
(transparent
, transparent
), url
(images/question.svg);
246 background-repeat: no-repeat
;
247 background-size: 13px 13px;
248 display: inline-block
;
254 .mw-icon-question:lang
(ar
),
255 .mw-icon-question:lang
(fa
),
256 .mw-icon-question:lang(ur) {
257 -webkit-transform: scaleX
(-1);
258 -ms-transform: scaleX
(-1);
259 transform: scaleX
(-1);
266 table
.mw-htmlform-nolabel td
.mw-label
{
270 tr
.mw-htmlform-vertical-label td
.mw-label
{
271 text-align: left
!important
;
274 .mw-htmlform-invalid-input td.mw-input input {
278 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
284 .mw-htmlform-matrix td {
286 padding-right: 0.5em;
298 .mw-content-ltr .thumbcaption {
303 .mw-content-rtl .thumbcaption {
308 .mw-content-ltr .magnify {
313 .mw-content-rtl .magnify {
322 * Overrides text justification (user preference)
333 list-style-type: none
;
334 list-style-image: none
;
335 vertical-align: middle
!ie
;
339 display: inline-block
;
341 border-left: 1px solid
#AAA;
348 .catlinks li:first-child {
349 padding-left: 0.25em;
353 /* (bug 5346) make category redirects italic */
354 .catlinks li a.mw-redirect {
361 .mw-hidden-cats-hidden {
365 .catlinks-allhidden {
369 /* Convenience links to edit block, delete and protect reasons */
370 p
.mw-ipb-conveniencelinks
,
371 p
.mw-protect-editreasons
,
372 p
.mw-filedelete-editreasons
,
373 p
.mw-delete-editreasons
,
374 p
.mw-revdel-editreasons
{
380 * OpenSearch ajax suggestions
389 background-color: white
;
391 border-color: #AAAAAA;
397 table
.os-suggest-results
{
401 border-collapse: collapse
;
406 .os-suggest-result-hl {
408 background-color: white
;
413 .os-suggest-result-hl
,
414 .os-suggest-result-hl-webkit {
415 background-color: #4C59A6;
425 .os-suggest-toggle-def {
433 /* Page history styling */
435 /* The auto-generated edit comments */
440 #pagehistory .history-user
{
445 #pagehistory span
.minor
{
450 border: 1px solid white
;
453 #pagehistory li
.selected
{
454 background-color: #f9f9f9;
455 border: 1px dashed
#aaa;
458 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
462 /** Generic minor/bot/newpage styling (recent changes) */
470 #shared-image-conflict {
475 * Recreating deleted page warning
476 * Reupload file warning
477 * Page protection warning
478 * incl. log entries for these warnings
480 div
.mw-warning-with-logexcerpt
{
483 border: 2px solid
#2F6FAB;
487 div
.mw-warning-with-logexcerpt ul li
{
491 /* (show/hide) revision deletion links */
492 span
.mw-revdelundel-link
,
493 strong
.mw-revdelundel-link
{
497 span
.mw-revdelundel-hidden
,
498 input
.mw-revdelundel-hidden
{
502 td
.mw-revdel-checkbox
,
503 th
.mw-revdel-checkbox
{
508 /* red links; see bug 36276 */
515 /* SVG support using a transparent gradient to guarantee cross-browser
516 * compatibility (browsers able to understand gradient syntax support also SVG).
517 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
518 background-image: url
(images
/feed-icon
.png
);
520 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
522 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
523 background-position: center left
;
524 background-repeat: no-repeat
;
525 background-size: 12px 12px;
529 /* Plainlinks - this can be used to switch
530 * off special external link styling */
532 background: none
!important
;
533 padding: 0 !important
;
536 /* External URLs should always be treated as LTR (bug 4330) */
537 /* @noflip */ .rtl a
.external
.free
,
538 .rtl a.external.autonumber {
544 * wikitable class for skinning normal tables
545 * keep in sync with commonPrint.css
549 background-color: #f9f9f9;
550 border: 1px #aaa solid
;
551 border-collapse: collapse
;
555 table
.wikitable
> tr
> th
,
556 table
.wikitable
> tr
> td
,
557 table
.wikitable
> * > tr
> th
,
558 table
.wikitable
> * > tr
> td
{
559 border: 1px #aaa solid
;
563 table
.wikitable
> tr
> th
,
564 table
.wikitable
> * > tr
> th
{
565 background-color: #f2f2f2;
569 table
.wikitable
> caption
{
574 * Hide collapsable rows in a collapsed table.
576 * Used by ImagePage and the mediawiki.action.view.metadata module.
578 table
.collapsed tr
.collapsable
{
582 /* success and error messages */
607 display: -moz-inline-block
;
608 display: inline-block
;
626 border-color: #fac5c5;
627 background-color: #fae3e3;
632 border-color: #fde29b;
633 background-color: #fdf1d1;
638 border-color: #b7fdb5;
639 background-color: #e1fddf;
642 /* general info/warning box for SP */
644 border: 2px solid
#ff7f00;
657 margin: 0.5em 0.5em 0.5em 49px;
660 /* Note on preview page */
678 * Transparent table with suddle borders
679 * and blue row-highlighting.
682 border-collapse: collapse
;
688 border: 1px solid
#aaaaaa;
689 padding: 0 0.15em 0 0.15em;
693 background-color: #ddddff;
697 background-color: #ffffff;
700 .mw-datatable tr:hover td {
701 background-color: #eeeeff;
705 * TablePager tables generated by the TablePager PHP class
706 * in MediaWiki (e.g. Special:ListFiles).
722 text-decoration: none
;
730 .imagelist .TablePager_col_links {
731 background-color: #eeeeff;
734 .imagelist .TablePager_col_img_description {
738 .imagelist th.TablePager_sort {
739 background-color: #ccccff;
745 border: 1px solid
#aaaaaa;
746 background-color: #f9f9f9;
749 margin-bottom: 0.5em;
756 list-style-type: none
;
760 /* Classes for Exif data display */
764 margin-bottom: 0.5em;
768 table
.mw_metadata caption
{
772 table
.mw_metadata th
{
776 table
.mw_metadata td
{
782 border-collapse: collapse
;
785 table
.mw_metadata td
,
786 table
.mw_metadata th
{
788 border: 1px solid
#aaaaaa;
793 table
.mw_metadata th
{
794 background-color: #f9f9f9;
797 table
.mw_metadata td
{
798 background-color: #fcfcfc;
801 table
.mw_metadata ul
.metadata-langlist
{
802 list-style-type: none
;
803 list-style-image: none
;
809 /* Correct directionality when page dir is different from site/user dir */
811 .mw-content-rtl .mw-content-ltr ul {
813 margin: 0.3em 0 0 1.6em;
818 .mw-content-ltr .mw-content-rtl ul {
820 margin: 0.3em 1.6em 0 0;
825 .mw-content-rtl .mw-content-ltr ol {
827 margin: 0.3em 0 0 3.2em;
832 .mw-content-ltr .mw-content-rtl ol {
834 margin: 0.3em 3.2em 0 0;
840 .mw-content-rtl .mw-content-ltr dd {
847 .mw-content-ltr .mw-content-rtl dd {
853 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
854 /* Don't forget to update commonPrint.css */
857 display: -moz-inline-box
;
858 display: inline-block
;
877 word-wrap: break-word
;
880 li
.gallerybox div
.thumb
{
882 border: 1px solid
#ccc;
883 background-color: #f9f9f9;
887 li
.gallerybox div
.thumb img
{
896 word-wrap: break-word
;
899 /* new gallery stuff */
900 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
901 background-color: transparent
;
905 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
909 /* height constrained gallery */
911 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
912 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
913 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
914 background-color: transparent
;
918 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
919 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
920 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
924 ul
.mw-gallery-packed-hover li
.gallerybox
,
925 ul
.mw-gallery-packed-overlay li
.gallerybox
{
929 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
934 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
935 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
936 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
939 background: rgba
(255, 255, 255, 0.8);
942 left: 0; /* Needed for IE */
945 margin: 2px; /* correspond to style on div.thumb */
948 ul
.mw-gallery-packed-hover
,
949 ul
.mw-gallery-packed-overlay
,
950 ul
.mw-gallery-packed
{
956 background-image: url
(images
/ajax-loader
.gif
);
957 background-position: center center
;
958 background-repeat: no-repeat
;
965 padding: 10px !important
;
968 background-image: url
(images/spinner.gif);
969 background-position: center center
;
970 background-repeat: no-repeat
;
973 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
974 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
977 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
996 line-height: 1.6em !important
;
999 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
1000 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
1001 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
1002 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
1003 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
1004 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
1005 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
1006 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
1007 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
1008 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
1009 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
1010 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
1011 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
1012 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
1013 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
1014 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
1015 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
1016 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
1017 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
1018 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
1019 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
1023 /* Localised ordered list numbering for some languages */
1028 ol:lang
(kk-arab
) li
,
1030 list-style-type: -moz-persian
;
1031 list-style-type: persian
;
1035 list-style-type: -moz-arabic-indic
;
1036 list-style-type: arabic-indic
;
1041 list-style-type: -moz-devanagari
;
1042 list-style-type: devanagari
;
1047 list-style-type: -moz-bengali
;
1048 list-style-type: bengali
;
1052 list-style-type: -moz-oriya
;
1053 list-style-type: oriya
;
1060 /* Correct directionality when page dir is different from site/user dir */
1061 /* @noflip */ .mw-content-ltr
.toc ul
,
1062 .mw-content-ltr #toc ul
,
1063 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1064 .mw-content-rtl .mw-content-ltr #toc ul {
1068 /* @noflip */ .mw-content-rtl
.toc ul
,
1069 .mw-content-rtl #toc ul
,
1070 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1071 .mw-content-ltr .mw-content-rtl #toc ul {
1075 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1076 .mw-content-ltr #toc ul ul
,
1077 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1078 .mw-content-rtl .mw-content-ltr #toc ul ul {
1082 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1083 .mw-content-rtl #toc ul ul
,
1084 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1085 .mw-content-ltr .mw-content-rtl #toc ul ul {
1096 /* tooltip styles */
1097 .mw-help-field-hint {
1100 margin-bottom: -8px;
1101 padding: 0 0 0 15px;
1103 background-image: url
(images
/help-question
.gif
);
1104 background-position: left center
;
1105 background-repeat: no-repeat
;
1108 text-decoration: underline
;
1112 .mw-help-field-hint:hover {
1114 background-image: url
(images
/help-question-hover
.gif
);
1117 .mw-help-field-data {
1119 background-color: #d6f3ff;
1120 padding: 5px 8px 4px 8px;
1121 border: 1px solid
#5dc9f4;
1126 padding: 5px 5px 10px;
1134 padding: 5px 8px 4px 8px;
1135 background-color: #d6f3ff;
1137 border: 1px solid
#5dc9f4;
1145 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1150 .tipsy-se .tipsy-arrow {
1153 background-position: 0% 100%;
1162 unicode-bidi: embed
;
1165 /* Correct user & content directionality when viewing a diff */
1166 .diff-currentversion-title
,
1169 unicode-bidi: embed
;
1172 /* @noflip */ .diff-contentalign-right td
{
1174 unicode-bidi: embed
;
1177 /* @noflip */ .diff-contentalign-left td
{
1179 unicode-bidi: embed
;
1186 direction: ltr
!important
;
1187 unicode-bidi: embed
;
1191 #mw-revision-info-current,
1199 /* @noflip */ div
.tright
,
1206 /* @noflip */ div
.tleft
,
1222 unicode-bidi: embed
;
1230 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1233 /* Print footer should be hidden by default in screen. */
1238 /* For developers */
1247 -moz-user-select: none
;
1248 -webkit-user-select: none
;
1249 -ms-user-select: none
;
1253 /* Display editsection links smaller and next to headings */
1255 .mw-editsection-like {
1257 font-weight: normal
;
1259 vertical-align: baseline
;
1260 /* Reset line-height; headings tend to have it set to larger values */
1262 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1263 /* of the heading content when selecting text by multiple clicks and thus */
1264 /* selected together with heading content, despite the user-select: none; */
1265 /* rule set above. This enforces non-selection without changing the look. */
1266 display: inline-block
;
1269 /* Correct directionality when page dir is different from site/user dir */
1271 .mw-content-ltr
.mw-editsection
,
1272 .mw-content-rtl .mw-content-ltr .mw-editsection {
1277 .mw-content-rtl
.mw-editsection
,
1278 .mw-content-ltr .mw-content-rtl .mw-editsection {
1282 /* Prevent citations and subscripts from interfering with the line-height */