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 {
239 table
.mw-htmlform-nolabel td
.mw-label
{
243 tr
.mw-htmlform-vertical-label td
.mw-label
{
244 text-align: left
!important
;
247 .mw-htmlform-invalid-input td.mw-input input {
251 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
266 .mw-content-ltr .thumbcaption {
270 .mw-content-rtl .thumbcaption {
274 .mw-content-ltr .magnify {
278 .mw-content-rtl .magnify {
287 * Overrides text justification (user preference)
297 list-style-type: none
;
298 list-style-image: none
;
299 vertical-align: middle
!ie
;
303 display: inline-block
;
305 border-left: 1px solid
#AAA;
312 .catlinks li:first-child {
313 padding-left: 0.25em;
317 /* (bug 5346) make category redirects italic */
318 .catlinks li a.mw-redirect {
324 .mw-hidden-cats-hidden {
327 .catlinks-allhidden {
331 /* Convenience links to edit block, delete and protect reasons */
332 p
.mw-ipb-conveniencelinks
,
333 p
.mw-protect-editreasons
,
334 p
.mw-filedelete-editreasons
,
335 p
.mw-delete-editreasons
,
336 p
.mw-revdel-editreasons
{
342 * OpenSearch ajax suggestions
351 background-color: white
;
353 border-color: #AAAAAA;
359 table
.os-suggest-results
{
363 border-collapse: collapse
;
368 .os-suggest-result-hl {
370 background-color: white
;
374 .os-suggest-result-hl
,
375 .os-suggest-result-hl-webkit {
376 background-color: #4C59A6;
385 .os-suggest-toggle-def {
393 /* Page history styling */
395 /* The auto-generated edit comments */
399 #pagehistory .history-user
{
403 #pagehistory span
.minor
{
407 border: 1px solid white
;
409 #pagehistory li
.selected
{
410 background-color: #f9f9f9;
411 border: 1px dashed
#aaa;
414 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
418 /** Generic minor/bot/newpage styling (recent changes) */
426 #shared-image-conflict {
431 * Recreating deleted page warning
432 * Reupload file warning
433 * Page protection warning
434 * incl. log entries for these warnings
436 div
.mw-warning-with-logexcerpt
{
439 border: 2px solid
#2F6FAB;
442 div
.mw-warning-with-logexcerpt ul li
{
446 /* (show/hide) revision deletion links */
447 span
.mw-revdelundel-link
,
448 strong
.mw-revdelundel-link
{
451 span
.mw-revdelundel-hidden
,
452 input
.mw-revdelundel-hidden
{
456 td
.mw-revdel-checkbox
,
457 th
.mw-revdel-checkbox
{
462 /* red links; see bug 36276 */
470 background: url
(images
/feed-icon
.png
) center left no-repeat
;
474 /* Plainlinks - this can be used to switch
475 * off special external link styling */
477 background: none
!important
;
478 padding: 0 !important
;
480 /* External URLs should always be treated as LTR (bug 4330) */
481 /* @noflip */ .rtl a
.external
.free
,
482 .rtl a.external.autonumber {
488 * wikitable class for skinning normal tables
489 * keep in sync with commonPrint.css
493 background-color: #f9f9f9;
494 border: 1px #aaa solid
;
495 border-collapse: collapse
;
498 table
.wikitable
> tr
> th
,
499 table
.wikitable
> tr
> td
,
500 table
.wikitable
> * > tr
> th
,
501 table
.wikitable
> * > tr
> td
{
502 border: 1px #aaa solid
;
505 table
.wikitable
> tr
> th
,
506 table
.wikitable
> * > tr
> th
{
507 background-color: #f2f2f2;
510 table
.wikitable
> caption
{
514 /* hide initially collapsed collapsable tables */
515 table
.collapsed tr
.collapsable
{
519 /* success and error messages */
525 color: #FFA500; /* orange */
544 background-color: #fff2f2;
547 border-color: #FF8C00; /* darkorange */
548 background-color: #FFFFC0;
552 background-color: #dfd;
564 /* general info/warning box for SP */
566 border: 2px solid
#ff7f00;
579 margin: 0.5em 0.5em 0.5em 49px;
582 /* Note on preview page */
598 border: solid
1px #bbbbff;
599 background-color: #eeeeff;
606 * Transparent table with suddle borders
607 * and blue row-highlighting.
610 border-collapse: collapse
;
615 border: 1px solid
#aaaaaa;
616 padding: 0 0.15em 0 0.15em;
619 background-color: #ddddff;
622 background-color: #ffffff;
624 .mw-datatable tr:hover td {
625 background-color: #eeeeff;
630 * TablePager tables generated by the TablePager PHP class
631 * in MediaWiki (e.g. Special:ListFiles).
644 text-decoration: none
;
651 .imagelist .TablePager_col_links {
652 background-color: #eeeeff;
654 .imagelist .TablePager_col_img_description {
657 .imagelist th.TablePager_sort {
658 background-color: #ccccff;
664 border: 1px solid
#aaaaaa;
665 background-color: #f9f9f9;
668 margin-bottom: 0.5em;
675 list-style-type: none
;
679 /* Classes for EXIF data display */
683 margin-bottom: 0.5em;
687 table
.mw_metadata caption
{
691 table
.mw_metadata th
{
695 table
.mw_metadata td
{
701 border-collapse: collapse
;
704 table
.mw_metadata td
,
705 table
.mw_metadata th
{
707 border: 1px solid
#aaaaaa;
712 table
.mw_metadata th
{
713 background-color: #f9f9f9;
716 table
.mw_metadata td
{
717 background-color: #fcfcfc;
720 table
.mw_metadata ul
.metadata-langlist
{
721 list-style-type: none
;
722 list-style-image: none
;
728 /* Correct directionality when page dir is different from site/user dir */
730 .mw-content-rtl .mw-content-ltr ul {
732 margin: 0.3em 0 0 1.6em;
736 .mw-content-ltr .mw-content-rtl ul {
738 margin: 0.3em 1.6em 0 0;
742 .mw-content-rtl .mw-content-ltr ol {
744 margin: 0.3em 0 0 3.2em;
748 .mw-content-ltr .mw-content-rtl ol {
750 margin: 0.3em 3.2em 0 0;
755 .mw-content-rtl .mw-content-ltr dd {
761 .mw-content-ltr .mw-content-rtl dd {
767 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
768 /* Don't forget to update commonPrint.css */
771 display: -moz-inline-box
;
772 display: inline-block
;
791 word-wrap: break-word
;
794 li
.gallerybox div
.thumb
{
796 border: 1px solid
#ccc;
797 background-color: #f9f9f9;
801 li
.gallerybox div
.thumb img
{
810 word-wrap: break-word
;
815 background-image: url
(images
/ajax-loader
.gif
);
816 background-position: center center
;
817 background-repeat: no-repeat
;
824 padding: 10px !important
;
827 background-image: url
(images/spinner.gif);
828 background-position: center center
;
829 background-repeat: no-repeat
;
832 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
833 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
836 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
855 line-height: 1.6em !important
;
857 h2:lang
(anp
), h3:lang
(anp
), h4:lang
(anp
), h5:lang
(anp
), h6:lang
(anp
),
858 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
859 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
860 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
861 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
862 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
863 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
864 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
865 h2:lang
(ks
), h3:lang
(ks
), h4:lang
(ks
), h5:lang
(ks
), h6:lang
(ks
),
866 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
867 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
868 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
869 h2:lang
(mai
), h3:lang
(mai
), h4:lang
(mai
), h5:lang
(mai
), h6:lang
(mai
),
870 h2:lang
(ne
), h3:lang
(ne
), h4:lang
(ne
), h5:lang
(ne
), h6:lang
(ne
),
871 h2:lang
(new
), h3:lang
(new
), h4:lang
(new
), h5:lang
(new
), h6:lang
(new
),
872 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
873 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
874 h2:lang
(pi
), h3:lang
(pi
), h4:lang
(pi
), h5:lang
(pi
), h6:lang
(pi
),
875 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
876 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
877 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
881 /* Localised ordered list numbering for some languages */
888 list-style-type: -moz-persian
;
889 list-style-type: persian
;
893 list-style-type: -moz-arabic-indic
;
894 list-style-type: arabic-indic
;
899 list-style-type: -moz-devanagari
;
900 list-style-type: devanagari
;
905 list-style-type: -moz-bengali
;
906 list-style-type: bengali
;
910 list-style-type: -moz-oriya
;
911 list-style-type: oriya
;
918 /* Correct directionality when page dir is different from site/user dir */
919 /* @noflip */ .mw-content-ltr
.toc ul
,
920 .mw-content-ltr #toc ul
,
921 .mw-content-rtl
.mw-content-ltr
.toc ul
,
922 .mw-content-rtl .mw-content-ltr #toc ul {
925 /* @noflip */ .mw-content-rtl
.toc ul
,
926 .mw-content-rtl #toc ul
,
927 .mw-content-ltr
.mw-content-rtl
.toc ul
,
928 .mw-content-ltr .mw-content-rtl #toc ul {
931 /* @noflip */ .mw-content-ltr
.toc ul ul
,
932 .mw-content-ltr #toc ul ul
,
933 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
934 .mw-content-rtl .mw-content-ltr #toc ul ul {
937 /* @noflip */ .mw-content-rtl
.toc ul ul
,
938 .mw-content-rtl #toc ul ul
,
939 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
940 .mw-content-ltr .mw-content-rtl #toc ul ul {
952 .mw-help-field-hint {
958 background-image: url
('images/help-question.gif');
959 background-position: left center
;
960 background-repeat: no-repeat
;
963 text-decoration: underline
;
966 .mw-help-field-hint:hover {
968 background-image: url
('images/help-question-hover.gif');
970 .mw-help-field-data {
972 background-color: #d6f3ff;
973 padding:5px 8px 4px 8px;
974 border: 1px solid
#5dc9f4;
978 padding: 5px 5px 10px;
985 padding: 5px 8px 4px 8px;
986 background-color: #d6f3ff;
988 border: 1px solid
#5dc9f4;
995 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
999 .tipsy-se .tipsy-arrow {
1002 background-position: 0% 100%;
1011 unicode-bidi: embed
;
1014 /* Correct user & content directionality when viewing a diff */
1015 .diff-currentversion-title
,
1018 unicode-bidi: embed
;
1020 /* @noflip */ .diff-contentalign-right td
{
1022 unicode-bidi: embed
;
1024 /* @noflip */ .diff-contentalign-left td
{
1026 unicode-bidi: embed
;
1031 direction: ltr
!important
;
1032 unicode-bidi: embed
;
1036 #mw-revision-info-current,
1044 /* @noflip */ div
.tright
,
1050 /* @noflip */ div
.tleft
,
1065 unicode-bidi: embed
;
1073 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1076 /* Print footer should be hidden by default in screen. */
1081 /* For developpers */
1087 .editsection, .toctoggle {
1088 -moz-user-select: none
;
1089 -webkit-user-select: none
;
1090 -ms-user-select: none
;