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 .mw-float-start { float: left
; }
56 .mw-float-end { float: right
; }
57 .mw-align-start { text-align: left
; }
58 .mw-align-end { text-align: right
; }
60 /* The scripts of these languages are very hard to read with underlines */
68 text-decoration: none
;
71 /* Default style for semantic tags */
75 border-bottom: 1px dotted black
;
79 /* Colored watchlist and recent changes numbers */
81 color: #006400; /* dark green */
84 color: #8b0000; /* dark red */
87 color: #aaa; /* gray */
91 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
92 * [[Special:Watchlist/edit]] and in category listings.
95 .redirect-in-category
,
100 /* Comment and username portions of RC entries */
115 vertical-align: middle
;
122 * Add a bit of margin space between the preview and the toolbar.
123 * This replaces the ugly <p><br /></p> we used to insert into the page source
129 /* Stop floats from intruding into edit area in previews */
141 border: solid
1px #ddd;
142 background-color: #fcfcfc;
145 /* Edit section links */
151 /* Correct directionality when page dir is different from site/user dir */
152 .mw-content-ltr
.editsection
,
153 .mw-content-rtl .mw-content-ltr .editsection {
157 .mw-content-rtl
.editsection
,
158 .mw-content-ltr .mw-content-rtl .editsection {
170 table
.filehistory th
,
171 table
.filehistory td
{
174 table
.filehistory th
{
177 table
.filehistory td
.mw-imagepage-filesize
,
178 table
.filehistory th
.mw-imagepage-filesize
{
182 table
.filehistory td
.filehistory-selected
{
187 * Add a checkered background image on hover for file
188 * description pages. (bug 26470)
193 background: white url
(images
/Checker-16x16
.png
) repeat
;
200 span
.history-deleted
{
201 text-decoration: line-through
;
210 background-color: #ffa;
239 .prefsection td.mw-label {
249 table
.mw-htmlform-nolabel td
.mw-label
{
253 tr
.mw-htmlform-vertical-label td
.mw-label
{
254 text-align: left
!important
;
257 .mw-htmlform-invalid-input td.mw-input input {
260 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
287 list-style-type: none
;
288 list-style-image: none
;
289 vertical-align: middle
!ie
;
293 display: inline-block
;
296 border-left: 1px solid
#AAA;
302 #catlinks li:first-child
{
309 .mw-hidden-cats-hidden {
312 .catlinks-allhidden {
316 /* Convenience links to edit block, delete and protect reasons */
317 p
.mw-ipb-conveniencelinks
,
318 p
.mw-protect-editreasons
,
319 p
.mw-filedelete-editreasons
,
320 p
.mw-delete-editreasons
,
321 p
.mw-revdel-editreasons
{
327 * OpenSearch ajax suggestions
336 background-color: white
;
337 background-color: Window
;
339 border-color: #AAAAAA;
345 table
.os-suggest-results
{
349 border-collapse: collapse
;
354 .os-suggest-result-hl {
356 background-color: white
;
357 background-color: Window
;
362 .os-suggest-result-hl
,
363 .os-suggest-result-hl-webkit {
364 background-color: #4C59A6;
367 .os-suggest-result-hl {
368 /* System colors are misimplemented in Safari 3.0 and earlier,
369 * making highlighted text illegible...
371 background-color: Highlight
;
372 color: HighlightText
;
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 /** Generic minor/bot/newpage styling (recent changes) */
417 #shared-image-conflict {
422 * Recreating deleted page warning
423 * Reupload file warning
424 * Page protection warning
425 * incl. log entries for these warnings
427 div
.mw-warning-with-logexcerpt
{
430 border: 2px solid
#2F6FAB;
433 div
.mw-warning-with-logexcerpt ul li
{
437 /* (show/hide) revision deletion links */
438 span
.mw-revdelundel-link
,
439 strong
.mw-revdelundel-link
{
442 span
.mw-revdelundel-hidden
,
443 input
.mw-revdelundel-hidden
{
447 td
.mw-revdel-checkbox
,
448 th
.mw-revdel-checkbox
{
456 background: url
("images/feed-icon.png") center left no-repeat
;
460 /* Plainlinks - this can be used to switch
461 * off special external link styling */
463 background: none
!important
;
464 padding: 0 !important
;
466 /* External URLs should always be treated as LTR (bug 4330) */
467 /* @noflip */ .rtl a
.external
.free
,
468 .rtl a.external.autonumber {
473 /* wikitable class for skinning normal tables
474 * keep on sync with commonPrint.css
477 margin: 1em 1em 1em 0;
479 border: 1px #aaa solid
;
480 border-collapse: collapse
;
485 border: 1px #aaa solid
;
496 /* hide initially collapsed collapsable tables */
497 table
.collapsed tr
.collapsable
{
501 /* success and error messages */
507 color: #FFA500; /* orange */
526 background-color: #fff2f2;
529 border-color: #FF8C00; /* darkorange */
530 background-color: #FFFFC0;
534 background-color: #dfd;
546 /* general info/warning box for SP */
548 border: 2px solid
#ff7f00;
561 margin: 0.5em 0.5em 0.5em 49px;
564 /* Note on preview page */
580 border: solid
1px #bbbbff;
581 background-color: #eeeeff;
588 * Transparent table with suddle borders
589 * and blue row-highlighting.
592 border-collapse: collapse
;
597 border: 1px solid
#aaaaaa;
598 padding: 0 0.15em 0 0.15em;
601 background-color: #ddddff;
604 background-color: #ffffff;
606 .mw-datatable tr:hover td {
607 background-color: #eeeeff;
612 * TablePager tables generated by the TablePager PHP class
613 * in MediaWiki (e.g. Special:ListFiles).
626 text-decoration: none
;
633 .imagelist .TablePager_col_links {
634 background-color: #eeeeff;
636 .imagelist .TablePager_col_img_description {
639 .imagelist th.TablePager_sort {
640 background-color: #ccccff;
646 border: 1px solid
#aaaaaa;
647 background-color: #f9f9f9;
650 margin-bottom: 0.5em;
657 list-style-type: none
;
661 /* Classes for EXIF data display */
665 margin-bottom: 0.5em;
669 table
.mw_metadata caption
{
673 table
.mw_metadata th
{
677 table
.mw_metadata td
{
683 border-collapse: collapse
;
686 table
.mw_metadata td
,
687 table
.mw_metadata th
{
689 border: 1px solid
#aaaaaa;
694 table
.mw_metadata th
{
695 background-color: #f9f9f9;
698 table
.mw_metadata td
{
699 background-color: #fcfcfc;
702 table
.mw_metadata ul
.metadata-langlist
{
703 list-style-type: none
;
704 list-style-image: none
;
710 /* Correct directionality when page dir is different from site/user dir */
712 .mw-content-rtl .mw-content-ltr ul {
714 margin: 0.3em 0 0 1.5em;
717 .mw-content-ltr .mw-content-rtl ul {
719 margin: 0.3em 1.5em 0 0;
722 .mw-content-rtl .mw-content-ltr ol {
724 margin: 0.3em 0 0 3.2em;
727 .mw-content-ltr .mw-content-rtl ol {
729 margin: 0.3em 3.2em 0 0;
733 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
734 /* Don't forget to update commonPrint.css */
737 border: solid
2px white
;
738 display: -moz-inline-box
;
739 display: inline-block
;
745 display: inline-block
;
758 word-wrap: break-word
;
761 li
.gallerybox div
.thumb
{
763 border: 1px solid
#ccc;
764 background-color: #f9f9f9;
768 li
.gallerybox div
.thumb img
{
777 word-wrap: break-word
;
782 background-image: url
(images
/ajax-loader
.gif
);
783 background-position: center center
;
784 background-repeat: no-repeat
;
791 padding: 10px !important
;
794 background-image: url
(images/spinner.gif);
795 background-position: center center
;
796 background-repeat: no-repeat
;
799 /* Localised ordered list numbering for some languages */
806 list-style-type: -moz-persian
;
807 list-style-type: persian
;
811 list-style-type: -moz-arabic-indic
;
812 list-style-type: arabic-indic
;
816 list-style-type: -moz-bengali
;
817 list-style-type: bengali
;
821 list-style-type: -moz-oriya
;
822 list-style-type: oriya
;
825 /* Correct directionality when page dir is different from site/user dir */
826 /* @noflip */ .mw-content-ltr
.toc ul
,
827 .mw-content-ltr #toc ul
,
828 .mw-content-rtl
.mw-content-ltr
.toc ul
,
829 .mw-content-rtl .mw-content-ltr #toc ul {
833 /* @noflip */ .mw-content-rtl
.toc ul
,
834 .mw-content-rtl #toc ul
,
835 .mw-content-ltr
.mw-content-rtl
.toc ul
,
836 .mw-content-ltr .mw-content-rtl #toc ul {
840 /* @noflip */ .mw-content-ltr
.toc ul ul
,
841 .mw-content-ltr #toc ul ul
,
842 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
843 .mw-content-rtl .mw-content-ltr #toc ul ul {
846 /* @noflip */ .mw-content-rtl
.toc ul ul
,
847 .mw-content-rtl #toc ul ul
,
848 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
849 .mw-content-ltr .mw-content-rtl #toc ul ul {
854 .mw-help-field-hint {
858 padding: 0px 0px 0px 15px;
860 background-image: url
('images/help-question.gif');
861 background-position: left center
;
862 background-repeat: no-repeat
;
865 text-decoration: underline
;
868 .mw-help-field-hint:hover {
870 background-image: url
('images/help-question-hover.gif');
872 .mw-help-field-data {
874 background-color: #d6f3ff;
875 padding:5px 8px 4px 8px;
876 border: 1px solid
#5dc9f4;
880 padding: 5px 5px 10px;
887 padding: 5px 8px 4px 8px;
888 background-color: #d6f3ff;
890 border: 1px solid
#5dc9f4;
897 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
901 .tipsy-se .tipsy-arrow {
904 background-position: 0% 100%;
908 background-image: url
(images/sort_both.gif);
910 background-repeat: no-repeat
;
911 background-position: center right
;
915 background-image: url
(images/sort_up.gif);
918 background-image: url
(images/sort_down.gif);
921 /* LTR content in RTL layout */
937 /* Correct user & content directionality when viewing a diff */
938 .diff-currentversion-title
,
943 /* @noflip */ .diff-contentalign-right td
{
947 /* @noflip */ .diff-contentalign-left td
{
954 direction: ltr
!important
;
965 /* @noflip */ div
.tright
,
971 /* @noflip */ div
.tleft
,