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 */
124 /* Edit section links */
125 /* Correct directionality when page dir is different from site/user dir */
127 .mw-content-ltr
.editsection
,
128 .mw-content-rtl .mw-content-ltr .editsection {
133 .mw-content-rtl
.editsection
,
134 .mw-content-ltr .mw-content-rtl .editsection {
140 * File description page
143 div
.mw-filepage-resolutioninfo
{
154 table
.filehistory th
,
155 table
.filehistory td
{
158 table
.filehistory th
{
161 table
.filehistory td
.mw-imagepage-filesize
,
162 table
.filehistory th
.mw-imagepage-filesize
{
166 table
.filehistory td
.filehistory-selected
{
171 * Add a checkered background image on hover for file
172 * description pages. (bug 26470)
177 background: white url
(images
/Checker-16x16
.png
) repeat
;
184 span
.history-deleted
{
185 text-decoration: line-through
;
194 background-color: #ffa;
223 .prefsection td.mw-label {
233 table
.mw-htmlform-nolabel td
.mw-label
{
237 tr
.mw-htmlform-vertical-label td
.mw-label
{
238 text-align: left
!important
;
241 .mw-htmlform-invalid-input td.mw-input input {
245 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
260 .mw-content-ltr .thumbcaption {
264 .mw-content-rtl .thumbcaption {
268 .mw-content-ltr .magnify {
272 .mw-content-rtl .magnify {
281 * Overrides text justification (user preference)
291 list-style-type: none
;
292 list-style-image: none
;
293 vertical-align: middle
!ie
;
297 display: inline-block
;
299 border-left: 1px solid
#AAA;
306 .catlinks li:first-child {
307 padding-left: 0.25em;
313 .mw-hidden-cats-hidden {
316 .catlinks-allhidden {
320 /* Convenience links to edit block, delete and protect reasons */
321 p
.mw-ipb-conveniencelinks
,
322 p
.mw-protect-editreasons
,
323 p
.mw-filedelete-editreasons
,
324 p
.mw-delete-editreasons
,
325 p
.mw-revdel-editreasons
{
331 * OpenSearch ajax suggestions
340 background-color: white
;
342 border-color: #AAAAAA;
348 table
.os-suggest-results
{
352 border-collapse: collapse
;
357 .os-suggest-result-hl {
359 background-color: white
;
363 .os-suggest-result-hl
,
364 .os-suggest-result-hl-webkit {
365 background-color: #4C59A6;
374 .os-suggest-toggle-def {
382 /* Page history styling */
384 /* The auto-generated edit comments */
388 #pagehistory .history-user
{
392 #pagehistory span
.minor
{
396 border: 1px solid white
;
398 #pagehistory li
.selected
{
399 background-color: #f9f9f9;
400 border: 1px dashed
#aaa;
403 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
407 /** Generic minor/bot/newpage styling (recent changes) */
415 #shared-image-conflict {
420 * Recreating deleted page warning
421 * Reupload file warning
422 * Page protection warning
423 * incl. log entries for these warnings
425 div
.mw-warning-with-logexcerpt
{
428 border: 2px solid
#2F6FAB;
431 div
.mw-warning-with-logexcerpt ul li
{
435 /* (show/hide) revision deletion links */
436 span
.mw-revdelundel-link
,
437 strong
.mw-revdelundel-link
{
440 span
.mw-revdelundel-hidden
,
441 input
.mw-revdelundel-hidden
{
445 td
.mw-revdel-checkbox
,
446 th
.mw-revdel-checkbox
{
454 background: url
(images
/feed-icon
.png
) center left no-repeat
;
458 /* Plainlinks - this can be used to switch
459 * off special external link styling */
461 background: none
!important
;
462 padding: 0 !important
;
464 /* External URLs should always be treated as LTR (bug 4330) */
465 /* @noflip */ .rtl a
.external
.free
,
466 .rtl a.external.autonumber {
472 * wikitable class for skinning normal tables
473 * keep in sync with commonPrint.css
476 margin: 1em 1em 1em 0;
477 background-color: #f9f9f9;
478 border: 1px #aaa solid
;
479 border-collapse: collapse
;
482 table
.wikitable
> tr
> th
,
483 table
.wikitable
> tr
> td
,
484 table
.wikitable
> * > tr
> th
,
485 table
.wikitable
> * > tr
> td
{
486 border: 1px #aaa solid
;
489 table
.wikitable
> tr
> th
,
490 table
.wikitable
> * > tr
> th
{
491 background-color: #f2f2f2;
494 table
.wikitable
> caption
{
498 /* hide initially collapsed collapsable tables */
499 table
.collapsed tr
.collapsable
{
503 /* success and error messages */
509 color: #FFA500; /* orange */
528 background-color: #fff2f2;
531 border-color: #FF8C00; /* darkorange */
532 background-color: #FFFFC0;
536 background-color: #dfd;
548 /* general info/warning box for SP */
550 border: 2px solid
#ff7f00;
563 margin: 0.5em 0.5em 0.5em 49px;
566 /* Note on preview page */
582 border: solid
1px #bbbbff;
583 background-color: #eeeeff;
590 * Transparent table with suddle borders
591 * and blue row-highlighting.
594 border-collapse: collapse
;
599 border: 1px solid
#aaaaaa;
600 padding: 0 0.15em 0 0.15em;
603 background-color: #ddddff;
606 background-color: #ffffff;
608 .mw-datatable tr:hover td {
609 background-color: #eeeeff;
614 * TablePager tables generated by the TablePager PHP class
615 * in MediaWiki (e.g. Special:ListFiles).
628 text-decoration: none
;
635 .imagelist .TablePager_col_links {
636 background-color: #eeeeff;
638 .imagelist .TablePager_col_img_description {
641 .imagelist th.TablePager_sort {
642 background-color: #ccccff;
648 border: 1px solid
#aaaaaa;
649 background-color: #f9f9f9;
652 margin-bottom: 0.5em;
659 list-style-type: none
;
663 /* Classes for EXIF data display */
667 margin-bottom: 0.5em;
671 table
.mw_metadata caption
{
675 table
.mw_metadata th
{
679 table
.mw_metadata td
{
685 border-collapse: collapse
;
688 table
.mw_metadata td
,
689 table
.mw_metadata th
{
691 border: 1px solid
#aaaaaa;
696 table
.mw_metadata th
{
697 background-color: #f9f9f9;
700 table
.mw_metadata td
{
701 background-color: #fcfcfc;
704 table
.mw_metadata ul
.metadata-langlist
{
705 list-style-type: none
;
706 list-style-image: none
;
712 /* Correct directionality when page dir is different from site/user dir */
714 .mw-content-rtl .mw-content-ltr ul {
716 margin: 0.3em 0 0 1.6em;
720 .mw-content-ltr .mw-content-rtl ul {
722 margin: 0.3em 1.6em 0 0;
726 .mw-content-rtl .mw-content-ltr ol {
728 margin: 0.3em 0 0 3.2em;
732 .mw-content-ltr .mw-content-rtl ol {
734 margin: 0.3em 3.2em 0 0;
739 .mw-content-rtl .mw-content-ltr dd {
745 .mw-content-ltr .mw-content-rtl dd {
751 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
752 /* Don't forget to update commonPrint.css */
755 display: -moz-inline-box
;
756 display: inline-block
;
775 word-wrap: break-word
;
778 li
.gallerybox div
.thumb
{
780 border: 1px solid
#ccc;
781 background-color: #f9f9f9;
785 li
.gallerybox div
.thumb img
{
794 word-wrap: break-word
;
799 background-image: url
(images
/ajax-loader
.gif
);
800 background-position: center center
;
801 background-repeat: no-repeat
;
808 padding: 10px !important
;
811 background-image: url
(images/spinner.gif);
812 background-position: center center
;
813 background-repeat: no-repeat
;
816 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
817 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
819 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
833 line-height: 1.6em !important
;
835 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
836 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
837 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
838 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
839 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
840 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
841 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
842 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
843 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
844 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
845 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
846 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
847 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
848 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
849 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
853 /* Localised ordered list numbering for some languages */
860 list-style-type: -moz-persian
;
861 list-style-type: persian
;
865 list-style-type: -moz-arabic-indic
;
866 list-style-type: arabic-indic
;
871 list-style-type: -moz-devanagari
;
872 list-style-type: devanagari
;
877 list-style-type: -moz-bengali
;
878 list-style-type: bengali
;
882 list-style-type: -moz-oriya
;
883 list-style-type: oriya
;
890 /* Correct directionality when page dir is different from site/user dir */
891 /* @noflip */ .mw-content-ltr
.toc ul
,
892 .mw-content-ltr #toc ul
,
893 .mw-content-rtl
.mw-content-ltr
.toc ul
,
894 .mw-content-rtl .mw-content-ltr #toc ul {
897 /* @noflip */ .mw-content-rtl
.toc ul
,
898 .mw-content-rtl #toc ul
,
899 .mw-content-ltr
.mw-content-rtl
.toc ul
,
900 .mw-content-ltr .mw-content-rtl #toc ul {
903 /* @noflip */ .mw-content-ltr
.toc ul ul
,
904 .mw-content-ltr #toc ul ul
,
905 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
906 .mw-content-rtl .mw-content-ltr #toc ul ul {
909 /* @noflip */ .mw-content-rtl
.toc ul ul
,
910 .mw-content-rtl #toc ul ul
,
911 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
912 .mw-content-ltr .mw-content-rtl #toc ul ul {
924 .mw-help-field-hint {
930 background-image: url
('images/help-question.gif');
931 background-position: left center
;
932 background-repeat: no-repeat
;
935 text-decoration: underline
;
938 .mw-help-field-hint:hover {
940 background-image: url
('images/help-question-hover.gif');
942 .mw-help-field-data {
944 background-color: #d6f3ff;
945 padding:5px 8px 4px 8px;
946 border: 1px solid
#5dc9f4;
950 padding: 5px 5px 10px;
957 padding: 5px 8px 4px 8px;
958 background-color: #d6f3ff;
960 border: 1px solid
#5dc9f4;
967 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
971 .tipsy-se .tipsy-arrow {
974 background-position: 0% 100%;
986 /* Correct user & content directionality when viewing a diff */
987 .diff-currentversion-title
,
992 /* @noflip */ .diff-contentalign-right td
{
996 /* @noflip */ .diff-contentalign-left td
{
1003 direction: ltr
!important
;
1004 unicode-bidi: embed
;
1008 #mw-revision-info-current,
1016 /* @noflip */ div
.tright
,
1022 /* @noflip */ div
.tleft
,
1037 unicode-bidi: embed
;
1045 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1048 /* Print footer should be hidden by default in screen. */
1053 /* For developpers */
1059 .editsection, .toctoggle {
1060 -moz-user-select: none
;
1061 -webkit-user-select: none
;
1062 -ms-user-select: none
;