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 /* User-Agent styles for new HTML5 elements */
36 background-color: yellow
;
40 /* Input types that should follow user direction, like buttons */
41 /* TODO: What about buttons in wikipage content ? */
49 /* Override default values */
61 /* Default style for semantic tags */
65 border-bottom: 1px dotted
;
69 /* Colored watchlist and recent changes numbers */
71 color: #006400; /* dark green */
74 color: #8b0000; /* dark red */
77 color: #aaa; /* gray */
81 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
82 * [[Special:Watchlist/edit]] and in category listings.
85 .redirect-in-category
,
90 /* Comment and username portions of RC entries */
105 vertical-align: middle
;
112 * Add a bit of margin space between the preview and the toolbar.
113 * This replaces the ugly <p><br /></p> we used to insert into the page source
119 /* Stop floats from intruding into edit area in previews */
130 /* Edit section links */
131 /* Correct directionality when page dir is different from site/user dir */
133 .mw-content-ltr
.editsection
,
134 .mw-content-rtl .mw-content-ltr .editsection {
139 .mw-content-rtl
.editsection
,
140 .mw-content-ltr .mw-content-rtl .editsection {
146 * File description page
149 div
.mw-filepage-resolutioninfo
{
160 table
.filehistory th
,
161 table
.filehistory td
{
164 table
.filehistory th
{
167 table
.filehistory td
.mw-imagepage-filesize
,
168 table
.filehistory th
.mw-imagepage-filesize
{
172 table
.filehistory td
.filehistory-selected
{
177 * Add a checkered background image on hover for file
178 * description pages. (bug 26470)
183 background: white url
(images
/Checker-16x16
.png
) repeat
;
190 span
.history-deleted
{
191 text-decoration: line-through
;
200 background-color: #ffa;
229 .prefsection td.mw-label {
235 .prefsection table.mw-htmlform-matrix {
242 table
.mw-htmlform-nolabel td
.mw-label
{
246 tr
.mw-htmlform-vertical-label td
.mw-label
{
247 text-align: left
!important
;
250 .mw-htmlform-invalid-input td.mw-input input {
254 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
260 .mw-htmlform-matrix td {
262 padding-right: 0.5em;
274 .mw-content-ltr .thumbcaption {
278 .mw-content-rtl .thumbcaption {
282 .mw-content-ltr .magnify {
286 .mw-content-rtl .magnify {
295 * Overrides text justification (user preference)
305 list-style-type: none
;
306 list-style-image: none
;
307 vertical-align: middle
!ie
;
311 display: inline-block
;
313 border-left: 1px solid
#AAA;
320 .catlinks li:first-child {
321 padding-left: 0.25em;
325 /* (bug 5346) make category redirects italic */
326 .catlinks li a.mw-redirect {
332 .mw-hidden-cats-hidden {
335 .catlinks-allhidden {
339 /* Convenience links to edit block, delete and protect reasons */
340 p
.mw-ipb-conveniencelinks
,
341 p
.mw-protect-editreasons
,
342 p
.mw-filedelete-editreasons
,
343 p
.mw-delete-editreasons
,
344 p
.mw-revdel-editreasons
{
350 * OpenSearch ajax suggestions
359 background-color: white
;
361 border-color: #AAAAAA;
367 table
.os-suggest-results
{
371 border-collapse: collapse
;
376 .os-suggest-result-hl {
378 background-color: white
;
382 .os-suggest-result-hl
,
383 .os-suggest-result-hl-webkit {
384 background-color: #4C59A6;
393 .os-suggest-toggle-def {
401 /* Page history styling */
403 /* The auto-generated edit comments */
407 #pagehistory .history-user
{
411 #pagehistory span
.minor
{
415 border: 1px solid white
;
417 #pagehistory li
.selected
{
418 background-color: #f9f9f9;
419 border: 1px dashed
#aaa;
422 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
426 /** Generic minor/bot/newpage styling (recent changes) */
434 #shared-image-conflict {
439 * Recreating deleted page warning
440 * Reupload file warning
441 * Page protection warning
442 * incl. log entries for these warnings
444 div
.mw-warning-with-logexcerpt
{
447 border: 2px solid
#2F6FAB;
450 div
.mw-warning-with-logexcerpt ul li
{
454 /* (show/hide) revision deletion links */
455 span
.mw-revdelundel-link
,
456 strong
.mw-revdelundel-link
{
459 span
.mw-revdelundel-hidden
,
460 input
.mw-revdelundel-hidden
{
464 td
.mw-revdel-checkbox
,
465 th
.mw-revdel-checkbox
{
470 /* red links; see bug 36276 */
478 background: url
(images
/feed-icon
.png
) center left no-repeat
;
482 /* Plainlinks - this can be used to switch
483 * off special external link styling */
485 background: none
!important
;
486 padding: 0 !important
;
488 /* External URLs should always be treated as LTR (bug 4330) */
489 /* @noflip */ .rtl a
.external
.free
,
490 .rtl a.external.autonumber {
496 * wikitable class for skinning normal tables
497 * keep in sync with commonPrint.css
501 background-color: #f9f9f9;
502 border: 1px #aaa solid
;
503 border-collapse: collapse
;
506 table
.wikitable
> tr
> th
,
507 table
.wikitable
> tr
> td
,
508 table
.wikitable
> * > tr
> th
,
509 table
.wikitable
> * > tr
> td
{
510 border: 1px #aaa solid
;
513 table
.wikitable
> tr
> th
,
514 table
.wikitable
> * > tr
> th
{
515 background-color: #f2f2f2;
518 table
.wikitable
> caption
{
522 /* hide initially collapsed collapsable tables */
523 table
.collapsed tr
.collapsable
{
527 /* success and error messages */
533 color: #FFA500; /* orange */
552 background-color: #fff2f2;
555 border-color: #FF8C00; /* darkorange */
556 background-color: #FFFFC0;
560 background-color: #dfd;
572 /* general info/warning box for SP */
574 border: 2px solid
#ff7f00;
587 margin: 0.5em 0.5em 0.5em 49px;
590 /* Note on preview page */
606 border: solid
1px #bbbbff;
607 background-color: #eeeeff;
614 * Transparent table with suddle borders
615 * and blue row-highlighting.
618 border-collapse: collapse
;
623 border: 1px solid
#aaaaaa;
624 padding: 0 0.15em 0 0.15em;
627 background-color: #ddddff;
630 background-color: #ffffff;
632 .mw-datatable tr:hover td {
633 background-color: #eeeeff;
638 * TablePager tables generated by the TablePager PHP class
639 * in MediaWiki (e.g. Special:ListFiles).
652 text-decoration: none
;
659 .imagelist .TablePager_col_links {
660 background-color: #eeeeff;
662 .imagelist .TablePager_col_img_description {
665 .imagelist th.TablePager_sort {
666 background-color: #ccccff;
672 border: 1px solid
#aaaaaa;
673 background-color: #f9f9f9;
676 margin-bottom: 0.5em;
683 list-style-type: none
;
687 /* Classes for EXIF data display */
691 margin-bottom: 0.5em;
695 table
.mw_metadata caption
{
699 table
.mw_metadata th
{
703 table
.mw_metadata td
{
709 border-collapse: collapse
;
712 table
.mw_metadata td
,
713 table
.mw_metadata th
{
715 border: 1px solid
#aaaaaa;
720 table
.mw_metadata th
{
721 background-color: #f9f9f9;
724 table
.mw_metadata td
{
725 background-color: #fcfcfc;
728 table
.mw_metadata ul
.metadata-langlist
{
729 list-style-type: none
;
730 list-style-image: none
;
736 /* Correct directionality when page dir is different from site/user dir */
738 .mw-content-rtl .mw-content-ltr ul {
740 margin: 0.3em 0 0 1.6em;
744 .mw-content-ltr .mw-content-rtl ul {
746 margin: 0.3em 1.6em 0 0;
750 .mw-content-rtl .mw-content-ltr ol {
752 margin: 0.3em 0 0 3.2em;
756 .mw-content-ltr .mw-content-rtl ol {
758 margin: 0.3em 3.2em 0 0;
763 .mw-content-rtl .mw-content-ltr dd {
769 .mw-content-ltr .mw-content-rtl dd {
775 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
776 /* Don't forget to update commonPrint.css */
779 display: -moz-inline-box
;
780 display: inline-block
;
799 word-wrap: break-word
;
802 li
.gallerybox div
.thumb
{
804 border: 1px solid
#ccc;
805 background-color: #f9f9f9;
809 li
.gallerybox div
.thumb img
{
818 word-wrap: break-word
;
823 background-image: url
(images
/ajax-loader
.gif
);
824 background-position: center center
;
825 background-repeat: no-repeat
;
832 padding: 10px !important
;
835 background-image: url
(images/spinner.gif);
836 background-position: center center
;
837 background-repeat: no-repeat
;
840 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
841 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
844 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
863 line-height: 1.6em !important
;
865 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
866 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
867 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
868 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
869 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
870 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
871 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
872 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
873 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
874 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
875 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
876 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
877 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
878 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
879 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
880 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
881 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
882 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
883 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
884 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
885 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
889 /* Localised ordered list numbering for some languages */
896 list-style-type: -moz-persian
;
897 list-style-type: persian
;
901 list-style-type: -moz-arabic-indic
;
902 list-style-type: arabic-indic
;
907 list-style-type: -moz-devanagari
;
908 list-style-type: devanagari
;
913 list-style-type: -moz-bengali
;
914 list-style-type: bengali
;
918 list-style-type: -moz-oriya
;
919 list-style-type: oriya
;
926 /* Correct directionality when page dir is different from site/user dir */
927 /* @noflip */ .mw-content-ltr
.toc ul
,
928 .mw-content-ltr #toc ul
,
929 .mw-content-rtl
.mw-content-ltr
.toc ul
,
930 .mw-content-rtl .mw-content-ltr #toc ul {
933 /* @noflip */ .mw-content-rtl
.toc ul
,
934 .mw-content-rtl #toc ul
,
935 .mw-content-ltr
.mw-content-rtl
.toc ul
,
936 .mw-content-ltr .mw-content-rtl #toc ul {
939 /* @noflip */ .mw-content-ltr
.toc ul ul
,
940 .mw-content-ltr #toc ul ul
,
941 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
942 .mw-content-rtl .mw-content-ltr #toc ul ul {
945 /* @noflip */ .mw-content-rtl
.toc ul ul
,
946 .mw-content-rtl #toc ul ul
,
947 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
948 .mw-content-ltr .mw-content-rtl #toc ul ul {
960 .mw-help-field-hint {
966 background-image: url
('images/help-question.gif');
967 background-position: left center
;
968 background-repeat: no-repeat
;
971 text-decoration: underline
;
974 .mw-help-field-hint:hover {
976 background-image: url
('images/help-question-hover.gif');
978 .mw-help-field-data {
980 background-color: #d6f3ff;
981 padding:5px 8px 4px 8px;
982 border: 1px solid
#5dc9f4;
986 padding: 5px 5px 10px;
993 padding: 5px 8px 4px 8px;
994 background-color: #d6f3ff;
996 border: 1px solid
#5dc9f4;
1003 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
1007 .tipsy-se .tipsy-arrow {
1010 background-position: 0% 100%;
1019 unicode-bidi: embed
;
1022 /* Correct user & content directionality when viewing a diff */
1023 .diff-currentversion-title
,
1026 unicode-bidi: embed
;
1028 /* @noflip */ .diff-contentalign-right td
{
1030 unicode-bidi: embed
;
1032 /* @noflip */ .diff-contentalign-left td
{
1034 unicode-bidi: embed
;
1039 direction: ltr
!important
;
1040 unicode-bidi: embed
;
1044 #mw-revision-info-current,
1052 /* @noflip */ div
.tright
,
1058 /* @noflip */ div
.tleft
,
1073 unicode-bidi: embed
;
1081 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1084 /* Print footer should be hidden by default in screen. */
1089 /* For developpers */
1095 .editsection, .toctoggle {
1096 -moz-user-select: none
;
1097 -webkit-user-select: none
;
1098 -ms-user-select: none
;