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
{
451 /* red links; see bug 36276 */
459 background: url
(images
/feed-icon
.png
) center left no-repeat
;
463 /* Plainlinks - this can be used to switch
464 * off special external link styling */
466 background: none
!important
;
467 padding: 0 !important
;
469 /* External URLs should always be treated as LTR (bug 4330) */
470 /* @noflip */ .rtl a
.external
.free
,
471 .rtl a.external.autonumber {
477 * wikitable class for skinning normal tables
478 * keep in sync with commonPrint.css
482 background-color: #f9f9f9;
483 border: 1px #aaa solid
;
484 border-collapse: collapse
;
487 table
.wikitable
> tr
> th
,
488 table
.wikitable
> tr
> td
,
489 table
.wikitable
> * > tr
> th
,
490 table
.wikitable
> * > tr
> td
{
491 border: 1px #aaa solid
;
494 table
.wikitable
> tr
> th
,
495 table
.wikitable
> * > tr
> th
{
496 background-color: #f2f2f2;
499 table
.wikitable
> caption
{
503 /* hide initially collapsed collapsable tables */
504 table
.collapsed tr
.collapsable
{
508 /* success and error messages */
514 color: #FFA500; /* orange */
533 background-color: #fff2f2;
536 border-color: #FF8C00; /* darkorange */
537 background-color: #FFFFC0;
541 background-color: #dfd;
553 /* general info/warning box for SP */
555 border: 2px solid
#ff7f00;
568 margin: 0.5em 0.5em 0.5em 49px;
571 /* Note on preview page */
587 border: solid
1px #bbbbff;
588 background-color: #eeeeff;
595 * Transparent table with suddle borders
596 * and blue row-highlighting.
599 border-collapse: collapse
;
604 border: 1px solid
#aaaaaa;
605 padding: 0 0.15em 0 0.15em;
608 background-color: #ddddff;
611 background-color: #ffffff;
613 .mw-datatable tr:hover td {
614 background-color: #eeeeff;
619 * TablePager tables generated by the TablePager PHP class
620 * in MediaWiki (e.g. Special:ListFiles).
633 text-decoration: none
;
640 .imagelist .TablePager_col_links {
641 background-color: #eeeeff;
643 .imagelist .TablePager_col_img_description {
646 .imagelist th.TablePager_sort {
647 background-color: #ccccff;
653 border: 1px solid
#aaaaaa;
654 background-color: #f9f9f9;
657 margin-bottom: 0.5em;
664 list-style-type: none
;
668 /* Classes for EXIF data display */
672 margin-bottom: 0.5em;
676 table
.mw_metadata caption
{
680 table
.mw_metadata th
{
684 table
.mw_metadata td
{
690 border-collapse: collapse
;
693 table
.mw_metadata td
,
694 table
.mw_metadata th
{
696 border: 1px solid
#aaaaaa;
701 table
.mw_metadata th
{
702 background-color: #f9f9f9;
705 table
.mw_metadata td
{
706 background-color: #fcfcfc;
709 table
.mw_metadata ul
.metadata-langlist
{
710 list-style-type: none
;
711 list-style-image: none
;
717 /* Correct directionality when page dir is different from site/user dir */
719 .mw-content-rtl .mw-content-ltr ul {
721 margin: 0.3em 0 0 1.6em;
725 .mw-content-ltr .mw-content-rtl ul {
727 margin: 0.3em 1.6em 0 0;
731 .mw-content-rtl .mw-content-ltr ol {
733 margin: 0.3em 0 0 3.2em;
737 .mw-content-ltr .mw-content-rtl ol {
739 margin: 0.3em 3.2em 0 0;
744 .mw-content-rtl .mw-content-ltr dd {
750 .mw-content-ltr .mw-content-rtl dd {
756 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
757 /* Don't forget to update commonPrint.css */
760 display: -moz-inline-box
;
761 display: inline-block
;
780 word-wrap: break-word
;
783 li
.gallerybox div
.thumb
{
785 border: 1px solid
#ccc;
786 background-color: #f9f9f9;
790 li
.gallerybox div
.thumb img
{
799 word-wrap: break-word
;
804 background-image: url
(images
/ajax-loader
.gif
);
805 background-position: center center
;
806 background-repeat: no-repeat
;
813 padding: 10px !important
;
816 background-image: url
(images/spinner.gif);
817 background-position: center center
;
818 background-repeat: no-repeat
;
821 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
822 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
824 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
838 line-height: 1.6em !important
;
840 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
841 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
842 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
843 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
844 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
845 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
846 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
847 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
848 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
849 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
850 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
851 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
852 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
853 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
854 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
858 /* Localised ordered list numbering for some languages */
865 list-style-type: -moz-persian
;
866 list-style-type: persian
;
870 list-style-type: -moz-arabic-indic
;
871 list-style-type: arabic-indic
;
876 list-style-type: -moz-devanagari
;
877 list-style-type: devanagari
;
882 list-style-type: -moz-bengali
;
883 list-style-type: bengali
;
887 list-style-type: -moz-oriya
;
888 list-style-type: oriya
;
895 /* Correct directionality when page dir is different from site/user dir */
896 /* @noflip */ .mw-content-ltr
.toc ul
,
897 .mw-content-ltr #toc ul
,
898 .mw-content-rtl
.mw-content-ltr
.toc ul
,
899 .mw-content-rtl .mw-content-ltr #toc ul {
902 /* @noflip */ .mw-content-rtl
.toc ul
,
903 .mw-content-rtl #toc ul
,
904 .mw-content-ltr
.mw-content-rtl
.toc ul
,
905 .mw-content-ltr .mw-content-rtl #toc ul {
908 /* @noflip */ .mw-content-ltr
.toc ul ul
,
909 .mw-content-ltr #toc ul ul
,
910 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
911 .mw-content-rtl .mw-content-ltr #toc ul ul {
914 /* @noflip */ .mw-content-rtl
.toc ul ul
,
915 .mw-content-rtl #toc ul ul
,
916 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
917 .mw-content-ltr .mw-content-rtl #toc ul ul {
929 .mw-help-field-hint {
935 background-image: url
('images/help-question.gif');
936 background-position: left center
;
937 background-repeat: no-repeat
;
940 text-decoration: underline
;
943 .mw-help-field-hint:hover {
945 background-image: url
('images/help-question-hover.gif');
947 .mw-help-field-data {
949 background-color: #d6f3ff;
950 padding:5px 8px 4px 8px;
951 border: 1px solid
#5dc9f4;
955 padding: 5px 5px 10px;
962 padding: 5px 8px 4px 8px;
963 background-color: #d6f3ff;
965 border: 1px solid
#5dc9f4;
972 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
976 .tipsy-se .tipsy-arrow {
979 background-position: 0% 100%;
991 /* Correct user & content directionality when viewing a diff */
992 .diff-currentversion-title
,
997 /* @noflip */ .diff-contentalign-right td
{
1001 /* @noflip */ .diff-contentalign-left td
{
1003 unicode-bidi: embed
;
1008 direction: ltr
!important
;
1009 unicode-bidi: embed
;
1013 #mw-revision-info-current,
1021 /* @noflip */ div
.tright
,
1027 /* @noflip */ div
.tleft
,
1042 unicode-bidi: embed
;
1050 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1053 /* Print footer should be hidden by default in screen. */
1058 /* For developpers */
1064 .editsection, .toctoggle {
1065 -moz-user-select: none
;
1066 -webkit-user-select: none
;
1067 -ms-user-select: none
;