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 */
130 /* Edit section links */
131 /* Correct directionality when page dir is different from site/user dir */
133 .mw-content-ltr
.editsection
,
134 .mw-content-rtl .mw-content-ltr .editsection {
139 .mw-content-rtl
.editsection
,
140 .mw-content-ltr .mw-content-rtl .editsection {
146 * File description page
149 div
.mw-filepage-resolutioninfo
{
160 table
.filehistory th
,
161 table
.filehistory td
{
164 table
.filehistory th
{
167 table
.filehistory td
.mw-imagepage-filesize
,
168 table
.filehistory th
.mw-imagepage-filesize
{
172 table
.filehistory td
.filehistory-selected
{
177 * Add a checkered background image on hover for file
178 * description pages. (bug 26470)
183 background: white url
(images
/Checker-16x16
.png
) repeat
;
190 span
.history-deleted
{
191 text-decoration: line-through
;
200 background-color: #ffa;
229 .prefsection td.mw-label {
235 .prefsection table.mw-htmlform-matrix {
241 background: url
('images/question-small.png') no-repeat
;
242 /* SVG support using a transparent gradient to guarantee cross-browser
243 * compatibility (browsers able to understand gradient syntax support also SVG)
244 * lifted from #pt-login css rule in skins/vector/screen.css */
246 background: -webkit-linear-gradient
(transparent
, transparent
), url
('images/question.svg') no-repeat
;
248 background: linear-gradient
(transparent
, transparent
), url
('images/question.svg') no-repeat
;
249 background-size: 13px 13px;
250 display: inline-block
;
256 .mw-icon-question:lang
(ar
),
257 .mw-icon-question:lang
(fa
),
258 .mw-icon-question:lang(ur) {
259 -webkit-transform: scaleX
(-1);
260 -ms-transform: scaleX
(-1);
261 transform: scaleX
(-1);
268 table
.mw-htmlform-nolabel td
.mw-label
{
272 tr
.mw-htmlform-vertical-label td
.mw-label
{
273 text-align: left
!important
;
276 .mw-htmlform-invalid-input td.mw-input input {
280 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
286 .mw-htmlform-matrix td {
288 padding-right: 0.5em;
300 .mw-content-ltr .thumbcaption {
304 .mw-content-rtl .thumbcaption {
308 .mw-content-ltr .magnify {
312 .mw-content-rtl .magnify {
321 * Overrides text justification (user preference)
331 list-style-type: none
;
332 list-style-image: none
;
333 vertical-align: middle
!ie
;
337 display: inline-block
;
339 border-left: 1px solid
#AAA;
346 .catlinks li:first-child {
347 padding-left: 0.25em;
351 /* (bug 5346) make category redirects italic */
352 .catlinks li a.mw-redirect {
358 .mw-hidden-cats-hidden {
361 .catlinks-allhidden {
365 /* Convenience links to edit block, delete and protect reasons */
366 p
.mw-ipb-conveniencelinks
,
367 p
.mw-protect-editreasons
,
368 p
.mw-filedelete-editreasons
,
369 p
.mw-delete-editreasons
,
370 p
.mw-revdel-editreasons
{
376 * OpenSearch ajax suggestions
385 background-color: white
;
387 border-color: #AAAAAA;
393 table
.os-suggest-results
{
397 border-collapse: collapse
;
402 .os-suggest-result-hl {
404 background-color: white
;
408 .os-suggest-result-hl
,
409 .os-suggest-result-hl-webkit {
410 background-color: #4C59A6;
419 .os-suggest-toggle-def {
427 /* Page history styling */
429 /* The auto-generated edit comments */
433 #pagehistory .history-user
{
437 #pagehistory span
.minor
{
441 border: 1px solid white
;
443 #pagehistory li
.selected
{
444 background-color: #f9f9f9;
445 border: 1px dashed
#aaa;
448 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
452 /** Generic minor/bot/newpage styling (recent changes) */
460 #shared-image-conflict {
465 * Recreating deleted page warning
466 * Reupload file warning
467 * Page protection warning
468 * incl. log entries for these warnings
470 div
.mw-warning-with-logexcerpt
{
473 border: 2px solid
#2F6FAB;
476 div
.mw-warning-with-logexcerpt ul li
{
480 /* (show/hide) revision deletion links */
481 span
.mw-revdelundel-link
,
482 strong
.mw-revdelundel-link
{
485 span
.mw-revdelundel-hidden
,
486 input
.mw-revdelundel-hidden
{
490 td
.mw-revdel-checkbox
,
491 th
.mw-revdel-checkbox
{
496 /* red links; see bug 36276 */
504 background: url
(images
/feed-icon
.png
) center left no-repeat
;
508 /* Plainlinks - this can be used to switch
509 * off special external link styling */
511 background: none
!important
;
512 padding: 0 !important
;
514 /* External URLs should always be treated as LTR (bug 4330) */
515 /* @noflip */ .rtl a
.external
.free
,
516 .rtl a.external.autonumber {
522 * wikitable class for skinning normal tables
523 * keep in sync with commonPrint.css
527 background-color: #f9f9f9;
528 border: 1px #aaa solid
;
529 border-collapse: collapse
;
532 table
.wikitable
> tr
> th
,
533 table
.wikitable
> tr
> td
,
534 table
.wikitable
> * > tr
> th
,
535 table
.wikitable
> * > tr
> td
{
536 border: 1px #aaa solid
;
539 table
.wikitable
> tr
> th
,
540 table
.wikitable
> * > tr
> th
{
541 background-color: #f2f2f2;
544 table
.wikitable
> caption
{
548 /* hide initially collapsed collapsable tables */
549 table
.collapsed tr
.collapsable
{
553 /* success and error messages */
559 color: #FFA500; /* orange */
574 display: -moz-inline-block
;
575 display: inline-block
;
581 background-color: #fff2f2;
584 border-color: #FF8C00; /* darkorange */
585 background-color: #FFFFC0;
589 background-color: #dfd;
601 /* general info/warning box for SP */
603 border: 2px solid
#ff7f00;
616 margin: 0.5em 0.5em 0.5em 49px;
619 /* Note on preview page */
635 border: solid
1px #bbbbff;
636 background-color: #eeeeff;
643 * Transparent table with suddle borders
644 * and blue row-highlighting.
647 border-collapse: collapse
;
652 border: 1px solid
#aaaaaa;
653 padding: 0 0.15em 0 0.15em;
656 background-color: #ddddff;
659 background-color: #ffffff;
661 .mw-datatable tr:hover td {
662 background-color: #eeeeff;
667 * TablePager tables generated by the TablePager PHP class
668 * in MediaWiki (e.g. Special:ListFiles).
681 text-decoration: none
;
688 .imagelist .TablePager_col_links {
689 background-color: #eeeeff;
691 .imagelist .TablePager_col_img_description {
694 .imagelist th.TablePager_sort {
695 background-color: #ccccff;
701 border: 1px solid
#aaaaaa;
702 background-color: #f9f9f9;
705 margin-bottom: 0.5em;
712 list-style-type: none
;
716 /* Classes for Exif data display */
720 margin-bottom: 0.5em;
724 table
.mw_metadata caption
{
728 table
.mw_metadata th
{
732 table
.mw_metadata td
{
738 border-collapse: collapse
;
741 table
.mw_metadata td
,
742 table
.mw_metadata th
{
744 border: 1px solid
#aaaaaa;
749 table
.mw_metadata th
{
750 background-color: #f9f9f9;
753 table
.mw_metadata td
{
754 background-color: #fcfcfc;
757 table
.mw_metadata ul
.metadata-langlist
{
758 list-style-type: none
;
759 list-style-image: none
;
765 /* Correct directionality when page dir is different from site/user dir */
767 .mw-content-rtl .mw-content-ltr ul {
769 margin: 0.3em 0 0 1.6em;
773 .mw-content-ltr .mw-content-rtl ul {
775 margin: 0.3em 1.6em 0 0;
779 .mw-content-rtl .mw-content-ltr ol {
781 margin: 0.3em 0 0 3.2em;
785 .mw-content-ltr .mw-content-rtl ol {
787 margin: 0.3em 3.2em 0 0;
792 .mw-content-rtl .mw-content-ltr dd {
798 .mw-content-ltr .mw-content-rtl dd {
804 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
805 /* Don't forget to update commonPrint.css */
808 display: -moz-inline-box
;
809 display: inline-block
;
828 word-wrap: break-word
;
831 li
.gallerybox div
.thumb
{
833 border: 1px solid
#ccc;
834 background-color: #f9f9f9;
838 li
.gallerybox div
.thumb img
{
847 word-wrap: break-word
;
852 background-image: url
(images
/ajax-loader
.gif
);
853 background-position: center center
;
854 background-repeat: no-repeat
;
861 padding: 10px !important
;
864 background-image: url
(images/spinner.gif);
865 background-position: center center
;
866 background-repeat: no-repeat
;
869 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
870 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
873 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
892 line-height: 1.6em !important
;
894 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
895 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
896 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
897 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
898 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
899 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
900 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
901 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
902 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
903 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
904 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
905 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
906 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
907 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
908 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
909 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
910 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
911 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
912 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
913 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
914 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
918 /* Localised ordered list numbering for some languages */
925 list-style-type: -moz-persian
;
926 list-style-type: persian
;
930 list-style-type: -moz-arabic-indic
;
931 list-style-type: arabic-indic
;
936 list-style-type: -moz-devanagari
;
937 list-style-type: devanagari
;
942 list-style-type: -moz-bengali
;
943 list-style-type: bengali
;
947 list-style-type: -moz-oriya
;
948 list-style-type: oriya
;
955 /* Correct directionality when page dir is different from site/user dir */
956 /* @noflip */ .mw-content-ltr
.toc ul
,
957 .mw-content-ltr #toc ul
,
958 .mw-content-rtl
.mw-content-ltr
.toc ul
,
959 .mw-content-rtl .mw-content-ltr #toc ul {
962 /* @noflip */ .mw-content-rtl
.toc ul
,
963 .mw-content-rtl #toc ul
,
964 .mw-content-ltr
.mw-content-rtl
.toc ul
,
965 .mw-content-ltr .mw-content-rtl #toc ul {
968 /* @noflip */ .mw-content-ltr
.toc ul ul
,
969 .mw-content-ltr #toc ul ul
,
970 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
971 .mw-content-rtl .mw-content-ltr #toc ul ul {
974 /* @noflip */ .mw-content-rtl
.toc ul ul
,
975 .mw-content-rtl #toc ul ul
,
976 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
977 .mw-content-ltr .mw-content-rtl #toc ul ul {
989 .mw-help-field-hint {
995 background-image: url
('images/help-question.gif');
996 background-position: left center
;
997 background-repeat: no-repeat
;
1000 text-decoration: underline
;
1003 .mw-help-field-hint:hover {
1005 background-image: url
('images/help-question-hover.gif');
1007 .mw-help-field-data {
1009 background-color: #d6f3ff;
1010 padding:5px 8px 4px 8px;
1011 border: 1px solid
#5dc9f4;
1015 padding: 5px 5px 10px;
1022 padding: 5px 8px 4px 8px;
1023 background-color: #d6f3ff;
1025 border: 1px solid
#5dc9f4;
1032 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1036 .tipsy-se .tipsy-arrow {
1039 background-position: 0% 100%;
1048 unicode-bidi: embed
;
1051 /* Correct user & content directionality when viewing a diff */
1052 .diff-currentversion-title
,
1055 unicode-bidi: embed
;
1057 /* @noflip */ .diff-contentalign-right td
{
1059 unicode-bidi: embed
;
1061 /* @noflip */ .diff-contentalign-left td
{
1063 unicode-bidi: embed
;
1068 direction: ltr
!important
;
1069 unicode-bidi: embed
;
1073 #mw-revision-info-current,
1081 /* @noflip */ div
.tright
,
1087 /* @noflip */ div
.tleft
,
1102 unicode-bidi: embed
;
1110 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1113 /* Print footer should be hidden by default in screen. */
1118 /* For developpers */
1124 .mw-editsection, .editsection, .toctoggle {
1125 -moz-user-select: none
;
1126 -webkit-user-select: none
;
1127 -ms-user-select: none
;
1131 /* Display editsection links smaller and next to headings */
1134 font-weight: normal
;
1136 vertical-align: baseline
;
1137 /* Reset line-height; headings tend to have it set to larger values */
1139 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1140 /* of the heading content when selecting text by multiple clicks and thus */
1141 /* selected together with heading content, despite the user-select: none; */
1142 /* rule set above. This enforces non-selection without changing the look. */
1143 display: inline-block
;
1146 /* Correct directionality when page dir is different from site/user dir */
1148 .mw-content-ltr
.mw-editsection
,
1149 .mw-content-rtl .mw-content-ltr .mw-editsection {
1153 .mw-content-rtl
.mw-editsection
,
1154 .mw-content-ltr .mw-content-rtl .mw-editsection {