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 black
;
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 {
251 .mw-htmlform-radio-flatlist div
.mw-htmlform-radio-item
,
252 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-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
;
480 border: 1px #aaa solid
;
484 background-color: #f2f2f2;
491 /* hide initially collapsed collapsable tables */
492 table
.collapsed tr
.collapsable
{
496 /* success and error messages */
502 color: #FFA500; /* orange */
521 background-color: #fff2f2;
524 border-color: #FF8C00; /* darkorange */
525 background-color: #FFFFC0;
529 background-color: #dfd;
541 /* general info/warning box for SP */
543 border: 2px solid
#ff7f00;
556 margin: 0.5em 0.5em 0.5em 49px;
559 /* Note on preview page */
575 border: solid
1px #bbbbff;
576 background-color: #eeeeff;
583 * Transparent table with suddle borders
584 * and blue row-highlighting.
587 border-collapse: collapse
;
592 border: 1px solid
#aaaaaa;
593 padding: 0 0.15em 0 0.15em;
596 background-color: #ddddff;
599 background-color: #ffffff;
601 .mw-datatable tr:hover td {
602 background-color: #eeeeff;
607 * TablePager tables generated by the TablePager PHP class
608 * in MediaWiki (e.g. Special:ListFiles).
621 text-decoration: none
;
628 .imagelist .TablePager_col_links {
629 background-color: #eeeeff;
631 .imagelist .TablePager_col_img_description {
634 .imagelist th.TablePager_sort {
635 background-color: #ccccff;
641 border: 1px solid
#aaaaaa;
642 background-color: #f9f9f9;
645 margin-bottom: 0.5em;
652 list-style-type: none
;
656 /* Classes for EXIF data display */
660 margin-bottom: 0.5em;
664 table
.mw_metadata caption
{
668 table
.mw_metadata th
{
672 table
.mw_metadata td
{
678 border-collapse: collapse
;
681 table
.mw_metadata td
,
682 table
.mw_metadata th
{
684 border: 1px solid
#aaaaaa;
689 table
.mw_metadata th
{
690 background-color: #f9f9f9;
693 table
.mw_metadata td
{
694 background-color: #fcfcfc;
697 table
.mw_metadata ul
.metadata-langlist
{
698 list-style-type: none
;
699 list-style-image: none
;
705 /* Correct directionality when page dir is different from site/user dir */
707 .mw-content-rtl .mw-content-ltr ul {
709 margin: 0.3em 0 0 1.5em;
713 .mw-content-ltr .mw-content-rtl ul {
715 margin: 0.3em 1.5em 0 0;
719 .mw-content-rtl .mw-content-ltr ol {
721 margin: 0.3em 0 0 3.2em;
725 .mw-content-ltr .mw-content-rtl ol {
727 margin: 0.3em 3.2em 0 0;
732 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
733 /* Don't forget to update commonPrint.css */
736 border: solid
2px white
;
737 display: -moz-inline-box
;
738 display: inline-block
;
744 display: inline-block
;
757 word-wrap: break-word
;
760 li
.gallerybox div
.thumb
{
762 border: 1px solid
#ccc;
763 background-color: #f9f9f9;
767 li
.gallerybox div
.thumb img
{
776 word-wrap: break-word
;
781 background-image: url
(images
/ajax-loader
.gif
);
782 background-position: center center
;
783 background-repeat: no-repeat
;
790 padding: 10px !important
;
793 background-image: url
(images/spinner.gif);
794 background-position: center center
;
795 background-repeat: no-repeat
;
798 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
799 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
814 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
815 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
816 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
817 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
818 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
819 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
820 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
821 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
822 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
823 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
824 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
825 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
829 /* Localised ordered list numbering for some languages */
836 list-style-type: -moz-persian
;
837 list-style-type: persian
;
841 list-style-type: -moz-arabic-indic
;
842 list-style-type: arabic-indic
;
847 list-style-type: -moz-bengali
;
848 list-style-type: bengali
;
852 list-style-type: -moz-oriya
;
853 list-style-type: oriya
;
860 /* Correct directionality when page dir is different from site/user dir */
861 /* @noflip */ .mw-content-ltr
.toc ul
,
862 .mw-content-ltr #toc ul
,
863 .mw-content-rtl
.mw-content-ltr
.toc ul
,
864 .mw-content-rtl .mw-content-ltr #toc ul {
867 /* @noflip */ .mw-content-rtl
.toc ul
,
868 .mw-content-rtl #toc ul
,
869 .mw-content-ltr
.mw-content-rtl
.toc ul
,
870 .mw-content-ltr .mw-content-rtl #toc ul {
873 /* @noflip */ .mw-content-ltr
.toc ul ul
,
874 .mw-content-ltr #toc ul ul
,
875 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
876 .mw-content-rtl .mw-content-ltr #toc ul ul {
879 /* @noflip */ .mw-content-rtl
.toc ul ul
,
880 .mw-content-rtl #toc ul ul
,
881 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
882 .mw-content-ltr .mw-content-rtl #toc ul ul {
894 .mw-help-field-hint {
900 background-image: url
('images/help-question.gif');
901 background-position: left center
;
902 background-repeat: no-repeat
;
905 text-decoration: underline
;
908 .mw-help-field-hint:hover {
910 background-image: url
('images/help-question-hover.gif');
912 .mw-help-field-data {
914 background-color: #d6f3ff;
915 padding:5px 8px 4px 8px;
916 border: 1px solid
#5dc9f4;
920 padding: 5px 5px 10px;
927 padding: 5px 8px 4px 8px;
928 background-color: #d6f3ff;
930 border: 1px solid
#5dc9f4;
937 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
941 .tipsy-se .tipsy-arrow {
944 background-position: 0% 100%;
947 /* LTR content in RTL layout */
963 /* Correct user & content directionality when viewing a diff */
964 .diff-currentversion-title
,
969 /* @noflip */ .diff-contentalign-right td
{
973 /* @noflip */ .diff-contentalign-left td
{
980 direction: ltr
!important
;
985 #mw-revision-info-current,
993 /* @noflip */ div
.tright
,
999 /* @noflip */ div
.tleft
,
1014 unicode-bidi: embed
;
1021 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */