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 */
127 border: solid
1px #ddd;
128 background-color: #fcfcfc;
129 /* Message hides on-click */
130 /* See also mw.util.jsMessage */
134 /* Edit section links */
135 /* Correct directionality when page dir is different from site/user dir */
137 .mw-content-ltr
.editsection
,
138 .mw-content-rtl .mw-content-ltr .editsection {
143 .mw-content-rtl
.editsection
,
144 .mw-content-ltr .mw-content-rtl .editsection {
150 * File description page
153 div
.mw-filepage-resolutioninfo
{
164 table
.filehistory th
,
165 table
.filehistory td
{
168 table
.filehistory th
{
171 table
.filehistory td
.mw-imagepage-filesize
,
172 table
.filehistory th
.mw-imagepage-filesize
{
176 table
.filehistory td
.filehistory-selected
{
181 * Add a checkered background image on hover for file
182 * description pages. (bug 26470)
187 background: white url
(images
/Checker-16x16
.png
) repeat
;
194 span
.history-deleted
{
195 text-decoration: line-through
;
204 background-color: #ffa;
233 .prefsection td.mw-label {
243 table
.mw-htmlform-nolabel td
.mw-label
{
247 tr
.mw-htmlform-vertical-label td
.mw-label
{
248 text-align: left
!important
;
251 .mw-htmlform-invalid-input td.mw-input input {
255 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
270 .mw-content-ltr .thumbcaption {
274 .mw-content-rtl .thumbcaption {
278 .mw-content-ltr .magnify {
282 .mw-content-rtl .magnify {
291 * Overrides text justification (user preference)
301 list-style-type: none
;
302 list-style-image: none
;
303 vertical-align: middle
!ie
;
307 display: inline-block
;
309 border-left: 1px solid
#AAA;
316 .catlinks li:first-child {
317 padding-left: 0.25em;
323 .mw-hidden-cats-hidden {
326 .catlinks-allhidden {
330 /* Convenience links to edit block, delete and protect reasons */
331 p
.mw-ipb-conveniencelinks
,
332 p
.mw-protect-editreasons
,
333 p
.mw-filedelete-editreasons
,
334 p
.mw-delete-editreasons
,
335 p
.mw-revdel-editreasons
{
341 * OpenSearch ajax suggestions
350 background-color: white
;
352 border-color: #AAAAAA;
358 table
.os-suggest-results
{
362 border-collapse: collapse
;
367 .os-suggest-result-hl {
369 background-color: white
;
373 .os-suggest-result-hl
,
374 .os-suggest-result-hl-webkit {
375 background-color: #4C59A6;
384 .os-suggest-toggle-def {
392 /* Page history styling */
394 /* The auto-generated edit comments */
398 #pagehistory .history-user
{
402 #pagehistory span
.minor
{
406 border: 1px solid white
;
408 #pagehistory li
.selected
{
409 background-color: #f9f9f9;
410 border: 1px dashed
#aaa;
413 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
417 /** Generic minor/bot/newpage styling (recent changes) */
425 #shared-image-conflict {
430 * Recreating deleted page warning
431 * Reupload file warning
432 * Page protection warning
433 * incl. log entries for these warnings
435 div
.mw-warning-with-logexcerpt
{
438 border: 2px solid
#2F6FAB;
441 div
.mw-warning-with-logexcerpt ul li
{
445 /* (show/hide) revision deletion links */
446 span
.mw-revdelundel-link
,
447 strong
.mw-revdelundel-link
{
450 span
.mw-revdelundel-hidden
,
451 input
.mw-revdelundel-hidden
{
455 td
.mw-revdel-checkbox
,
456 th
.mw-revdel-checkbox
{
464 background: url
(images
/feed-icon
.png
) center left no-repeat
;
468 /* Plainlinks - this can be used to switch
469 * off special external link styling */
471 background: none
!important
;
472 padding: 0 !important
;
474 /* External URLs should always be treated as LTR (bug 4330) */
475 /* @noflip */ .rtl a
.external
.free
,
476 .rtl a.external.autonumber {
482 * wikitable class for skinning normal tables
483 * keep in sync with commonPrint.css
486 margin: 1em 1em 1em 0;
487 background-color: #f9f9f9;
488 border: 1px #aaa solid
;
489 border-collapse: collapse
;
492 table
.wikitable
> tr
> th
,
493 table
.wikitable
> tr
> td
,
494 table
.wikitable
> * > tr
> th
,
495 table
.wikitable
> * > tr
> td
{
496 border: 1px #aaa solid
;
499 table
.wikitable
> tr
> th
,
500 table
.wikitable
> * > tr
> th
{
501 background-color: #f2f2f2;
504 table
.wikitable
> caption
{
508 /* hide initially collapsed collapsable tables */
509 table
.collapsed tr
.collapsable
{
513 /* success and error messages */
519 color: #FFA500; /* orange */
538 background-color: #fff2f2;
541 border-color: #FF8C00; /* darkorange */
542 background-color: #FFFFC0;
546 background-color: #dfd;
558 /* general info/warning box for SP */
560 border: 2px solid
#ff7f00;
573 margin: 0.5em 0.5em 0.5em 49px;
576 /* Note on preview page */
592 border: solid
1px #bbbbff;
593 background-color: #eeeeff;
600 * Transparent table with suddle borders
601 * and blue row-highlighting.
604 border-collapse: collapse
;
609 border: 1px solid
#aaaaaa;
610 padding: 0 0.15em 0 0.15em;
613 background-color: #ddddff;
616 background-color: #ffffff;
618 .mw-datatable tr:hover td {
619 background-color: #eeeeff;
624 * TablePager tables generated by the TablePager PHP class
625 * in MediaWiki (e.g. Special:ListFiles).
638 text-decoration: none
;
645 .imagelist .TablePager_col_links {
646 background-color: #eeeeff;
648 .imagelist .TablePager_col_img_description {
651 .imagelist th.TablePager_sort {
652 background-color: #ccccff;
658 border: 1px solid
#aaaaaa;
659 background-color: #f9f9f9;
662 margin-bottom: 0.5em;
669 list-style-type: none
;
673 /* Classes for EXIF data display */
677 margin-bottom: 0.5em;
681 table
.mw_metadata caption
{
685 table
.mw_metadata th
{
689 table
.mw_metadata td
{
695 border-collapse: collapse
;
698 table
.mw_metadata td
,
699 table
.mw_metadata th
{
701 border: 1px solid
#aaaaaa;
706 table
.mw_metadata th
{
707 background-color: #f9f9f9;
710 table
.mw_metadata td
{
711 background-color: #fcfcfc;
714 table
.mw_metadata ul
.metadata-langlist
{
715 list-style-type: none
;
716 list-style-image: none
;
722 /* Correct directionality when page dir is different from site/user dir */
724 .mw-content-rtl .mw-content-ltr ul {
726 margin: 0.3em 0 0 1.6em;
730 .mw-content-ltr .mw-content-rtl ul {
732 margin: 0.3em 1.6em 0 0;
736 .mw-content-rtl .mw-content-ltr ol {
738 margin: 0.3em 0 0 3.2em;
742 .mw-content-ltr .mw-content-rtl ol {
744 margin: 0.3em 3.2em 0 0;
749 .mw-content-rtl .mw-content-ltr dd {
755 .mw-content-ltr .mw-content-rtl dd {
761 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
762 /* Don't forget to update commonPrint.css */
765 display: -moz-inline-box
;
766 display: inline-block
;
785 word-wrap: break-word
;
788 li
.gallerybox div
.thumb
{
790 border: 1px solid
#ccc;
791 background-color: #f9f9f9;
795 li
.gallerybox div
.thumb img
{
804 word-wrap: break-word
;
809 background-image: url
(images
/ajax-loader
.gif
);
810 background-position: center center
;
811 background-repeat: no-repeat
;
818 padding: 10px !important
;
821 background-image: url
(images/spinner.gif);
822 background-position: center center
;
823 background-repeat: no-repeat
;
826 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
827 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
829 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
843 line-height: 1.6em !important
;
845 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
846 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
847 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
848 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
849 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
850 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
851 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
852 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
853 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
854 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
855 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
856 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
857 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
858 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
859 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
863 /* Localised ordered list numbering for some languages */
870 list-style-type: -moz-persian
;
871 list-style-type: persian
;
875 list-style-type: -moz-arabic-indic
;
876 list-style-type: arabic-indic
;
881 list-style-type: -moz-devanagari
;
882 list-style-type: devanagari
;
887 list-style-type: -moz-bengali
;
888 list-style-type: bengali
;
892 list-style-type: -moz-oriya
;
893 list-style-type: oriya
;
900 /* Correct directionality when page dir is different from site/user dir */
901 /* @noflip */ .mw-content-ltr
.toc ul
,
902 .mw-content-ltr #toc ul
,
903 .mw-content-rtl
.mw-content-ltr
.toc ul
,
904 .mw-content-rtl .mw-content-ltr #toc ul {
907 /* @noflip */ .mw-content-rtl
.toc ul
,
908 .mw-content-rtl #toc ul
,
909 .mw-content-ltr
.mw-content-rtl
.toc ul
,
910 .mw-content-ltr .mw-content-rtl #toc ul {
913 /* @noflip */ .mw-content-ltr
.toc ul ul
,
914 .mw-content-ltr #toc ul ul
,
915 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
916 .mw-content-rtl .mw-content-ltr #toc ul ul {
919 /* @noflip */ .mw-content-rtl
.toc ul ul
,
920 .mw-content-rtl #toc ul ul
,
921 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
922 .mw-content-ltr .mw-content-rtl #toc ul ul {
934 .mw-help-field-hint {
940 background-image: url
('images/help-question.gif');
941 background-position: left center
;
942 background-repeat: no-repeat
;
945 text-decoration: underline
;
948 .mw-help-field-hint:hover {
950 background-image: url
('images/help-question-hover.gif');
952 .mw-help-field-data {
954 background-color: #d6f3ff;
955 padding:5px 8px 4px 8px;
956 border: 1px solid
#5dc9f4;
960 padding: 5px 5px 10px;
967 padding: 5px 8px 4px 8px;
968 background-color: #d6f3ff;
970 border: 1px solid
#5dc9f4;
977 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
981 .tipsy-se .tipsy-arrow {
984 background-position: 0% 100%;
996 /* Correct user & content directionality when viewing a diff */
997 .diff-currentversion-title
,
1000 unicode-bidi: embed
;
1002 /* @noflip */ .diff-contentalign-right td
{
1004 unicode-bidi: embed
;
1006 /* @noflip */ .diff-contentalign-left td
{
1008 unicode-bidi: embed
;
1013 direction: ltr
!important
;
1014 unicode-bidi: embed
;
1018 #mw-revision-info-current,
1026 /* @noflip */ div
.tright
,
1032 /* @noflip */ div
.tleft
,
1047 unicode-bidi: embed
;
1055 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1058 /* Print footer should be hidden by default in screen. */
1063 /* For developpers */
1069 .editsection, .toctoggle {
1070 -moz-user-select: none
;
1071 -webkit-user-select: none
;
1072 -ms-user-select: none
;