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 {
319 .mw-content-rtl .magnify {
328 * Overrides text justification (user preference)
339 list-style-type: none
;
340 list-style-image: none
;
341 vertical-align: middle
!ie
;
345 display: inline-block
;
347 border-left: 1px solid
#AAA;
354 .catlinks li:first-child {
355 padding-left: 0.25em;
359 /* (bug 5346) make category redirects italic */
360 .catlinks li a.mw-redirect {
367 .mw-hidden-cats-hidden {
371 .catlinks-allhidden {
376 * Convenience links to edit block, delete and protect reasons
377 * and upload licenses
379 p
.mw-ipb-conveniencelinks
,
380 p
.mw-protect-editreasons
,
381 p
.mw-filedelete-editreasons
,
382 p
.mw-delete-editreasons
,
383 p
.mw-revdel-editreasons
,
384 p
.mw-upload-editlicenses
{
390 * OpenSearch ajax suggestions
399 background-color: white
;
401 border-color: #AAAAAA;
407 table
.os-suggest-results
{
411 border-collapse: collapse
;
416 .os-suggest-result-hl {
418 background-color: white
;
423 .os-suggest-result-hl
,
424 .os-suggest-result-hl-webkit {
425 background-color: #4C59A6;
435 .os-suggest-toggle-def {
443 /* Page history styling */
445 /* The auto-generated edit comments */
450 #pagehistory .history-user
{
455 #pagehistory span
.minor
{
460 border: 1px solid white
;
463 #pagehistory li
.selected
{
464 background-color: #f9f9f9;
465 border: 1px dashed
#aaa;
468 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
472 /** Generic minor/bot/newpage styling (recent changes) */
480 #shared-image-conflict {
485 * Recreating deleted page warning
486 * Reupload file warning
487 * Page protection warning
488 * incl. log entries for these warnings
490 div
.mw-warning-with-logexcerpt
{
493 border: 2px solid
#2F6FAB;
497 div
.mw-warning-with-logexcerpt ul li
{
501 /* (show/hide) revision deletion links */
502 span
.mw-revdelundel-link
,
503 strong
.mw-revdelundel-link
{
507 span
.mw-revdelundel-hidden
,
508 input
.mw-revdelundel-hidden
{
512 td
.mw-revdel-checkbox
,
513 th
.mw-revdel-checkbox
{
518 /* red links; see bug 36276 */
525 /* SVG support using a transparent gradient to guarantee cross-browser
526 * compatibility (browsers able to understand gradient syntax support also SVG).
527 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
528 background-image: url
(images
/feed-icon
.png
);
530 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
532 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
533 background-position: center left
;
534 background-repeat: no-repeat
;
535 background-size: 12px 12px;
539 /* Plainlinks - this can be used to switch
540 * off special external link styling */
542 background: none
!important
;
543 padding: 0 !important
;
546 /* External URLs should always be treated as LTR (bug 4330) */
547 /* @noflip */ .rtl a
.external
.free
,
548 .rtl a.external.autonumber {
554 * wikitable class for skinning normal tables
555 * keep in sync with commonPrint.css
559 background-color: #f9f9f9;
560 border: 1px #aaa solid
;
561 border-collapse: collapse
;
565 table
.wikitable
> tr
> th
,
566 table
.wikitable
> tr
> td
,
567 table
.wikitable
> * > tr
> th
,
568 table
.wikitable
> * > tr
> td
{
569 border: 1px #aaa solid
;
573 table
.wikitable
> tr
> th
,
574 table
.wikitable
> * > tr
> th
{
575 background-color: #f2f2f2;
579 table
.wikitable
> caption
{
584 * Hide collapsable rows in a collapsed table.
586 * Used by ImagePage and the mediawiki.action.view.metadata module.
588 table
.collapsed tr
.collapsable
{
592 /* success and error messages */
617 display: -moz-inline-block
;
618 display: inline-block
;
636 border-color: #fac5c5;
637 background-color: #fae3e3;
642 border-color: #fde29b;
643 background-color: #fdf1d1;
648 border-color: #b7fdb5;
649 background-color: #e1fddf;
652 /* general info/warning box for SP */
654 border: 2px solid
#ff7f00;
667 margin: 0.5em 0.5em 0.5em 49px;
670 /* Note on preview page */
688 * Transparent table with suddle borders
689 * and blue row-highlighting.
692 border-collapse: collapse
;
698 border: 1px solid
#aaaaaa;
699 padding: 0 0.15em 0 0.15em;
703 background-color: #ddddff;
707 background-color: #ffffff;
710 .mw-datatable tr:hover td {
711 background-color: #eeeeff;
715 * TablePager tables generated by the TablePager PHP class
716 * in MediaWiki (e.g. Special:ListFiles).
732 text-decoration: none
;
740 .imagelist .TablePager_col_links {
741 background-color: #eeeeff;
744 .imagelist .TablePager_col_img_description {
748 .imagelist th.TablePager_sort {
749 background-color: #ccccff;
755 border: 1px solid
#aaaaaa;
756 background-color: #f9f9f9;
759 margin-bottom: 0.5em;
766 list-style-type: none
;
770 /* Classes for Exif data display */
774 margin-bottom: 0.5em;
778 table
.mw_metadata caption
{
782 table
.mw_metadata th
{
786 table
.mw_metadata td
{
792 border-collapse: collapse
;
795 table
.mw_metadata td
,
796 table
.mw_metadata th
{
798 border: 1px solid
#aaaaaa;
803 table
.mw_metadata th
{
804 background-color: #f9f9f9;
807 table
.mw_metadata td
{
808 background-color: #fcfcfc;
811 table
.mw_metadata ul
.metadata-langlist
{
812 list-style-type: none
;
813 list-style-image: none
;
819 /* Correct directionality when page dir is different from site/user dir */
821 .mw-content-rtl .mw-content-ltr ul {
823 margin: 0.3em 0 0 1.6em;
828 .mw-content-ltr .mw-content-rtl ul {
830 margin: 0.3em 1.6em 0 0;
835 .mw-content-rtl .mw-content-ltr ol {
837 margin: 0.3em 0 0 3.2em;
842 .mw-content-ltr .mw-content-rtl ol {
844 margin: 0.3em 3.2em 0 0;
850 .mw-content-rtl .mw-content-ltr dd {
857 .mw-content-ltr .mw-content-rtl dd {
863 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
864 /* Don't forget to update commonPrint.css */
867 display: -moz-inline-box
;
868 display: inline-block
;
887 word-wrap: break-word
;
890 li
.gallerybox div
.thumb
{
892 border: 1px solid
#ccc;
893 background-color: #f9f9f9;
897 li
.gallerybox div
.thumb img
{
906 word-wrap: break-word
;
909 /* new gallery stuff */
910 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
911 background-color: transparent
;
915 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
919 /* height constrained gallery */
921 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
922 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
923 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
924 background-color: transparent
;
928 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
929 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
930 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
934 ul
.mw-gallery-packed-hover li
.gallerybox
,
935 ul
.mw-gallery-packed-overlay li
.gallerybox
{
939 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
944 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
945 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
946 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
949 background: rgba
(255, 255, 255, 0.8);
952 left: 0; /* Needed for IE */
955 margin: 2px; /* correspond to style on div.thumb */
958 ul
.mw-gallery-packed-hover
,
959 ul
.mw-gallery-packed-overlay
,
960 ul
.mw-gallery-packed
{
966 background-image: url
(images
/ajax-loader
.gif
);
967 background-position: center center
;
968 background-repeat: no-repeat
;
975 padding: 10px !important
;
978 background-image: url
(images/spinner.gif);
979 background-position: center center
;
980 background-repeat: no-repeat
;
983 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
984 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
987 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
1006 line-height: 1.6em !important
;
1009 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
1010 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
1011 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
1012 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
1013 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
1014 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
1015 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
1016 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
1017 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
1018 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
1019 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
1020 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
1021 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
1022 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
1023 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
1024 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
1025 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
1026 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
1027 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
1028 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
1029 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
1033 /* Localised ordered list numbering for some languages */
1038 ol:lang
(kk-arab
) li
,
1040 list-style-type: -moz-persian
;
1041 list-style-type: persian
;
1045 list-style-type: -moz-arabic-indic
;
1046 list-style-type: arabic-indic
;
1051 list-style-type: -moz-devanagari
;
1052 list-style-type: devanagari
;
1057 list-style-type: -moz-bengali
;
1058 list-style-type: bengali
;
1062 list-style-type: -moz-oriya
;
1063 list-style-type: oriya
;
1070 /* Correct directionality when page dir is different from site/user dir */
1071 /* @noflip */ .mw-content-ltr
.toc ul
,
1072 .mw-content-ltr #toc ul
,
1073 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1074 .mw-content-rtl .mw-content-ltr #toc ul {
1078 /* @noflip */ .mw-content-rtl
.toc ul
,
1079 .mw-content-rtl #toc ul
,
1080 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1081 .mw-content-ltr .mw-content-rtl #toc ul {
1085 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1086 .mw-content-ltr #toc ul ul
,
1087 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1088 .mw-content-rtl .mw-content-ltr #toc ul ul {
1092 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1093 .mw-content-rtl #toc ul ul
,
1094 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1095 .mw-content-ltr .mw-content-rtl #toc ul ul {
1106 /* tooltip styles */
1107 .mw-help-field-hint {
1110 margin-bottom: -8px;
1111 padding: 0 0 0 15px;
1113 background-image: url
(images
/help-question
.gif
);
1114 background-position: left center
;
1115 background-repeat: no-repeat
;
1118 text-decoration: underline
;
1122 .mw-help-field-hint:hover {
1124 background-image: url
(images
/help-question-hover
.gif
);
1127 .mw-help-field-data {
1129 background-color: #d6f3ff;
1130 padding: 5px 8px 4px 8px;
1131 border: 1px solid
#5dc9f4;
1141 unicode-bidi: embed
;
1144 /* Correct user & content directionality when viewing a diff */
1145 .diff-currentversion-title
,
1148 unicode-bidi: embed
;
1151 /* @noflip */ .diff-contentalign-right td
{
1153 unicode-bidi: embed
;
1156 /* @noflip */ .diff-contentalign-left td
{
1158 unicode-bidi: embed
;
1165 direction: ltr
!important
;
1166 unicode-bidi: embed
;
1170 #mw-revision-info-current,
1178 /* @noflip */ div
.tright
,
1185 /* @noflip */ div
.tleft
,
1201 unicode-bidi: embed
;
1209 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1212 /* Print footer should be hidden by default in screen. */
1217 /* For developers */
1226 -moz-user-select: none
;
1227 -webkit-user-select: none
;
1228 -ms-user-select: none
;
1232 /* Display editsection links smaller and next to headings */
1234 .mw-editsection-like {
1236 font-weight: normal
;
1238 vertical-align: baseline
;
1239 /* Reset line-height; headings tend to have it set to larger values */
1241 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1242 /* of the heading content when selecting text by multiple clicks and thus */
1243 /* selected together with heading content, despite the user-select: none; */
1244 /* rule set above. This enforces non-selection without changing the look. */
1245 display: inline-block
;
1248 /* Correct directionality when page dir is different from site/user dir */
1250 .mw-content-ltr
.mw-editsection
,
1251 .mw-content-rtl .mw-content-ltr .mw-editsection {
1256 .mw-content-rtl
.mw-editsection
,
1257 .mw-content-ltr .mw-content-rtl .mw-editsection {
1261 /* Prevent citations and subscripts from interfering with the line-height */