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.
22 /* Most input fields should be in site direction */
23 .sitedir-ltr textarea
,
28 .sitedir-rtl textarea
,
34 /* User-Agent styles for new HTML5 elements */
36 background-color: yellow
;
40 /* Input types that should follow user direction, like buttons */
41 /* TODO: What about buttons in wikipage content ? */
49 /* Override default values */
61 /* Default style for semantic tags */
64 border-bottom: 1px dotted
;
68 /* Colored watchlist and recent changes numbers */
70 color: #006400; /* dark green */
73 color: #8b0000; /* dark red */
76 color: #aaa; /* gray */
80 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
81 * [[Special:Watchlist/edit]] and in category listings.
84 .redirect-in-category
,
89 /* Comment and username portions of RC entries */
104 vertical-align: middle
;
111 * Add a bit of margin space between the preview and the toolbar.
112 * This replaces the ugly <p><br /></p> we used to insert into the page source
118 /* Stop floats from intruding into edit area in previews */
130 * File description page
133 div
.mw-filepage-resolutioninfo
{
144 table
.filehistory th
,
145 table
.filehistory td
{
148 table
.filehistory th
{
151 table
.filehistory td
.mw-imagepage-filesize
,
152 table
.filehistory th
.mw-imagepage-filesize
{
156 table
.filehistory td
.filehistory-selected
{
161 * Add a checkered background image on hover for file
162 * description pages. (bug 26470)
167 background: white url
(images
/Checker-16x16
.png
) repeat
;
174 span
.history-deleted
{
175 text-decoration: line-through
;
184 background-color: #ffa;
213 .prefsection td.mw-label {
219 .prefsection table.mw-htmlform-matrix {
224 /* SVG support using a transparent gradient to guarantee cross-browser
225 * compatibility (browsers able to understand gradient syntax support also SVG).
226 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
227 background-image: url
(images
/question-small
.png
);
229 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images/question.svg);
231 background-image: linear-gradient
(transparent
, transparent
), url
(images/question.svg);
232 background-repeat: no-repeat
;
233 background-size: 13px 13px;
234 display: inline-block
;
240 .mw-icon-question:lang
(ar
),
241 .mw-icon-question:lang
(fa
),
242 .mw-icon-question:lang(ur) {
243 -webkit-transform: scaleX
(-1);
244 -ms-transform: scaleX
(-1);
245 transform: scaleX
(-1);
252 table
.mw-htmlform-nolabel td
.mw-label
{
256 tr
.mw-htmlform-vertical-label td
.mw-label
{
257 text-align: left
!important
;
260 .mw-htmlform-invalid-input td.mw-input input {
264 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
270 .mw-htmlform-matrix td {
272 padding-right: 0.5em;
284 .mw-content-ltr .thumbcaption {
288 .mw-content-rtl .thumbcaption {
292 .mw-content-ltr .magnify {
296 .mw-content-rtl .magnify {
305 * Overrides text justification (user preference)
315 list-style-type: none
;
316 list-style-image: none
;
317 vertical-align: middle
!ie
;
321 display: inline-block
;
323 border-left: 1px solid
#AAA;
330 .catlinks li:first-child {
331 padding-left: 0.25em;
335 /* (bug 5346) make category redirects italic */
336 .catlinks li a.mw-redirect {
342 .mw-hidden-cats-hidden {
345 .catlinks-allhidden {
349 /* Convenience links to edit block, delete and protect reasons */
350 p
.mw-ipb-conveniencelinks
,
351 p
.mw-protect-editreasons
,
352 p
.mw-filedelete-editreasons
,
353 p
.mw-delete-editreasons
,
354 p
.mw-revdel-editreasons
{
360 * OpenSearch ajax suggestions
369 background-color: white
;
371 border-color: #AAAAAA;
377 table
.os-suggest-results
{
381 border-collapse: collapse
;
386 .os-suggest-result-hl {
388 background-color: white
;
392 .os-suggest-result-hl
,
393 .os-suggest-result-hl-webkit {
394 background-color: #4C59A6;
403 .os-suggest-toggle-def {
411 /* Page history styling */
413 /* The auto-generated edit comments */
417 #pagehistory .history-user
{
421 #pagehistory span
.minor
{
425 border: 1px solid white
;
427 #pagehistory li
.selected
{
428 background-color: #f9f9f9;
429 border: 1px dashed
#aaa;
432 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
436 /** Generic minor/bot/newpage styling (recent changes) */
444 #shared-image-conflict {
449 * Recreating deleted page warning
450 * Reupload file warning
451 * Page protection warning
452 * incl. log entries for these warnings
454 div
.mw-warning-with-logexcerpt
{
457 border: 2px solid
#2F6FAB;
460 div
.mw-warning-with-logexcerpt ul li
{
464 /* (show/hide) revision deletion links */
465 span
.mw-revdelundel-link
,
466 strong
.mw-revdelundel-link
{
469 span
.mw-revdelundel-hidden
,
470 input
.mw-revdelundel-hidden
{
474 td
.mw-revdel-checkbox
,
475 th
.mw-revdel-checkbox
{
480 /* red links; see bug 36276 */
487 /* SVG support using a transparent gradient to guarantee cross-browser
488 * compatibility (browsers able to understand gradient syntax support also SVG).
489 * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
490 background-image: url
(images
/feed-icon
.png
);
492 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
494 background-image: linear-gradient
(transparent
, transparent
), url
(images
/feed-icon
.svg
);
495 background-position: center left
;
496 background-repeat: no-repeat
;
497 background-size: 12px 12px;
501 /* Plainlinks - this can be used to switch
502 * off special external link styling */
504 background: none
!important
;
505 padding: 0 !important
;
507 /* External URLs should always be treated as LTR (bug 4330) */
508 /* @noflip */ .rtl a
.external
.free
,
509 .rtl a.external.autonumber {
515 * wikitable class for skinning normal tables
516 * keep in sync with commonPrint.css
520 background-color: #f9f9f9;
521 border: 1px #aaa solid
;
522 border-collapse: collapse
;
525 table
.wikitable
> tr
> th
,
526 table
.wikitable
> tr
> td
,
527 table
.wikitable
> * > tr
> th
,
528 table
.wikitable
> * > tr
> td
{
529 border: 1px #aaa solid
;
532 table
.wikitable
> tr
> th
,
533 table
.wikitable
> * > tr
> th
{
534 background-color: #f2f2f2;
537 table
.wikitable
> caption
{
542 * Hide collapsable rows in a collapsed table.
544 * Used by ImagePage and the mediawiki.action.view.metadata module.
546 table
.collapsed tr
.collapsable
{
550 /* success and error messages */
572 display: -moz-inline-block
;
573 display: inline-block
;
589 border-color: #fac5c5;
590 background-color: #fae3e3;
594 border-color: #fde29b;
595 background-color: #fdf1d1;
599 border-color: #b7fdb5;
600 background-color: #e1fddf;
603 /* general info/warning box for SP */
605 border: 2px solid
#ff7f00;
618 margin: 0.5em 0.5em 0.5em 49px;
621 /* Note on preview page */
639 * Transparent table with suddle borders
640 * and blue row-highlighting.
643 border-collapse: collapse
;
648 border: 1px solid
#aaaaaa;
649 padding: 0 0.15em 0 0.15em;
652 background-color: #ddddff;
655 background-color: #ffffff;
657 .mw-datatable tr:hover td {
658 background-color: #eeeeff;
663 * TablePager tables generated by the TablePager PHP class
664 * in MediaWiki (e.g. Special:ListFiles).
677 text-decoration: none
;
684 .imagelist .TablePager_col_links {
685 background-color: #eeeeff;
687 .imagelist .TablePager_col_img_description {
690 .imagelist th.TablePager_sort {
691 background-color: #ccccff;
697 border: 1px solid
#aaaaaa;
698 background-color: #f9f9f9;
701 margin-bottom: 0.5em;
708 list-style-type: none
;
712 /* Classes for Exif data display */
716 margin-bottom: 0.5em;
720 table
.mw_metadata caption
{
724 table
.mw_metadata th
{
728 table
.mw_metadata td
{
734 border-collapse: collapse
;
737 table
.mw_metadata td
,
738 table
.mw_metadata th
{
740 border: 1px solid
#aaaaaa;
745 table
.mw_metadata th
{
746 background-color: #f9f9f9;
749 table
.mw_metadata td
{
750 background-color: #fcfcfc;
753 table
.mw_metadata ul
.metadata-langlist
{
754 list-style-type: none
;
755 list-style-image: none
;
761 /* Correct directionality when page dir is different from site/user dir */
763 .mw-content-rtl .mw-content-ltr ul {
765 margin: 0.3em 0 0 1.6em;
769 .mw-content-ltr .mw-content-rtl ul {
771 margin: 0.3em 1.6em 0 0;
775 .mw-content-rtl .mw-content-ltr ol {
777 margin: 0.3em 0 0 3.2em;
781 .mw-content-ltr .mw-content-rtl ol {
783 margin: 0.3em 3.2em 0 0;
788 .mw-content-rtl .mw-content-ltr dd {
794 .mw-content-ltr .mw-content-rtl dd {
800 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
801 /* Don't forget to update commonPrint.css */
804 display: -moz-inline-box
;
805 display: inline-block
;
824 word-wrap: break-word
;
827 li
.gallerybox div
.thumb
{
829 border: 1px solid
#ccc;
830 background-color: #f9f9f9;
834 li
.gallerybox div
.thumb img
{
843 word-wrap: break-word
;
846 /* new gallery stuff */
847 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
848 background-color: transparent
;
852 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
856 /* height constrained gallery */
858 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
859 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
860 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
861 background-color: transparent
;
864 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
865 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
866 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
870 ul
.mw-gallery-packed-hover li
.gallerybox
,
871 ul
.mw-gallery-packed-overlay li
.gallerybox
{
875 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
880 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
881 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
882 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
885 filter:alpha
(opacity
=80);
887 background-color:white
;
890 left: 0; /* Needed for IE */
893 margin: 2px; /* correspond to style on div.thumb */
896 ul
.mw-gallery-packed-hover
,
897 ul
.mw-gallery-packed-overlay
,
898 ul
.mw-gallery-packed
{
902 ul
.mw-gallery-packed-hover div
.gallerytext
,
903 ul
.mw-gallery-packed-overlay div
.gallerytext
{
905 position: relative
; /* Resets opacity in old IE */
911 background-image: url
(images
/ajax-loader
.gif
);
912 background-position: center center
;
913 background-repeat: no-repeat
;
920 padding: 10px !important
;
923 background-image: url
(images/spinner.gif);
924 background-position: center center
;
925 background-repeat: no-repeat
;
928 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
929 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
932 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
951 line-height: 1.6em !important
;
953 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
954 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
955 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
956 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
957 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
958 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
959 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
960 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
961 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
962 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
963 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
964 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
965 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
966 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
967 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
968 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
969 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
970 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
971 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
972 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
973 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
977 /* Localised ordered list numbering for some languages */
984 list-style-type: -moz-persian
;
985 list-style-type: persian
;
989 list-style-type: -moz-arabic-indic
;
990 list-style-type: arabic-indic
;
995 list-style-type: -moz-devanagari
;
996 list-style-type: devanagari
;
1001 list-style-type: -moz-bengali
;
1002 list-style-type: bengali
;
1006 list-style-type: -moz-oriya
;
1007 list-style-type: oriya
;
1014 /* Correct directionality when page dir is different from site/user dir */
1015 /* @noflip */ .mw-content-ltr
.toc ul
,
1016 .mw-content-ltr #toc ul
,
1017 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1018 .mw-content-rtl .mw-content-ltr #toc ul {
1021 /* @noflip */ .mw-content-rtl
.toc ul
,
1022 .mw-content-rtl #toc ul
,
1023 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1024 .mw-content-ltr .mw-content-rtl #toc ul {
1027 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1028 .mw-content-ltr #toc ul ul
,
1029 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1030 .mw-content-rtl .mw-content-ltr #toc ul ul {
1033 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1034 .mw-content-rtl #toc ul ul
,
1035 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1036 .mw-content-ltr .mw-content-rtl #toc ul ul {
1047 /* tooltip styles */
1048 .mw-help-field-hint {
1051 margin-bottom: -8px;
1052 padding: 0 0 0 15px;
1054 background-image: url
(images
/help-question
.gif
);
1055 background-position: left center
;
1056 background-repeat: no-repeat
;
1059 text-decoration: underline
;
1062 .mw-help-field-hint:hover {
1064 background-image: url
(images
/help-question-hover
.gif
);
1066 .mw-help-field-data {
1068 background-color: #d6f3ff;
1069 padding:5px 8px 4px 8px;
1070 border: 1px solid
#5dc9f4;
1074 padding: 5px 5px 10px;
1081 padding: 5px 8px 4px 8px;
1082 background-color: #d6f3ff;
1084 border: 1px solid
#5dc9f4;
1091 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1095 .tipsy-se .tipsy-arrow {
1098 background-position: 0% 100%;
1107 unicode-bidi: embed
;
1110 /* Correct user & content directionality when viewing a diff */
1111 .diff-currentversion-title
,
1114 unicode-bidi: embed
;
1116 /* @noflip */ .diff-contentalign-right td
{
1118 unicode-bidi: embed
;
1120 /* @noflip */ .diff-contentalign-left td
{
1122 unicode-bidi: embed
;
1128 direction: ltr
!important
;
1129 unicode-bidi: embed
;
1133 #mw-revision-info-current,
1141 /* @noflip */ div
.tright
,
1147 /* @noflip */ div
.tleft
,
1162 unicode-bidi: embed
;
1170 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1173 /* Print footer should be hidden by default in screen. */
1178 /* For developers */
1187 -moz-user-select: none
;
1188 -webkit-user-select: none
;
1189 -ms-user-select: none
;
1193 /* Display editsection links smaller and next to headings */
1195 .mw-editsection-like {
1197 font-weight: normal
;
1199 vertical-align: baseline
;
1200 /* Reset line-height; headings tend to have it set to larger values */
1202 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1203 /* of the heading content when selecting text by multiple clicks and thus */
1204 /* selected together with heading content, despite the user-select: none; */
1205 /* rule set above. This enforces non-selection without changing the look. */
1206 display: inline-block
;
1209 /* Correct directionality when page dir is different from site/user dir */
1211 .mw-content-ltr
.mw-editsection
,
1212 .mw-content-rtl .mw-content-ltr .mw-editsection {
1216 .mw-content-rtl
.mw-editsection
,
1217 .mw-content-ltr .mw-content-rtl .mw-editsection {