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 /* Input types that should follow user direction, like buttons */
35 /* TODO: What about buttons in wikipage content ? */
43 /* Override default values */
55 /* Default style for semantic tags */
59 border-bottom: 1px dotted
;
63 /* Colored watchlist and recent changes numbers */
65 color: #006400; /* dark green */
68 color: #8b0000; /* dark red */
71 color: #aaa; /* gray */
75 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
76 * [[Special:Watchlist/edit]] and in category listings.
79 .redirect-in-category
,
84 /* Comment and username portions of RC entries */
99 vertical-align: middle
;
106 * Add a bit of margin space between the preview and the toolbar.
107 * This replaces the ugly <p><br /></p> we used to insert into the page source
113 /* Stop floats from intruding into edit area in previews */
125 border: solid
1px #ddd;
126 background-color: #fcfcfc;
129 /* Edit section links */
134 /* Correct directionality when page dir is different from site/user dir */
135 .mw-content-ltr
.editsection
,
136 .mw-content-rtl .mw-content-ltr .editsection {
140 .mw-content-rtl
.editsection
,
141 .mw-content-ltr .mw-content-rtl .editsection {
147 * File description page
150 div
.mw-filepage-resolutioninfo
{
161 table
.filehistory th
,
162 table
.filehistory td
{
165 table
.filehistory th
{
168 table
.filehistory td
.mw-imagepage-filesize
,
169 table
.filehistory th
.mw-imagepage-filesize
{
173 table
.filehistory td
.filehistory-selected
{
178 * Add a checkered background image on hover for file
179 * description pages. (bug 26470)
184 background: white url
(images
/Checker-16x16
.png
) repeat
;
191 span
.history-deleted
{
192 text-decoration: line-through
;
201 background-color: #ffa;
230 .prefsection td.mw-label {
240 table
.mw-htmlform-nolabel td
.mw-label
{
244 tr
.mw-htmlform-vertical-label td
.mw-label
{
245 text-align: left
!important
;
248 .mw-htmlform-invalid-input td.mw-input input {
252 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
277 * Overrides text justification (user preference)
287 list-style-type: none
;
288 list-style-image: none
;
289 vertical-align: middle
!ie
;
293 display: inline-block
;
295 border-left: 1px solid
#AAA;
302 .catlinks li:first-child {
303 padding-left: 0.25em;
309 .mw-hidden-cats-hidden {
312 .catlinks-allhidden {
316 /* Convenience links to edit block, delete and protect reasons */
317 p
.mw-ipb-conveniencelinks
,
318 p
.mw-protect-editreasons
,
319 p
.mw-filedelete-editreasons
,
320 p
.mw-delete-editreasons
,
321 p
.mw-revdel-editreasons
{
327 * OpenSearch ajax suggestions
336 background-color: white
;
338 border-color: #AAAAAA;
344 table
.os-suggest-results
{
348 border-collapse: collapse
;
353 .os-suggest-result-hl {
355 background-color: white
;
359 .os-suggest-result-hl
,
360 .os-suggest-result-hl-webkit {
361 background-color: #4C59A6;
370 .os-suggest-toggle-def {
378 /* Page history styling */
380 /* The auto-generated edit comments */
384 #pagehistory .history-user
{
388 #pagehistory span
.minor
{
392 border: 1px solid white
;
394 #pagehistory li
.selected
{
395 background-color: #f9f9f9;
396 border: 1px dashed
#aaa;
399 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
403 /** Generic minor/bot/newpage styling (recent changes) */
411 #shared-image-conflict {
416 * Recreating deleted page warning
417 * Reupload file warning
418 * Page protection warning
419 * incl. log entries for these warnings
421 div
.mw-warning-with-logexcerpt
{
424 border: 2px solid
#2F6FAB;
427 div
.mw-warning-with-logexcerpt ul li
{
431 /* (show/hide) revision deletion links */
432 span
.mw-revdelundel-link
,
433 strong
.mw-revdelundel-link
{
436 span
.mw-revdelundel-hidden
,
437 input
.mw-revdelundel-hidden
{
441 td
.mw-revdel-checkbox
,
442 th
.mw-revdel-checkbox
{
450 background: url
(images
/feed-icon
.png
) center left no-repeat
;
454 /* Plainlinks - this can be used to switch
455 * off special external link styling */
457 background: none
!important
;
458 padding: 0 !important
;
460 /* External URLs should always be treated as LTR (bug 4330) */
461 /* @noflip */ .rtl a
.external
.free
,
462 .rtl a.external.autonumber {
468 * wikitable class for skinning normal tables
469 * keep in sync with commonPrint.css
472 margin: 1em 1em 1em 0;
473 background-color: #f9f9f9;
474 border: 1px #aaa solid
;
475 border-collapse: collapse
;
478 table
.wikitable
> tr
> th
,
479 table
.wikitable
> tr
> td
,
480 table
.wikitable
> * > tr
> th
,
481 table
.wikitable
> * > tr
> td
{
482 border: 1px #aaa solid
;
485 table
.wikitable
> tr
> th
,
486 table
.wikitable
> * > tr
> th
{
487 background-color: #f2f2f2;
490 table
.wikitable
> caption
{
494 /* hide initially collapsed collapsable tables */
495 table
.collapsed tr
.collapsable
{
499 /* success and error messages */
505 color: #FFA500; /* orange */
524 background-color: #fff2f2;
527 border-color: #FF8C00; /* darkorange */
528 background-color: #FFFFC0;
532 background-color: #dfd;
544 /* general info/warning box for SP */
546 border: 2px solid
#ff7f00;
559 margin: 0.5em 0.5em 0.5em 49px;
562 /* Note on preview page */
578 border: solid
1px #bbbbff;
579 background-color: #eeeeff;
586 * Transparent table with suddle borders
587 * and blue row-highlighting.
590 border-collapse: collapse
;
595 border: 1px solid
#aaaaaa;
596 padding: 0 0.15em 0 0.15em;
599 background-color: #ddddff;
602 background-color: #ffffff;
604 .mw-datatable tr:hover td {
605 background-color: #eeeeff;
610 * TablePager tables generated by the TablePager PHP class
611 * in MediaWiki (e.g. Special:ListFiles).
624 text-decoration: none
;
631 .imagelist .TablePager_col_links {
632 background-color: #eeeeff;
634 .imagelist .TablePager_col_img_description {
637 .imagelist th.TablePager_sort {
638 background-color: #ccccff;
644 border: 1px solid
#aaaaaa;
645 background-color: #f9f9f9;
648 margin-bottom: 0.5em;
655 list-style-type: none
;
659 /* Classes for EXIF data display */
663 margin-bottom: 0.5em;
667 table
.mw_metadata caption
{
671 table
.mw_metadata th
{
675 table
.mw_metadata td
{
681 border-collapse: collapse
;
684 table
.mw_metadata td
,
685 table
.mw_metadata th
{
687 border: 1px solid
#aaaaaa;
692 table
.mw_metadata th
{
693 background-color: #f9f9f9;
696 table
.mw_metadata td
{
697 background-color: #fcfcfc;
700 table
.mw_metadata ul
.metadata-langlist
{
701 list-style-type: none
;
702 list-style-image: none
;
708 /* Correct directionality when page dir is different from site/user dir */
710 .mw-content-rtl .mw-content-ltr ul {
712 margin: 0.3em 0 0 1.6em;
716 .mw-content-ltr .mw-content-rtl ul {
718 margin: 0.3em 1.6em 0 0;
722 .mw-content-rtl .mw-content-ltr ol {
724 margin: 0.3em 0 0 3.2em;
728 .mw-content-ltr .mw-content-rtl ol {
730 margin: 0.3em 3.2em 0 0;
735 .mw-content-rtl .mw-content-ltr dd {
741 .mw-content-ltr .mw-content-rtl dd {
747 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
748 /* Don't forget to update commonPrint.css */
751 border: solid
2px white
;
752 display: -moz-inline-box
;
753 display: inline-block
;
772 word-wrap: break-word
;
775 li
.gallerybox div
.thumb
{
777 border: 1px solid
#ccc;
778 background-color: #f9f9f9;
782 li
.gallerybox div
.thumb img
{
791 word-wrap: break-word
;
796 background-image: url
(images
/ajax-loader
.gif
);
797 background-position: center center
;
798 background-repeat: no-repeat
;
805 padding: 10px !important
;
808 background-image: url
(images/spinner.gif);
809 background-position: center center
;
810 background-repeat: no-repeat
;
813 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
814 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
816 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
829 line-height: 1.5em !important
;
831 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
832 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
833 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
834 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
835 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
836 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
837 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
838 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
839 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
840 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
841 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
842 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
843 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
844 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
848 /* Localised ordered list numbering for some languages */
855 list-style-type: -moz-persian
;
856 list-style-type: persian
;
860 list-style-type: -moz-arabic-indic
;
861 list-style-type: arabic-indic
;
866 list-style-type: -moz-bengali
;
867 list-style-type: bengali
;
871 list-style-type: -moz-oriya
;
872 list-style-type: oriya
;
879 /* Correct directionality when page dir is different from site/user dir */
880 /* @noflip */ .mw-content-ltr
.toc ul
,
881 .mw-content-ltr #toc ul
,
882 .mw-content-rtl
.mw-content-ltr
.toc ul
,
883 .mw-content-rtl .mw-content-ltr #toc ul {
886 /* @noflip */ .mw-content-rtl
.toc ul
,
887 .mw-content-rtl #toc ul
,
888 .mw-content-ltr
.mw-content-rtl
.toc ul
,
889 .mw-content-ltr .mw-content-rtl #toc ul {
892 /* @noflip */ .mw-content-ltr
.toc ul ul
,
893 .mw-content-ltr #toc ul ul
,
894 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
895 .mw-content-rtl .mw-content-ltr #toc ul ul {
898 /* @noflip */ .mw-content-rtl
.toc ul ul
,
899 .mw-content-rtl #toc ul ul
,
900 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
901 .mw-content-ltr .mw-content-rtl #toc ul ul {
913 .mw-help-field-hint {
919 background-image: url
('images/help-question.gif');
920 background-position: left center
;
921 background-repeat: no-repeat
;
924 text-decoration: underline
;
927 .mw-help-field-hint:hover {
929 background-image: url
('images/help-question-hover.gif');
931 .mw-help-field-data {
933 background-color: #d6f3ff;
934 padding:5px 8px 4px 8px;
935 border: 1px solid
#5dc9f4;
939 padding: 5px 5px 10px;
946 padding: 5px 8px 4px 8px;
947 background-color: #d6f3ff;
949 border: 1px solid
#5dc9f4;
956 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
960 .tipsy-se .tipsy-arrow {
963 background-position: 0% 100%;
975 /* Correct user & content directionality when viewing a diff */
976 .diff-currentversion-title
,
981 /* @noflip */ .diff-contentalign-right td
{
985 /* @noflip */ .diff-contentalign-left td
{
992 direction: ltr
!important
;
997 #mw-revision-info-current,
1005 /* @noflip */ div
.tright
,
1011 /* @noflip */ div
.tleft
,
1026 unicode-bidi: embed
;
1033 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1036 /* For developpers */