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
;
837 background-image: url
(images
/ajax-loader
.gif
);
838 background-position: center center
;
839 background-repeat: no-repeat
;
846 padding: 10px !important
;
849 background-image: url
(images/spinner.gif);
850 background-position: center center
;
851 background-repeat: no-repeat
;
854 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
855 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
858 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
877 line-height: 1.6em !important
;
879 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
880 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
881 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
882 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
883 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
884 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
885 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
886 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
887 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
888 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
889 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
890 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
891 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
892 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
893 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
894 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
895 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
896 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
897 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
898 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
899 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
903 /* Localised ordered list numbering for some languages */
910 list-style-type: -moz-persian
;
911 list-style-type: persian
;
915 list-style-type: -moz-arabic-indic
;
916 list-style-type: arabic-indic
;
921 list-style-type: -moz-devanagari
;
922 list-style-type: devanagari
;
927 list-style-type: -moz-bengali
;
928 list-style-type: bengali
;
932 list-style-type: -moz-oriya
;
933 list-style-type: oriya
;
940 /* Correct directionality when page dir is different from site/user dir */
941 /* @noflip */ .mw-content-ltr
.toc ul
,
942 .mw-content-ltr #toc ul
,
943 .mw-content-rtl
.mw-content-ltr
.toc ul
,
944 .mw-content-rtl .mw-content-ltr #toc ul {
947 /* @noflip */ .mw-content-rtl
.toc ul
,
948 .mw-content-rtl #toc ul
,
949 .mw-content-ltr
.mw-content-rtl
.toc ul
,
950 .mw-content-ltr .mw-content-rtl #toc ul {
953 /* @noflip */ .mw-content-ltr
.toc ul ul
,
954 .mw-content-ltr #toc ul ul
,
955 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
956 .mw-content-rtl .mw-content-ltr #toc ul ul {
959 /* @noflip */ .mw-content-rtl
.toc ul ul
,
960 .mw-content-rtl #toc ul ul
,
961 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
962 .mw-content-ltr .mw-content-rtl #toc ul ul {
974 .mw-help-field-hint {
980 background-image: url
('images/help-question.gif');
981 background-position: left center
;
982 background-repeat: no-repeat
;
985 text-decoration: underline
;
988 .mw-help-field-hint:hover {
990 background-image: url
('images/help-question-hover.gif');
992 .mw-help-field-data {
994 background-color: #d6f3ff;
995 padding:5px 8px 4px 8px;
996 border: 1px solid
#5dc9f4;
1000 padding: 5px 5px 10px;
1007 padding: 5px 8px 4px 8px;
1008 background-color: #d6f3ff;
1010 border: 1px solid
#5dc9f4;
1017 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1021 .tipsy-se .tipsy-arrow {
1024 background-position: 0% 100%;
1033 unicode-bidi: embed
;
1036 /* Correct user & content directionality when viewing a diff */
1037 .diff-currentversion-title
,
1040 unicode-bidi: embed
;
1042 /* @noflip */ .diff-contentalign-right td
{
1044 unicode-bidi: embed
;
1046 /* @noflip */ .diff-contentalign-left td
{
1048 unicode-bidi: embed
;
1053 direction: ltr
!important
;
1054 unicode-bidi: embed
;
1058 #mw-revision-info-current,
1066 /* @noflip */ div
.tright
,
1072 /* @noflip */ div
.tleft
,
1087 unicode-bidi: embed
;
1095 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1098 /* Print footer should be hidden by default in screen. */
1103 /* For developpers */
1111 -moz-user-select: none
;
1112 -webkit-user-select: none
;
1113 -ms-user-select: none
;
1117 /* Display editsection links smaller and next to headings */
1120 font-weight: normal
;
1122 vertical-align: baseline
;
1123 /* Reset line-height; headings tend to have it set to larger values */
1125 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1126 /* of the heading content when selecting text by multiple clicks and thus */
1127 /* selected together with heading content, despite the user-select: none; */
1128 /* rule set above. This enforces non-selection without changing the look. */
1129 display: inline-block
;
1132 /* Correct directionality when page dir is different from site/user dir */
1134 .mw-content-ltr
.mw-editsection
,
1135 .mw-content-rtl .mw-content-ltr .mw-editsection {
1139 .mw-content-rtl
.mw-editsection
,
1140 .mw-content-ltr .mw-content-rtl .mw-editsection {