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;
319 .mw-hidden-cats-hidden {
322 .catlinks-allhidden {
326 /* Convenience links to edit block, delete and protect reasons */
327 p
.mw-ipb-conveniencelinks
,
328 p
.mw-protect-editreasons
,
329 p
.mw-filedelete-editreasons
,
330 p
.mw-delete-editreasons
,
331 p
.mw-revdel-editreasons
{
337 * OpenSearch ajax suggestions
346 background-color: white
;
348 border-color: #AAAAAA;
354 table
.os-suggest-results
{
358 border-collapse: collapse
;
363 .os-suggest-result-hl {
365 background-color: white
;
369 .os-suggest-result-hl
,
370 .os-suggest-result-hl-webkit {
371 background-color: #4C59A6;
380 .os-suggest-toggle-def {
388 /* Page history styling */
390 /* The auto-generated edit comments */
394 #pagehistory .history-user
{
398 #pagehistory span
.minor
{
402 border: 1px solid white
;
404 #pagehistory li
.selected
{
405 background-color: #f9f9f9;
406 border: 1px dashed
#aaa;
409 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
413 /** Generic minor/bot/newpage styling (recent changes) */
421 #shared-image-conflict {
426 * Recreating deleted page warning
427 * Reupload file warning
428 * Page protection warning
429 * incl. log entries for these warnings
431 div
.mw-warning-with-logexcerpt
{
434 border: 2px solid
#2F6FAB;
437 div
.mw-warning-with-logexcerpt ul li
{
441 /* (show/hide) revision deletion links */
442 span
.mw-revdelundel-link
,
443 strong
.mw-revdelundel-link
{
446 span
.mw-revdelundel-hidden
,
447 input
.mw-revdelundel-hidden
{
451 td
.mw-revdel-checkbox
,
452 th
.mw-revdel-checkbox
{
457 /* red links; see bug 36276 */
465 background: url
(images
/feed-icon
.png
) center left no-repeat
;
469 /* Plainlinks - this can be used to switch
470 * off special external link styling */
472 background: none
!important
;
473 padding: 0 !important
;
475 /* External URLs should always be treated as LTR (bug 4330) */
476 /* @noflip */ .rtl a
.external
.free
,
477 .rtl a.external.autonumber {
483 * wikitable class for skinning normal tables
484 * keep in sync with commonPrint.css
488 background-color: #f9f9f9;
489 border: 1px #aaa solid
;
490 border-collapse: collapse
;
493 table
.wikitable
> tr
> th
,
494 table
.wikitable
> tr
> td
,
495 table
.wikitable
> * > tr
> th
,
496 table
.wikitable
> * > tr
> td
{
497 border: 1px #aaa solid
;
500 table
.wikitable
> tr
> th
,
501 table
.wikitable
> * > tr
> th
{
502 background-color: #f2f2f2;
505 table
.wikitable
> caption
{
509 /* hide initially collapsed collapsable tables */
510 table
.collapsed tr
.collapsable
{
514 /* success and error messages */
520 color: #FFA500; /* orange */
539 background-color: #fff2f2;
542 border-color: #FF8C00; /* darkorange */
543 background-color: #FFFFC0;
547 background-color: #dfd;
559 /* general info/warning box for SP */
561 border: 2px solid
#ff7f00;
574 margin: 0.5em 0.5em 0.5em 49px;
577 /* Note on preview page */
593 border: solid
1px #bbbbff;
594 background-color: #eeeeff;
601 * Transparent table with suddle borders
602 * and blue row-highlighting.
605 border-collapse: collapse
;
610 border: 1px solid
#aaaaaa;
611 padding: 0 0.15em 0 0.15em;
614 background-color: #ddddff;
617 background-color: #ffffff;
619 .mw-datatable tr:hover td {
620 background-color: #eeeeff;
625 * TablePager tables generated by the TablePager PHP class
626 * in MediaWiki (e.g. Special:ListFiles).
639 text-decoration: none
;
646 .imagelist .TablePager_col_links {
647 background-color: #eeeeff;
649 .imagelist .TablePager_col_img_description {
652 .imagelist th.TablePager_sort {
653 background-color: #ccccff;
659 border: 1px solid
#aaaaaa;
660 background-color: #f9f9f9;
663 margin-bottom: 0.5em;
670 list-style-type: none
;
674 /* Classes for EXIF data display */
678 margin-bottom: 0.5em;
682 table
.mw_metadata caption
{
686 table
.mw_metadata th
{
690 table
.mw_metadata td
{
696 border-collapse: collapse
;
699 table
.mw_metadata td
,
700 table
.mw_metadata th
{
702 border: 1px solid
#aaaaaa;
707 table
.mw_metadata th
{
708 background-color: #f9f9f9;
711 table
.mw_metadata td
{
712 background-color: #fcfcfc;
715 table
.mw_metadata ul
.metadata-langlist
{
716 list-style-type: none
;
717 list-style-image: none
;
723 /* Correct directionality when page dir is different from site/user dir */
725 .mw-content-rtl .mw-content-ltr ul {
727 margin: 0.3em 0 0 1.6em;
731 .mw-content-ltr .mw-content-rtl ul {
733 margin: 0.3em 1.6em 0 0;
737 .mw-content-rtl .mw-content-ltr ol {
739 margin: 0.3em 0 0 3.2em;
743 .mw-content-ltr .mw-content-rtl ol {
745 margin: 0.3em 3.2em 0 0;
750 .mw-content-rtl .mw-content-ltr dd {
756 .mw-content-ltr .mw-content-rtl dd {
762 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
763 /* Don't forget to update commonPrint.css */
766 display: -moz-inline-box
;
767 display: inline-block
;
786 word-wrap: break-word
;
789 li
.gallerybox div
.thumb
{
791 border: 1px solid
#ccc;
792 background-color: #f9f9f9;
796 li
.gallerybox div
.thumb img
{
805 word-wrap: break-word
;
810 background-image: url
(images
/ajax-loader
.gif
);
811 background-position: center center
;
812 background-repeat: no-repeat
;
819 padding: 10px !important
;
822 background-image: url
(images/spinner.gif);
823 background-position: center center
;
824 background-repeat: no-repeat
;
827 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
828 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
830 h1:lang
(bh
), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
844 line-height: 1.6em !important
;
846 h2:lang
(as
), h3:lang
(as
), h4:lang
(as
), h5:lang
(as
), h6:lang
(as
),
847 h2:lang
(bho
), h3:lang
(bho
), h4:lang
(bho
), h5:lang
(bho
), h6:lang
(bho
),
848 h2:lang
(bh
), h3:lang
(bh
), h4:lang
(bh
), h5:lang
(bh
), h6:lang
(bh
),
849 h2:lang
(bn
), h3:lang
(bn
), h4:lang
(bn
), h5:lang
(bn
), h6:lang
(bn
),
850 h2:lang
(gu
), h3:lang
(gu
), h4:lang
(gu
), h5:lang
(gu
), h6:lang
(gu
),
851 h2:lang
(hi
), h3:lang
(hi
), h4:lang
(hi
), h5:lang
(hi
), h6:lang
(hi
),
852 h2:lang
(kn
), h3:lang
(kn
), h4:lang
(kn
), h5:lang
(kn
), h6:lang
(kn
),
853 h2:lang
(ml
), h3:lang
(ml
), h4:lang
(ml
), h5:lang
(ml
), h6:lang
(ml
),
854 h2:lang
(mr
), h3:lang
(mr
), h4:lang
(mr
), h5:lang
(mr
), h6:lang
(mr
),
855 h2:lang
(my
), h3:lang
(my
), h4:lang
(my
), h5:lang
(my
), h6:lang
(my
),
856 h2:lang
(or
), h3:lang
(or
), h4:lang
(or
), h5:lang
(or
), h6:lang
(or
),
857 h2:lang
(pa
), h3:lang
(pa
), h4:lang
(pa
), h5:lang
(pa
), h6:lang
(pa
),
858 h2:lang
(sa
), h3:lang
(sa
), h4:lang
(sa
), h5:lang
(sa
), h6:lang
(sa
),
859 h2:lang
(ta
), h3:lang
(ta
), h4:lang
(ta
), h5:lang
(ta
), h6:lang
(ta
),
860 h2:lang
(te
), h3:lang
(te
), h4:lang
(te
), h5:lang
(te
), h6:lang
(te
) {
864 /* Localised ordered list numbering for some languages */
871 list-style-type: -moz-persian
;
872 list-style-type: persian
;
876 list-style-type: -moz-arabic-indic
;
877 list-style-type: arabic-indic
;
882 list-style-type: -moz-devanagari
;
883 list-style-type: devanagari
;
888 list-style-type: -moz-bengali
;
889 list-style-type: bengali
;
893 list-style-type: -moz-oriya
;
894 list-style-type: oriya
;
901 /* Correct directionality when page dir is different from site/user dir */
902 /* @noflip */ .mw-content-ltr
.toc ul
,
903 .mw-content-ltr #toc ul
,
904 .mw-content-rtl
.mw-content-ltr
.toc ul
,
905 .mw-content-rtl .mw-content-ltr #toc ul {
908 /* @noflip */ .mw-content-rtl
.toc ul
,
909 .mw-content-rtl #toc ul
,
910 .mw-content-ltr
.mw-content-rtl
.toc ul
,
911 .mw-content-ltr .mw-content-rtl #toc ul {
914 /* @noflip */ .mw-content-ltr
.toc ul ul
,
915 .mw-content-ltr #toc ul ul
,
916 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
917 .mw-content-rtl .mw-content-ltr #toc ul ul {
920 /* @noflip */ .mw-content-rtl
.toc ul ul
,
921 .mw-content-rtl #toc ul ul
,
922 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
923 .mw-content-ltr .mw-content-rtl #toc ul ul {
935 .mw-help-field-hint {
941 background-image: url
('images/help-question.gif');
942 background-position: left center
;
943 background-repeat: no-repeat
;
946 text-decoration: underline
;
949 .mw-help-field-hint:hover {
951 background-image: url
('images/help-question-hover.gif');
953 .mw-help-field-data {
955 background-color: #d6f3ff;
956 padding:5px 8px 4px 8px;
957 border: 1px solid
#5dc9f4;
961 padding: 5px 5px 10px;
968 padding: 5px 8px 4px 8px;
969 background-color: #d6f3ff;
971 border: 1px solid
#5dc9f4;
978 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
982 .tipsy-se .tipsy-arrow {
985 background-position: 0% 100%;
997 /* Correct user & content directionality when viewing a diff */
998 .diff-currentversion-title
,
1001 unicode-bidi: embed
;
1003 /* @noflip */ .diff-contentalign-right td
{
1005 unicode-bidi: embed
;
1007 /* @noflip */ .diff-contentalign-left td
{
1009 unicode-bidi: embed
;
1014 direction: ltr
!important
;
1015 unicode-bidi: embed
;
1019 #mw-revision-info-current,
1027 /* @noflip */ div
.tright
,
1033 /* @noflip */ div
.tleft
,
1048 unicode-bidi: embed
;
1056 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
1059 /* Print footer should be hidden by default in screen. */
1064 /* For developpers */
1070 .editsection, .toctoggle {
1071 -moz-user-select: none
;
1072 -webkit-user-select: none
;
1073 -ms-user-select: none
;