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 */
65 border-bottom: 1px dotted
;
69 /* Colored watchlist and recent changes numbers */
71 color: #006400; /* dark green */
74 color: #8b0000; /* dark red */
77 color: #aaa; /* gray */
81 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
82 * [[Special:Watchlist/edit]] and in category listings.
85 .redirect-in-category
,
90 /* Comment and username portions of RC entries */
105 vertical-align: middle
;
112 * Add a bit of margin space between the preview and the toolbar.
113 * This replaces the ugly <p><br /></p> we used to insert into the page source
119 /* Stop floats from intruding into edit area in previews */
131 * File description page
134 div
.mw-filepage-resolutioninfo
{
145 table
.filehistory th
,
146 table
.filehistory td
{
149 table
.filehistory th
{
152 table
.filehistory td
.mw-imagepage-filesize
,
153 table
.filehistory th
.mw-imagepage-filesize
{
157 table
.filehistory td
.filehistory-selected
{
162 * Add a checkered background image on hover for file
163 * description pages. (bug 26470)
168 background: white url
(images
/Checker-16x16
.png
) repeat
;
175 span
.history-deleted
{
176 text-decoration: line-through
;
185 background-color: #ffa;
214 .prefsection td.mw-label {
220 .prefsection table.mw-htmlform-matrix {
226 background: url
('images/question-small.png') no-repeat
;
227 /* SVG support using a transparent gradient to guarantee cross-browser
228 * compatibility (browsers able to understand gradient syntax support also SVG)
229 * lifted from #pt-login css rule in skins/vector/screen.css */
231 background: -webkit-linear-gradient
(transparent
, transparent
), url
('images/question.svg') no-repeat
;
233 background: linear-gradient
(transparent
, transparent
), url
('images/question.svg') no-repeat
;
234 background-size: 13px 13px;
235 display: inline-block
;
241 .mw-icon-question:lang
(ar
),
242 .mw-icon-question:lang
(fa
),
243 .mw-icon-question:lang(ur) {
244 -webkit-transform: scaleX
(-1);
245 -ms-transform: scaleX
(-1);
246 transform: scaleX
(-1);
253 table
.mw-htmlform-nolabel td
.mw-label
{
257 tr
.mw-htmlform-vertical-label td
.mw-label
{
258 text-align: left
!important
;
261 .mw-htmlform-invalid-input td.mw-input input {
265 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
271 .mw-htmlform-matrix td {
273 padding-right: 0.5em;
285 .mw-content-ltr .thumbcaption {
289 .mw-content-rtl .thumbcaption {
293 .mw-content-ltr .magnify {
297 .mw-content-rtl .magnify {
306 * Overrides text justification (user preference)
316 list-style-type: none
;
317 list-style-image: none
;
318 vertical-align: middle
!ie
;
322 display: inline-block
;
324 border-left: 1px solid
#AAA;
331 .catlinks li:first-child {
332 padding-left: 0.25em;
336 /* (bug 5346) make category redirects italic */
337 .catlinks li a.mw-redirect {
343 .mw-hidden-cats-hidden {
346 .catlinks-allhidden {
350 /* Convenience links to edit block, delete and protect reasons */
351 p
.mw-ipb-conveniencelinks
,
352 p
.mw-protect-editreasons
,
353 p
.mw-filedelete-editreasons
,
354 p
.mw-delete-editreasons
,
355 p
.mw-revdel-editreasons
{
361 * OpenSearch ajax suggestions
370 background-color: white
;
372 border-color: #AAAAAA;
378 table
.os-suggest-results
{
382 border-collapse: collapse
;
387 .os-suggest-result-hl {
389 background-color: white
;
393 .os-suggest-result-hl
,
394 .os-suggest-result-hl-webkit {
395 background-color: #4C59A6;
404 .os-suggest-toggle-def {
412 /* Page history styling */
414 /* The auto-generated edit comments */
418 #pagehistory .history-user
{
422 #pagehistory span
.minor
{
426 border: 1px solid white
;
428 #pagehistory li
.selected
{
429 background-color: #f9f9f9;
430 border: 1px dashed
#aaa;
433 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
437 /** Generic minor/bot/newpage styling (recent changes) */
445 #shared-image-conflict {
450 * Recreating deleted page warning
451 * Reupload file warning
452 * Page protection warning
453 * incl. log entries for these warnings
455 div
.mw-warning-with-logexcerpt
{
458 border: 2px solid
#2F6FAB;
461 div
.mw-warning-with-logexcerpt ul li
{
465 /* (show/hide) revision deletion links */
466 span
.mw-revdelundel-link
,
467 strong
.mw-revdelundel-link
{
470 span
.mw-revdelundel-hidden
,
471 input
.mw-revdelundel-hidden
{
475 td
.mw-revdel-checkbox
,
476 th
.mw-revdel-checkbox
{
481 /* red links; see bug 36276 */
489 background: url
(images
/feed-icon
.png
) center left no-repeat
;
493 /* Plainlinks - this can be used to switch
494 * off special external link styling */
496 background: none
!important
;
497 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
;
517 table
.wikitable
> tr
> th
,
518 table
.wikitable
> tr
> td
,
519 table
.wikitable
> * > tr
> th
,
520 table
.wikitable
> * > tr
> td
{
521 border: 1px #aaa solid
;
524 table
.wikitable
> tr
> th
,
525 table
.wikitable
> * > tr
> th
{
526 background-color: #f2f2f2;
529 table
.wikitable
> caption
{
533 /* hide initially collapsed collapsable tables */
534 table
.collapsed tr
.collapsable
{
538 /* success and error messages */
544 color: #FFA500; /* orange */
559 display: -moz-inline-block
;
560 display: inline-block
;
566 background-color: #fff2f2;
569 border-color: #FF8C00; /* darkorange */
570 background-color: #FFFFC0;
574 background-color: #dfd;
586 /* general info/warning box for SP */
588 border: 2px solid
#ff7f00;
601 margin: 0.5em 0.5em 0.5em 49px;
604 /* Note on preview page */
620 border: solid
1px #bbbbff;
621 background-color: #eeeeff;
628 * Transparent table with suddle borders
629 * and blue row-highlighting.
632 border-collapse: collapse
;
637 border: 1px solid
#aaaaaa;
638 padding: 0 0.15em 0 0.15em;
641 background-color: #ddddff;
644 background-color: #ffffff;
646 .mw-datatable tr:hover td {
647 background-color: #eeeeff;
652 * TablePager tables generated by the TablePager PHP class
653 * in MediaWiki (e.g. Special:ListFiles).
666 text-decoration: none
;
673 .imagelist .TablePager_col_links {
674 background-color: #eeeeff;
676 .imagelist .TablePager_col_img_description {
679 .imagelist th.TablePager_sort {
680 background-color: #ccccff;
686 border: 1px solid
#aaaaaa;
687 background-color: #f9f9f9;
690 margin-bottom: 0.5em;
697 list-style-type: none
;
701 /* Classes for Exif data display */
705 margin-bottom: 0.5em;
709 table
.mw_metadata caption
{
713 table
.mw_metadata th
{
717 table
.mw_metadata td
{
723 border-collapse: collapse
;
726 table
.mw_metadata td
,
727 table
.mw_metadata th
{
729 border: 1px solid
#aaaaaa;
734 table
.mw_metadata th
{
735 background-color: #f9f9f9;
738 table
.mw_metadata td
{
739 background-color: #fcfcfc;
742 table
.mw_metadata ul
.metadata-langlist
{
743 list-style-type: none
;
744 list-style-image: none
;
750 /* Correct directionality when page dir is different from site/user dir */
752 .mw-content-rtl .mw-content-ltr ul {
754 margin: 0.3em 0 0 1.6em;
758 .mw-content-ltr .mw-content-rtl ul {
760 margin: 0.3em 1.6em 0 0;
764 .mw-content-rtl .mw-content-ltr ol {
766 margin: 0.3em 0 0 3.2em;
770 .mw-content-ltr .mw-content-rtl ol {
772 margin: 0.3em 3.2em 0 0;
777 .mw-content-rtl .mw-content-ltr dd {
783 .mw-content-ltr .mw-content-rtl dd {
789 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
790 /* Don't forget to update commonPrint.css */
793 display: -moz-inline-box
;
794 display: inline-block
;
813 word-wrap: break-word
;
816 li
.gallerybox div
.thumb
{
818 border: 1px solid
#ccc;
819 background-color: #f9f9f9;
823 li
.gallerybox div
.thumb img
{
832 word-wrap: break-word
;
835 /* new gallery stuff */
836 ul
.mw-gallery-nolines li
.gallerybox div
.thumb
{
837 background-color: transparent
;
841 ul
.mw-gallery-nolines li
.gallerybox div
.gallerytext
{
845 /* height constrained gallery */
847 ul
.mw-gallery-packed li
.gallerybox div
.thumb
,
848 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb
,
849 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb
{
850 background-color: transparent
;
853 ul
.mw-gallery-packed li
.gallerybox div
.thumb img
,
854 ul
.mw-gallery-packed-overlay li
.gallerybox div
.thumb img
,
855 ul
.mw-gallery-packed-hover li
.gallerybox div
.thumb img
{
859 ul
.mw-gallery-packed-hover li
.gallerybox
,
860 ul
.mw-gallery-packed-overlay li
.gallerybox
{
864 ul
.mw-gallery-packed-hover div
.gallerytextwrapper
{
869 ul
.mw-gallery-packed-hover li
.gallerybox:hover div
.gallerytextwrapper
,
870 ul
.mw-gallery-packed-overlay li
.gallerybox div
.gallerytextwrapper
,
871 ul
.mw-gallery-packed-hover li
.gallerybox
.mw-gallery-focused div
.gallerytextwrapper
{
874 filter:alpha
(opacity
=80);
876 background-color:white
;
879 left: 0; /* Needed for IE */
882 margin: 2px; /* correspond to style on div.thumb */
885 ul
.mw-gallery-packed-hover
,
886 ul
.mw-gallery-packed-overlay
,
887 ul
.mw-gallery-packed
{
891 ul
.mw-gallery-packed-hover div
.gallerytext
,
892 ul
.mw-gallery-packed-overlay div
.gallerytext
{
894 position: relative
; /* Resets opacity in old IE */
900 background-image: url
(images
/ajax-loader
.gif
);
901 background-position: center center
;
902 background-repeat: no-repeat
;
909 padding: 10px !important
;
912 background-image: url
(images/spinner.gif);
913 background-position: center center
;
914 background-repeat: no-repeat
;
917 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
918 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
921 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
940 line-height: 1.6em !important
;
942 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
943 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
944 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
945 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
946 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
947 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
948 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
949 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
950 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
951 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
952 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
953 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
954 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
955 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
956 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
957 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
958 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
959 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
960 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
961 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
962 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
966 /* Localised ordered list numbering for some languages */
973 list-style-type: -moz-persian
;
974 list-style-type: persian
;
978 list-style-type: -moz-arabic-indic
;
979 list-style-type: arabic-indic
;
984 list-style-type: -moz-devanagari
;
985 list-style-type: devanagari
;
990 list-style-type: -moz-bengali
;
991 list-style-type: bengali
;
995 list-style-type: -moz-oriya
;
996 list-style-type: oriya
;
1003 /* Correct directionality when page dir is different from site/user dir */
1004 /* @noflip */ .mw-content-ltr
.toc ul
,
1005 .mw-content-ltr #toc ul
,
1006 .mw-content-rtl
.mw-content-ltr
.toc ul
,
1007 .mw-content-rtl .mw-content-ltr #toc ul {
1010 /* @noflip */ .mw-content-rtl
.toc ul
,
1011 .mw-content-rtl #toc ul
,
1012 .mw-content-ltr
.mw-content-rtl
.toc ul
,
1013 .mw-content-ltr .mw-content-rtl #toc ul {
1016 /* @noflip */ .mw-content-ltr
.toc ul ul
,
1017 .mw-content-ltr #toc ul ul
,
1018 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
1019 .mw-content-rtl .mw-content-ltr #toc ul ul {
1022 /* @noflip */ .mw-content-rtl
.toc ul ul
,
1023 .mw-content-rtl #toc ul ul
,
1024 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
1025 .mw-content-ltr .mw-content-rtl #toc ul ul {
1036 /* tooltip styles */
1037 .mw-help-field-hint {
1040 margin-bottom: -8px;
1041 padding: 0 0 0 15px;
1043 background-image: url
('images/help-question.gif');
1044 background-position: left center
;
1045 background-repeat: no-repeat
;
1048 text-decoration: underline
;
1051 .mw-help-field-hint:hover {
1053 background-image: url
('images/help-question-hover.gif');
1055 .mw-help-field-data {
1057 background-color: #d6f3ff;
1058 padding:5px 8px 4px 8px;
1059 border: 1px solid
#5dc9f4;
1063 padding: 5px 5px 10px;
1070 padding: 5px 8px 4px 8px;
1071 background-color: #d6f3ff;
1073 border: 1px solid
#5dc9f4;
1080 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1084 .tipsy-se .tipsy-arrow {
1087 background-position: 0% 100%;
1096 unicode-bidi: embed
;
1099 /* Correct user & content directionality when viewing a diff */
1100 .diff-currentversion-title
,
1103 unicode-bidi: embed
;
1105 /* @noflip */ .diff-contentalign-right td
{
1107 unicode-bidi: embed
;
1109 /* @noflip */ .diff-contentalign-left td
{
1111 unicode-bidi: embed
;
1117 direction: ltr
!important
;
1118 unicode-bidi: embed
;
1122 #mw-revision-info-current,
1130 /* @noflip */ div
.tright
,
1136 /* @noflip */ div
.tleft
,
1151 unicode-bidi: embed
;
1159 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1162 /* Print footer should be hidden by default in screen. */
1167 /* For developpers */
1175 -moz-user-select: none
;
1176 -webkit-user-select: none
;
1177 -ms-user-select: none
;
1181 /* Display editsection links smaller and next to headings */
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 {
1203 .mw-content-rtl
.mw-editsection
,
1204 .mw-content-ltr .mw-content-rtl .mw-editsection {