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 /* The scripts of these languages are very hard to read with underlines */
63 text-decoration: none
;
66 /* Default style for semantic tags */
70 border-bottom: 1px dotted black
;
74 /* Colored watchlist and recent changes numbers */
76 color: #006400; /* dark green */
79 color: #8b0000; /* dark red */
82 color: #aaa; /* gray */
86 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
87 * [[Special:Watchlist/edit]] and in category listings.
90 .redirect-in-category
,
95 /* Comment and username portions of RC entries */
110 vertical-align: middle
;
117 * Add a bit of margin space between the preview and the toolbar.
118 * This replaces the ugly <p><br /></p> we used to insert into the page source
124 /* Stop floats from intruding into edit area in previews */
136 border: solid
1px #ddd;
137 background-color: #fcfcfc;
140 /* Edit section links */
145 /* Correct directionality when page dir is different from site/user dir */
146 .mw-content-ltr
.editsection
,
147 .mw-content-rtl .mw-content-ltr .editsection {
151 .mw-content-rtl
.editsection
,
152 .mw-content-ltr .mw-content-rtl .editsection {
158 * File description page
161 div
.mw-filepage-resolutioninfo
{
172 table
.filehistory th
,
173 table
.filehistory td
{
176 table
.filehistory th
{
179 table
.filehistory td
.mw-imagepage-filesize
,
180 table
.filehistory th
.mw-imagepage-filesize
{
184 table
.filehistory td
.filehistory-selected
{
189 * Add a checkered background image on hover for file
190 * description pages. (bug 26470)
195 background: white url
(images
/Checker-16x16
.png
) repeat
;
202 span
.history-deleted
{
203 text-decoration: line-through
;
212 background-color: #ffa;
241 .prefsection td.mw-label {
251 table
.mw-htmlform-nolabel td
.mw-label
{
255 tr
.mw-htmlform-vertical-label td
.mw-label
{
256 text-align: left
!important
;
259 .mw-htmlform-invalid-input td.mw-input input {
262 .mw-htmlform-radio-flatlist div
.mw-htmlform-radio-item
,
263 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
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
{
454 background: url
(images
/feed-icon
.png
) center left no-repeat
;
458 /* Plainlinks - this can be used to switch
459 * off special external link styling */
461 background: none
!important
;
462 padding: 0 !important
;
464 /* External URLs should always be treated as LTR (bug 4330) */
465 /* @noflip */ .rtl a
.external
.free
,
466 .rtl a.external.autonumber {
472 * wikitable class for skinning normal tables
473 * keep in sync with commonPrint.css
476 margin: 1em 1em 1em 0;
477 background-color: #f9f9f9;
478 border: 1px #aaa solid
;
479 border-collapse: collapse
;
484 border: 1px #aaa solid
;
488 background-color: #f2f2f2;
495 /* hide initially collapsed collapsable tables */
496 table
.collapsed tr
.collapsable
{
500 /* success and error messages */
506 color: #FFA500; /* orange */
525 background-color: #fff2f2;
528 border-color: #FF8C00; /* darkorange */
529 background-color: #FFFFC0;
533 background-color: #dfd;
545 /* general info/warning box for SP */
547 border: 2px solid
#ff7f00;
560 margin: 0.5em 0.5em 0.5em 49px;
563 /* Note on preview page */
579 border: solid
1px #bbbbff;
580 background-color: #eeeeff;
587 * Transparent table with suddle borders
588 * and blue row-highlighting.
591 border-collapse: collapse
;
596 border: 1px solid
#aaaaaa;
597 padding: 0 0.15em 0 0.15em;
600 background-color: #ddddff;
603 background-color: #ffffff;
605 .mw-datatable tr:hover td {
606 background-color: #eeeeff;
611 * TablePager tables generated by the TablePager PHP class
612 * in MediaWiki (e.g. Special:ListFiles).
625 text-decoration: none
;
632 .imagelist .TablePager_col_links {
633 background-color: #eeeeff;
635 .imagelist .TablePager_col_img_description {
638 .imagelist th.TablePager_sort {
639 background-color: #ccccff;
645 border: 1px solid
#aaaaaa;
646 background-color: #f9f9f9;
649 margin-bottom: 0.5em;
656 list-style-type: none
;
660 /* Classes for EXIF data display */
664 margin-bottom: 0.5em;
668 table
.mw_metadata caption
{
672 table
.mw_metadata th
{
676 table
.mw_metadata td
{
682 border-collapse: collapse
;
685 table
.mw_metadata td
,
686 table
.mw_metadata th
{
688 border: 1px solid
#aaaaaa;
693 table
.mw_metadata th
{
694 background-color: #f9f9f9;
697 table
.mw_metadata td
{
698 background-color: #fcfcfc;
701 table
.mw_metadata ul
.metadata-langlist
{
702 list-style-type: none
;
703 list-style-image: none
;
709 /* Correct directionality when page dir is different from site/user dir */
711 .mw-content-rtl .mw-content-ltr ul {
713 margin: 0.3em 0 0 1.5em;
717 .mw-content-ltr .mw-content-rtl ul {
719 margin: 0.3em 1.5em 0 0;
723 .mw-content-rtl .mw-content-ltr ol {
725 margin: 0.3em 0 0 3.2em;
729 .mw-content-ltr .mw-content-rtl ol {
731 margin: 0.3em 3.2em 0 0;
736 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
737 /* Don't forget to update commonPrint.css */
740 border: solid
2px white
;
741 display: -moz-inline-box
;
742 display: inline-block
;
748 display: inline-block
;
761 word-wrap: break-word
;
764 li
.gallerybox div
.thumb
{
766 border: 1px solid
#ccc;
767 background-color: #f9f9f9;
771 li
.gallerybox div
.thumb img
{
780 word-wrap: break-word
;
785 background-image: url
(images
/ajax-loader
.gif
);
786 background-position: center center
;
787 background-repeat: no-repeat
;
794 padding: 10px !important
;
797 background-image: url
(images/spinner.gif);
798 background-position: center center
;
799 background-repeat: no-repeat
;
802 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
803 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
821 /* Localised ordered list numbering for some languages */
828 list-style-type: -moz-persian
;
829 list-style-type: persian
;
833 list-style-type: -moz-arabic-indic
;
834 list-style-type: arabic-indic
;
839 list-style-type: -moz-bengali
;
840 list-style-type: bengali
;
844 list-style-type: -moz-oriya
;
845 list-style-type: oriya
;
852 /* Correct directionality when page dir is different from site/user dir */
853 /* @noflip */ .mw-content-ltr
.toc ul
,
854 .mw-content-ltr #toc ul
,
855 .mw-content-rtl
.mw-content-ltr
.toc ul
,
856 .mw-content-rtl .mw-content-ltr #toc ul {
859 /* @noflip */ .mw-content-rtl
.toc ul
,
860 .mw-content-rtl #toc ul
,
861 .mw-content-ltr
.mw-content-rtl
.toc ul
,
862 .mw-content-ltr .mw-content-rtl #toc ul {
865 /* @noflip */ .mw-content-ltr
.toc ul ul
,
866 .mw-content-ltr #toc ul ul
,
867 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
868 .mw-content-rtl .mw-content-ltr #toc ul ul {
871 /* @noflip */ .mw-content-rtl
.toc ul ul
,
872 .mw-content-rtl #toc ul ul
,
873 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
874 .mw-content-ltr .mw-content-rtl #toc ul ul {
886 .mw-help-field-hint {
892 background-image: url
('images/help-question.gif');
893 background-position: left center
;
894 background-repeat: no-repeat
;
897 text-decoration: underline
;
900 .mw-help-field-hint:hover {
902 background-image: url
('images/help-question-hover.gif');
904 .mw-help-field-data {
906 background-color: #d6f3ff;
907 padding:5px 8px 4px 8px;
908 border: 1px solid
#5dc9f4;
912 padding: 5px 5px 10px;
919 padding: 5px 8px 4px 8px;
920 background-color: #d6f3ff;
922 border: 1px solid
#5dc9f4;
929 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
933 .tipsy-se .tipsy-arrow {
936 background-position: 0% 100%;
939 /* LTR content in RTL layout */
955 /* Correct user & content directionality when viewing a diff */
956 .diff-currentversion-title
,
961 /* @noflip */ .diff-contentalign-right td
{
965 /* @noflip */ .diff-contentalign-left td
{
972 direction: ltr
!important
;
983 /* @noflip */ div
.tright
,
989 /* @noflip */ div
.tleft
,
1004 unicode-bidi: embed
;
1011 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */