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 black
;
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 */
125 border: solid
1px #ddd;
126 background-color: #fcfcfc;
129 /* Edit section links */
134 /* Correct directionality when page dir is different from site/user dir */
135 .mw-content-ltr
.editsection
,
136 .mw-content-rtl .mw-content-ltr .editsection {
140 .mw-content-rtl
.editsection
,
141 .mw-content-ltr .mw-content-rtl .editsection {
147 * File description page
150 div
.mw-filepage-resolutioninfo
{
161 table
.filehistory th
,
162 table
.filehistory td
{
165 table
.filehistory th
{
168 table
.filehistory td
.mw-imagepage-filesize
,
169 table
.filehistory th
.mw-imagepage-filesize
{
173 table
.filehistory td
.filehistory-selected
{
178 * Add a checkered background image on hover for file
179 * description pages. (bug 26470)
184 background: white url
(images
/Checker-16x16
.png
) repeat
;
191 span
.history-deleted
{
192 text-decoration: line-through
;
201 background-color: #ffa;
230 .prefsection td.mw-label {
240 table
.mw-htmlform-nolabel td
.mw-label
{
244 tr
.mw-htmlform-vertical-label td
.mw-label
{
245 text-align: left
!important
;
248 .mw-htmlform-invalid-input td.mw-input input {
251 .mw-htmlform-radio-flatlist div
.mw-htmlform-radio-item
,
252 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
280 list-style-type: none
;
281 list-style-image: none
;
282 vertical-align: middle
!ie
;
286 display: inline-block
;
288 border-left: 1px solid
#AAA;
295 .catlinks li:first-child {
296 padding-left: 0.25em;
302 .mw-hidden-cats-hidden {
305 .catlinks-allhidden {
309 /* Convenience links to edit block, delete and protect reasons */
310 p
.mw-ipb-conveniencelinks
,
311 p
.mw-protect-editreasons
,
312 p
.mw-filedelete-editreasons
,
313 p
.mw-delete-editreasons
,
314 p
.mw-revdel-editreasons
{
320 * OpenSearch ajax suggestions
329 background-color: white
;
331 border-color: #AAAAAA;
337 table
.os-suggest-results
{
341 border-collapse: collapse
;
346 .os-suggest-result-hl {
348 background-color: white
;
352 .os-suggest-result-hl
,
353 .os-suggest-result-hl-webkit {
354 background-color: #4C59A6;
363 .os-suggest-toggle-def {
371 /* Page history styling */
373 /* The auto-generated edit comments */
377 #pagehistory .history-user
{
381 #pagehistory span
.minor
{
385 border: 1px solid white
;
387 #pagehistory li
.selected
{
388 background-color: #f9f9f9;
389 border: 1px dashed
#aaa;
392 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
396 /** Generic minor/bot/newpage styling (recent changes) */
404 #shared-image-conflict {
409 * Recreating deleted page warning
410 * Reupload file warning
411 * Page protection warning
412 * incl. log entries for these warnings
414 div
.mw-warning-with-logexcerpt
{
417 border: 2px solid
#2F6FAB;
420 div
.mw-warning-with-logexcerpt ul li
{
424 /* (show/hide) revision deletion links */
425 span
.mw-revdelundel-link
,
426 strong
.mw-revdelundel-link
{
429 span
.mw-revdelundel-hidden
,
430 input
.mw-revdelundel-hidden
{
434 td
.mw-revdel-checkbox
,
435 th
.mw-revdel-checkbox
{
443 background: url
(images
/feed-icon
.png
) center left no-repeat
;
447 /* Plainlinks - this can be used to switch
448 * off special external link styling */
450 background: none
!important
;
451 padding: 0 !important
;
453 /* External URLs should always be treated as LTR (bug 4330) */
454 /* @noflip */ .rtl a
.external
.free
,
455 .rtl a.external.autonumber {
461 * wikitable class for skinning normal tables
462 * keep in sync with commonPrint.css
465 margin: 1em 1em 1em 0;
466 background-color: #f9f9f9;
467 border: 1px #aaa solid
;
468 border-collapse: collapse
;
473 border: 1px #aaa solid
;
477 background-color: #f2f2f2;
484 /* hide initially collapsed collapsable tables */
485 table
.collapsed tr
.collapsable
{
489 /* success and error messages */
495 color: #FFA500; /* orange */
514 background-color: #fff2f2;
517 border-color: #FF8C00; /* darkorange */
518 background-color: #FFFFC0;
522 background-color: #dfd;
534 /* general info/warning box for SP */
536 border: 2px solid
#ff7f00;
549 margin: 0.5em 0.5em 0.5em 49px;
552 /* Note on preview page */
568 border: solid
1px #bbbbff;
569 background-color: #eeeeff;
576 * Transparent table with suddle borders
577 * and blue row-highlighting.
580 border-collapse: collapse
;
585 border: 1px solid
#aaaaaa;
586 padding: 0 0.15em 0 0.15em;
589 background-color: #ddddff;
592 background-color: #ffffff;
594 .mw-datatable tr:hover td {
595 background-color: #eeeeff;
600 * TablePager tables generated by the TablePager PHP class
601 * in MediaWiki (e.g. Special:ListFiles).
614 text-decoration: none
;
621 .imagelist .TablePager_col_links {
622 background-color: #eeeeff;
624 .imagelist .TablePager_col_img_description {
627 .imagelist th.TablePager_sort {
628 background-color: #ccccff;
634 border: 1px solid
#aaaaaa;
635 background-color: #f9f9f9;
638 margin-bottom: 0.5em;
645 list-style-type: none
;
649 /* Classes for EXIF data display */
653 margin-bottom: 0.5em;
657 table
.mw_metadata caption
{
661 table
.mw_metadata th
{
665 table
.mw_metadata td
{
671 border-collapse: collapse
;
674 table
.mw_metadata td
,
675 table
.mw_metadata th
{
677 border: 1px solid
#aaaaaa;
682 table
.mw_metadata th
{
683 background-color: #f9f9f9;
686 table
.mw_metadata td
{
687 background-color: #fcfcfc;
690 table
.mw_metadata ul
.metadata-langlist
{
691 list-style-type: none
;
692 list-style-image: none
;
698 /* Correct directionality when page dir is different from site/user dir */
700 .mw-content-rtl .mw-content-ltr ul {
702 margin: 0.3em 0 0 1.5em;
706 .mw-content-ltr .mw-content-rtl ul {
708 margin: 0.3em 1.5em 0 0;
712 .mw-content-rtl .mw-content-ltr ol {
714 margin: 0.3em 0 0 3.2em;
718 .mw-content-ltr .mw-content-rtl ol {
720 margin: 0.3em 3.2em 0 0;
725 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
726 /* Don't forget to update commonPrint.css */
729 border: solid
2px white
;
730 display: -moz-inline-box
;
731 display: inline-block
;
737 display: inline-block
;
750 word-wrap: break-word
;
753 li
.gallerybox div
.thumb
{
755 border: 1px solid
#ccc;
756 background-color: #f9f9f9;
760 li
.gallerybox div
.thumb img
{
769 word-wrap: break-word
;
774 background-image: url
(images
/ajax-loader
.gif
);
775 background-position: center center
;
776 background-repeat: no-repeat
;
783 padding: 10px !important
;
786 background-image: url
(images/spinner.gif);
787 background-position: center center
;
788 background-repeat: no-repeat
;
791 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
792 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
810 /* Localised ordered list numbering for some languages */
817 list-style-type: -moz-persian
;
818 list-style-type: persian
;
822 list-style-type: -moz-arabic-indic
;
823 list-style-type: arabic-indic
;
828 list-style-type: -moz-bengali
;
829 list-style-type: bengali
;
833 list-style-type: -moz-oriya
;
834 list-style-type: oriya
;
841 /* Correct directionality when page dir is different from site/user dir */
842 /* @noflip */ .mw-content-ltr
.toc ul
,
843 .mw-content-ltr #toc ul
,
844 .mw-content-rtl
.mw-content-ltr
.toc ul
,
845 .mw-content-rtl .mw-content-ltr #toc ul {
848 /* @noflip */ .mw-content-rtl
.toc ul
,
849 .mw-content-rtl #toc ul
,
850 .mw-content-ltr
.mw-content-rtl
.toc ul
,
851 .mw-content-ltr .mw-content-rtl #toc ul {
854 /* @noflip */ .mw-content-ltr
.toc ul ul
,
855 .mw-content-ltr #toc ul ul
,
856 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
857 .mw-content-rtl .mw-content-ltr #toc ul ul {
860 /* @noflip */ .mw-content-rtl
.toc ul ul
,
861 .mw-content-rtl #toc ul ul
,
862 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
863 .mw-content-ltr .mw-content-rtl #toc ul ul {
875 .mw-help-field-hint {
881 background-image: url
('images/help-question.gif');
882 background-position: left center
;
883 background-repeat: no-repeat
;
886 text-decoration: underline
;
889 .mw-help-field-hint:hover {
891 background-image: url
('images/help-question-hover.gif');
893 .mw-help-field-data {
895 background-color: #d6f3ff;
896 padding:5px 8px 4px 8px;
897 border: 1px solid
#5dc9f4;
901 padding: 5px 5px 10px;
908 padding: 5px 8px 4px 8px;
909 background-color: #d6f3ff;
911 border: 1px solid
#5dc9f4;
918 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
922 .tipsy-se .tipsy-arrow {
925 background-position: 0% 100%;
928 /* LTR content in RTL layout */
944 /* Correct user & content directionality when viewing a diff */
945 .diff-currentversion-title
,
950 /* @noflip */ .diff-contentalign-right td
{
954 /* @noflip */ .diff-contentalign-left td
{
961 direction: ltr
!important
;
972 /* @noflip */ div
.tright
,
978 /* @noflip */ div
.tleft
,
1000 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */