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 {
242 table
.mw-htmlform-nolabel td
.mw-label
{
246 tr
.mw-htmlform-vertical-label td
.mw-label
{
247 text-align: left
!important
;
250 .mw-htmlform-invalid-input td.mw-input input {
254 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
260 .mw-htmlform-matrix td {
262 padding-right: 0.5em;
274 .mw-content-ltr .thumbcaption {
278 .mw-content-rtl .thumbcaption {
282 .mw-content-ltr .magnify {
286 .mw-content-rtl .magnify {
295 * Overrides text justification (user preference)
305 list-style-type: none
;
306 list-style-image: none
;
307 vertical-align: middle
!ie
;
311 display: inline-block
;
313 border-left: 1px solid
#AAA;
320 .catlinks li:first-child {
321 padding-left: 0.25em;
325 /* (bug 5346) make category redirects italic */
326 .catlinks li a.mw-redirect {
332 .mw-hidden-cats-hidden {
335 .catlinks-allhidden {
339 /* Convenience links to edit block, delete and protect reasons */
340 p
.mw-ipb-conveniencelinks
,
341 p
.mw-protect-editreasons
,
342 p
.mw-filedelete-editreasons
,
343 p
.mw-delete-editreasons
,
344 p
.mw-revdel-editreasons
{
350 * OpenSearch ajax suggestions
359 background-color: white
;
361 border-color: #AAAAAA;
367 table
.os-suggest-results
{
371 border-collapse: collapse
;
376 .os-suggest-result-hl {
378 background-color: white
;
382 .os-suggest-result-hl
,
383 .os-suggest-result-hl-webkit {
384 background-color: #4C59A6;
393 .os-suggest-toggle-def {
401 /* Page history styling */
403 /* The auto-generated edit comments */
407 #pagehistory .history-user
{
411 #pagehistory span
.minor
{
415 border: 1px solid white
;
417 #pagehistory li
.selected
{
418 background-color: #f9f9f9;
419 border: 1px dashed
#aaa;
422 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
426 /** Generic minor/bot/newpage styling (recent changes) */
434 #shared-image-conflict {
439 * Recreating deleted page warning
440 * Reupload file warning
441 * Page protection warning
442 * incl. log entries for these warnings
444 div
.mw-warning-with-logexcerpt
{
447 border: 2px solid
#2F6FAB;
450 div
.mw-warning-with-logexcerpt ul li
{
454 /* (show/hide) revision deletion links */
455 span
.mw-revdelundel-link
,
456 strong
.mw-revdelundel-link
{
459 span
.mw-revdelundel-hidden
,
460 input
.mw-revdelundel-hidden
{
464 td
.mw-revdel-checkbox
,
465 th
.mw-revdel-checkbox
{
470 /* red links; see bug 36276 */
478 background: url
(images
/feed-icon
.png
) center left no-repeat
;
482 /* Plainlinks - this can be used to switch
483 * off special external link styling */
485 background: none
!important
;
486 padding: 0 !important
;
488 /* External URLs should always be treated as LTR (bug 4330) */
489 /* @noflip */ .rtl a
.external
.free
,
490 .rtl a.external.autonumber {
496 * wikitable class for skinning normal tables
497 * keep in sync with commonPrint.css
501 background-color: #f9f9f9;
502 border: 1px #aaa solid
;
503 border-collapse: collapse
;
506 table
.wikitable
> tr
> th
,
507 table
.wikitable
> tr
> td
,
508 table
.wikitable
> * > tr
> th
,
509 table
.wikitable
> * > tr
> td
{
510 border: 1px #aaa solid
;
513 table
.wikitable
> tr
> th
,
514 table
.wikitable
> * > tr
> th
{
515 background-color: #f2f2f2;
518 table
.wikitable
> caption
{
522 /* hide initially collapsed collapsable tables */
523 table
.collapsed tr
.collapsable
{
527 /* success and error messages */
533 color: #FFA500; /* orange */
548 display: -moz-inline-block
;
549 display: inline-block
;
555 background-color: #fff2f2;
558 border-color: #FF8C00; /* darkorange */
559 background-color: #FFFFC0;
563 background-color: #dfd;
575 /* general info/warning box for SP */
577 border: 2px solid
#ff7f00;
590 margin: 0.5em 0.5em 0.5em 49px;
593 /* Note on preview page */
609 border: solid
1px #bbbbff;
610 background-color: #eeeeff;
617 * Transparent table with suddle borders
618 * and blue row-highlighting.
621 border-collapse: collapse
;
626 border: 1px solid
#aaaaaa;
627 padding: 0 0.15em 0 0.15em;
630 background-color: #ddddff;
633 background-color: #ffffff;
635 .mw-datatable tr:hover td {
636 background-color: #eeeeff;
641 * TablePager tables generated by the TablePager PHP class
642 * in MediaWiki (e.g. Special:ListFiles).
655 text-decoration: none
;
662 .imagelist .TablePager_col_links {
663 background-color: #eeeeff;
665 .imagelist .TablePager_col_img_description {
668 .imagelist th.TablePager_sort {
669 background-color: #ccccff;
675 border: 1px solid
#aaaaaa;
676 background-color: #f9f9f9;
679 margin-bottom: 0.5em;
686 list-style-type: none
;
690 /* Classes for Exif data display */
694 margin-bottom: 0.5em;
698 table
.mw_metadata caption
{
702 table
.mw_metadata th
{
706 table
.mw_metadata td
{
712 border-collapse: collapse
;
715 table
.mw_metadata td
,
716 table
.mw_metadata th
{
718 border: 1px solid
#aaaaaa;
723 table
.mw_metadata th
{
724 background-color: #f9f9f9;
727 table
.mw_metadata td
{
728 background-color: #fcfcfc;
731 table
.mw_metadata ul
.metadata-langlist
{
732 list-style-type: none
;
733 list-style-image: none
;
739 /* Correct directionality when page dir is different from site/user dir */
741 .mw-content-rtl .mw-content-ltr ul {
743 margin: 0.3em 0 0 1.6em;
747 .mw-content-ltr .mw-content-rtl ul {
749 margin: 0.3em 1.6em 0 0;
753 .mw-content-rtl .mw-content-ltr ol {
755 margin: 0.3em 0 0 3.2em;
759 .mw-content-ltr .mw-content-rtl ol {
761 margin: 0.3em 3.2em 0 0;
766 .mw-content-rtl .mw-content-ltr dd {
772 .mw-content-ltr .mw-content-rtl dd {
778 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
779 /* Don't forget to update commonPrint.css */
782 display: -moz-inline-box
;
783 display: inline-block
;
802 word-wrap: break-word
;
805 li
.gallerybox div
.thumb
{
807 border: 1px solid
#ccc;
808 background-color: #f9f9f9;
812 li
.gallerybox div
.thumb img
{
821 word-wrap: break-word
;
826 background-image: url
(images
/ajax-loader
.gif
);
827 background-position: center center
;
828 background-repeat: no-repeat
;
835 padding: 10px !important
;
838 background-image: url
(images/spinner.gif);
839 background-position: center center
;
840 background-repeat: no-repeat
;
843 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
844 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
847 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
866 line-height: 1.6em !important
;
868 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
869 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
870 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
871 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
872 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
873 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
874 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
875 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
876 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
877 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
878 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
879 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
880 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
881 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
882 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
883 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
884 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
885 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
886 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
887 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
888 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
892 /* Localised ordered list numbering for some languages */
899 list-style-type: -moz-persian
;
900 list-style-type: persian
;
904 list-style-type: -moz-arabic-indic
;
905 list-style-type: arabic-indic
;
910 list-style-type: -moz-devanagari
;
911 list-style-type: devanagari
;
916 list-style-type: -moz-bengali
;
917 list-style-type: bengali
;
921 list-style-type: -moz-oriya
;
922 list-style-type: oriya
;
929 /* Correct directionality when page dir is different from site/user dir */
930 /* @noflip */ .mw-content-ltr
.toc ul
,
931 .mw-content-ltr #toc ul
,
932 .mw-content-rtl
.mw-content-ltr
.toc ul
,
933 .mw-content-rtl .mw-content-ltr #toc ul {
936 /* @noflip */ .mw-content-rtl
.toc ul
,
937 .mw-content-rtl #toc ul
,
938 .mw-content-ltr
.mw-content-rtl
.toc ul
,
939 .mw-content-ltr .mw-content-rtl #toc ul {
942 /* @noflip */ .mw-content-ltr
.toc ul ul
,
943 .mw-content-ltr #toc ul ul
,
944 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
945 .mw-content-rtl .mw-content-ltr #toc ul ul {
948 /* @noflip */ .mw-content-rtl
.toc ul ul
,
949 .mw-content-rtl #toc ul ul
,
950 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
951 .mw-content-ltr .mw-content-rtl #toc ul ul {
963 .mw-help-field-hint {
969 background-image: url
('images/help-question.gif');
970 background-position: left center
;
971 background-repeat: no-repeat
;
974 text-decoration: underline
;
977 .mw-help-field-hint:hover {
979 background-image: url
('images/help-question-hover.gif');
981 .mw-help-field-data {
983 background-color: #d6f3ff;
984 padding:5px 8px 4px 8px;
985 border: 1px solid
#5dc9f4;
989 padding: 5px 5px 10px;
996 padding: 5px 8px 4px 8px;
997 background-color: #d6f3ff;
999 border: 1px solid
#5dc9f4;
1006 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1010 .tipsy-se .tipsy-arrow {
1013 background-position: 0% 100%;
1022 unicode-bidi: embed
;
1025 /* Correct user & content directionality when viewing a diff */
1026 .diff-currentversion-title
,
1029 unicode-bidi: embed
;
1031 /* @noflip */ .diff-contentalign-right td
{
1033 unicode-bidi: embed
;
1035 /* @noflip */ .diff-contentalign-left td
{
1037 unicode-bidi: embed
;
1042 direction: ltr
!important
;
1043 unicode-bidi: embed
;
1047 #mw-revision-info-current,
1055 /* @noflip */ div
.tright
,
1061 /* @noflip */ div
.tleft
,
1076 unicode-bidi: embed
;
1084 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1087 /* Print footer should be hidden by default in screen. */
1092 /* For developpers */
1098 .mw-editsection, .editsection, .toctoggle {
1099 -moz-user-select: none
;
1100 -webkit-user-select: none
;
1101 -ms-user-select: none
;
1105 /* Display editsection links smaller and next to headings */
1108 font-weight: normal
;
1110 vertical-align: baseline
;
1111 /* Reset line-height; headings tend to have it set to larger values */
1113 /* As .mw-editsection is a <span> (inline element), it is treated as part */
1114 /* of the heading content when selecting text by multiple clicks and thus */
1115 /* selected together with heading content, despite the user-select: none; */
1116 /* rule set above. This enforces non-selection without changing the look. */
1117 display: inline-block
;
1120 /* Correct directionality when page dir is different from site/user dir */
1122 .mw-content-ltr
.mw-editsection
,
1123 .mw-content-rtl .mw-content-ltr .mw-editsection {
1127 .mw-content-rtl
.mw-editsection
,
1128 .mw-content-ltr .mw-content-rtl .mw-editsection {