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 */
130 /* Correct directionality when page dir is different from site/user dir */
132 .mw-content-ltr
.editsection
,
133 .mw-content-rtl .mw-content-ltr .editsection {
138 .mw-content-rtl
.editsection
,
139 .mw-content-ltr .mw-content-rtl .editsection {
145 * File description page
148 div
.mw-filepage-resolutioninfo
{
159 table
.filehistory th
,
160 table
.filehistory td
{
163 table
.filehistory th
{
166 table
.filehistory td
.mw-imagepage-filesize
,
167 table
.filehistory th
.mw-imagepage-filesize
{
171 table
.filehistory td
.filehistory-selected
{
176 * Add a checkered background image on hover for file
177 * description pages. (bug 26470)
182 background: white url
(images
/Checker-16x16
.png
) repeat
;
189 span
.history-deleted
{
190 text-decoration: line-through
;
199 background-color: #ffa;
228 .prefsection td.mw-label {
238 table
.mw-htmlform-nolabel td
.mw-label
{
242 tr
.mw-htmlform-vertical-label td
.mw-label
{
243 text-align: left
!important
;
246 .mw-htmlform-invalid-input td.mw-input input {
250 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
264 .mw-content-ltr .thumbcaption {
268 .mw-content-rtl .thumbcaption {
272 .mw-content-ltr .magnify {
276 .mw-content-rtl .magnify {
285 * Overrides text justification (user preference)
295 list-style-type: none
;
296 list-style-image: none
;
297 vertical-align: middle
!ie
;
301 display: inline-block
;
303 border-left: 1px solid
#AAA;
310 .catlinks li:first-child {
311 padding-left: 0.25em;
317 .mw-hidden-cats-hidden {
320 .catlinks-allhidden {
324 /* Convenience links to edit block, delete and protect reasons */
325 p
.mw-ipb-conveniencelinks
,
326 p
.mw-protect-editreasons
,
327 p
.mw-filedelete-editreasons
,
328 p
.mw-delete-editreasons
,
329 p
.mw-revdel-editreasons
{
335 * OpenSearch ajax suggestions
344 background-color: white
;
346 border-color: #AAAAAA;
352 table
.os-suggest-results
{
356 border-collapse: collapse
;
361 .os-suggest-result-hl {
363 background-color: white
;
367 .os-suggest-result-hl
,
368 .os-suggest-result-hl-webkit {
369 background-color: #4C59A6;
378 .os-suggest-toggle-def {
386 /* Page history styling */
388 /* The auto-generated edit comments */
392 #pagehistory .history-user
{
396 #pagehistory span
.minor
{
400 border: 1px solid white
;
402 #pagehistory li
.selected
{
403 background-color: #f9f9f9;
404 border: 1px dashed
#aaa;
407 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
411 /** Generic minor/bot/newpage styling (recent changes) */
419 #shared-image-conflict {
424 * Recreating deleted page warning
425 * Reupload file warning
426 * Page protection warning
427 * incl. log entries for these warnings
429 div
.mw-warning-with-logexcerpt
{
432 border: 2px solid
#2F6FAB;
435 div
.mw-warning-with-logexcerpt ul li
{
439 /* (show/hide) revision deletion links */
440 span
.mw-revdelundel-link
,
441 strong
.mw-revdelundel-link
{
444 span
.mw-revdelundel-hidden
,
445 input
.mw-revdelundel-hidden
{
449 td
.mw-revdel-checkbox
,
450 th
.mw-revdel-checkbox
{
458 background: url
(images
/feed-icon
.png
) center left no-repeat
;
462 /* Plainlinks - this can be used to switch
463 * off special external link styling */
465 background: none
!important
;
466 padding: 0 !important
;
468 /* External URLs should always be treated as LTR (bug 4330) */
469 /* @noflip */ .rtl a
.external
.free
,
470 .rtl a.external.autonumber {
476 * wikitable class for skinning normal tables
477 * keep in sync with commonPrint.css
480 margin: 1em 1em 1em 0;
481 background-color: #f9f9f9;
482 border: 1px #aaa solid
;
483 border-collapse: collapse
;
486 table
.wikitable
> tr
> th
,
487 table
.wikitable
> tr
> td
,
488 table
.wikitable
> * > tr
> th
,
489 table
.wikitable
> * > tr
> td
{
490 border: 1px #aaa solid
;
493 table
.wikitable
> tr
> th
,
494 table
.wikitable
> * > tr
> th
{
495 background-color: #f2f2f2;
498 table
.wikitable
> caption
{
502 /* hide initially collapsed collapsable tables */
503 table
.collapsed tr
.collapsable
{
507 /* success and error messages */
513 color: #FFA500; /* orange */
532 background-color: #fff2f2;
535 border-color: #FF8C00; /* darkorange */
536 background-color: #FFFFC0;
540 background-color: #dfd;
552 /* general info/warning box for SP */
554 border: 2px solid
#ff7f00;
567 margin: 0.5em 0.5em 0.5em 49px;
570 /* Note on preview page */
586 border: solid
1px #bbbbff;
587 background-color: #eeeeff;
594 * Transparent table with suddle borders
595 * and blue row-highlighting.
598 border-collapse: collapse
;
603 border: 1px solid
#aaaaaa;
604 padding: 0 0.15em 0 0.15em;
607 background-color: #ddddff;
610 background-color: #ffffff;
612 .mw-datatable tr:hover td {
613 background-color: #eeeeff;
618 * TablePager tables generated by the TablePager PHP class
619 * in MediaWiki (e.g. Special:ListFiles).
632 text-decoration: none
;
639 .imagelist .TablePager_col_links {
640 background-color: #eeeeff;
642 .imagelist .TablePager_col_img_description {
645 .imagelist th.TablePager_sort {
646 background-color: #ccccff;
652 border: 1px solid
#aaaaaa;
653 background-color: #f9f9f9;
656 margin-bottom: 0.5em;
663 list-style-type: none
;
667 /* Classes for EXIF data display */
671 margin-bottom: 0.5em;
675 table
.mw_metadata caption
{
679 table
.mw_metadata th
{
683 table
.mw_metadata td
{
689 border-collapse: collapse
;
692 table
.mw_metadata td
,
693 table
.mw_metadata th
{
695 border: 1px solid
#aaaaaa;
700 table
.mw_metadata th
{
701 background-color: #f9f9f9;
704 table
.mw_metadata td
{
705 background-color: #fcfcfc;
708 table
.mw_metadata ul
.metadata-langlist
{
709 list-style-type: none
;
710 list-style-image: none
;
716 /* Correct directionality when page dir is different from site/user dir */
718 .mw-content-rtl .mw-content-ltr ul {
720 margin: 0.3em 0 0 1.6em;
724 .mw-content-ltr .mw-content-rtl ul {
726 margin: 0.3em 1.6em 0 0;
730 .mw-content-rtl .mw-content-ltr ol {
732 margin: 0.3em 0 0 3.2em;
736 .mw-content-ltr .mw-content-rtl ol {
738 margin: 0.3em 3.2em 0 0;
743 .mw-content-rtl .mw-content-ltr dd {
749 .mw-content-ltr .mw-content-rtl dd {
755 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
756 /* Don't forget to update commonPrint.css */
759 display: -moz-inline-box
;
760 display: inline-block
;
779 word-wrap: break-word
;
782 li
.gallerybox div
.thumb
{
784 border: 1px solid
#ccc;
785 background-color: #f9f9f9;
789 li
.gallerybox div
.thumb img
{
798 word-wrap: break-word
;
803 background-image: url
(images
/ajax-loader
.gif
);
804 background-position: center center
;
805 background-repeat: no-repeat
;
812 padding: 10px !important
;
815 background-image: url
(images/spinner.gif);
816 background-position: center center
;
817 background-repeat: no-repeat
;
820 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
821 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
823 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
837 line-height: 1.6em !important
;
839 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
840 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
841 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
842 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
843 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
844 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
845 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
846 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
847 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
848 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
849 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
850 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
851 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
852 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
853 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
857 /* Localised ordered list numbering for some languages */
864 list-style-type: -moz-persian
;
865 list-style-type: persian
;
869 list-style-type: -moz-arabic-indic
;
870 list-style-type: arabic-indic
;
875 list-style-type: -moz-devanagari
;
876 list-style-type: devanagari
;
881 list-style-type: -moz-bengali
;
882 list-style-type: bengali
;
886 list-style-type: -moz-oriya
;
887 list-style-type: oriya
;
894 /* Correct directionality when page dir is different from site/user dir */
895 /* @noflip */ .mw-content-ltr
.toc ul
,
896 .mw-content-ltr #toc ul
,
897 .mw-content-rtl
.mw-content-ltr
.toc ul
,
898 .mw-content-rtl .mw-content-ltr #toc ul {
901 /* @noflip */ .mw-content-rtl
.toc ul
,
902 .mw-content-rtl #toc ul
,
903 .mw-content-ltr
.mw-content-rtl
.toc ul
,
904 .mw-content-ltr .mw-content-rtl #toc ul {
907 /* @noflip */ .mw-content-ltr
.toc ul ul
,
908 .mw-content-ltr #toc ul ul
,
909 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
910 .mw-content-rtl .mw-content-ltr #toc ul ul {
913 /* @noflip */ .mw-content-rtl
.toc ul ul
,
914 .mw-content-rtl #toc ul ul
,
915 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
916 .mw-content-ltr .mw-content-rtl #toc ul ul {
928 .mw-help-field-hint {
934 background-image: url
('images/help-question.gif');
935 background-position: left center
;
936 background-repeat: no-repeat
;
939 text-decoration: underline
;
942 .mw-help-field-hint:hover {
944 background-image: url
('images/help-question-hover.gif');
946 .mw-help-field-data {
948 background-color: #d6f3ff;
949 padding:5px 8px 4px 8px;
950 border: 1px solid
#5dc9f4;
954 padding: 5px 5px 10px;
961 padding: 5px 8px 4px 8px;
962 background-color: #d6f3ff;
964 border: 1px solid
#5dc9f4;
971 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
975 .tipsy-se .tipsy-arrow {
978 background-position: 0% 100%;
990 /* Correct user & content directionality when viewing a diff */
991 .diff-currentversion-title
,
996 /* @noflip */ .diff-contentalign-right td
{
1000 /* @noflip */ .diff-contentalign-left td
{
1002 unicode-bidi: embed
;
1007 direction: ltr
!important
;
1008 unicode-bidi: embed
;
1012 #mw-revision-info-current,
1020 /* @noflip */ div
.tright
,
1026 /* @noflip */ div
.tleft
,
1041 unicode-bidi: embed
;
1049 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1052 /* Print footer should be hidden by default in screen. */
1057 /* For developpers */
1063 .editsection, .toctoggle {
1064 -moz-user-select: none
;
1065 -webkit-user-select: none
;
1066 -ms-user-select: none
;