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
{
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 {
250 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
277 list-style-type: none
;
278 list-style-image: none
;
279 vertical-align: middle
!ie
;
283 display: inline-block
;
286 border-left: 1px solid
#AAA;
292 #catlinks li:first-child
{
299 .mw-hidden-cats-hidden {
302 .catlinks-allhidden {
306 /* Convenience links to edit block, delete and protect reasons */
307 p
.mw-ipb-conveniencelinks
,
308 p
.mw-protect-editreasons
,
309 p
.mw-filedelete-editreasons
,
310 p
.mw-delete-editreasons
,
311 p
.mw-revdel-editreasons
{
317 * OpenSearch ajax suggestions
326 background-color: white
;
327 background-color: Window
;
329 border-color: #AAAAAA;
335 table
.os-suggest-results
{
339 border-collapse: collapse
;
344 .os-suggest-result-hl {
346 background-color: white
;
347 background-color: Window
;
352 .os-suggest-result-hl
,
353 .os-suggest-result-hl-webkit {
354 background-color: #4C59A6;
357 .os-suggest-result-hl {
358 /* System colors are misimplemented in Safari 3.0 and earlier,
359 * making highlighted text illegible...
361 background-color: Highlight
;
362 color: HighlightText
;
370 .os-suggest-toggle-def {
378 /* Page history styling */
380 /* The auto-generated edit comments */
384 #pagehistory .history-user
{
388 #pagehistory span
.minor
{
392 border: 1px solid white
;
394 #pagehistory li
.selected
{
395 background-color: #f9f9f9;
396 border: 1px dashed
#aaa;
399 /** Generic minor/bot/newpage styling (recent changes) */
407 #shared-image-conflict {
412 * Recreating deleted page warning
413 * Reupload file warning
414 * Page protection warning
415 * incl. log entries for these warnings
417 div
.mw-warning-with-logexcerpt
{
420 border: 2px solid
#2F6FAB;
423 div
.mw-warning-with-logexcerpt ul li
{
427 /* (show/hide) revision deletion links */
428 span
.mw-revdelundel-link
,
429 strong
.mw-revdelundel-link
{
432 span
.mw-revdelundel-hidden
,
433 input
.mw-revdelundel-hidden
{
437 td
.mw-revdel-checkbox
,
438 th
.mw-revdel-checkbox
{
446 background: url
("images/feed-icon.png") center left no-repeat
;
450 /* Plainlinks - this can be used to switch
451 * off special external link styling */
453 background: none
!important
;
454 padding: 0 !important
;
456 /* External URLs should always be treated as LTR (bug 4330) */
457 /* @noflip */ .rtl a
.external
.free
,
458 .rtl a.external.autonumber {
463 /* wikitable class for skinning normal tables
464 * keep on sync with commonPrint.css
467 margin: 1em 1em 1em 0;
469 border: 1px #aaa solid
;
470 border-collapse: collapse
;
475 border: 1px #aaa solid
;
486 /* hide initially collapsed collapsable tables */
487 table
.collapsed tr
.collapsable
{
491 /* success and error messages */
497 color: #FFA500; /* orange */
516 background-color: #fff2f2;
519 border-color: #FF8C00; /* darkorange */
520 background-color: #FFFFC0;
524 background-color: #dfd;
536 /* general info/warning box for SP */
538 border: 2px solid
#ff7f00;
551 margin: 0.5em 0.5em 0.5em 49px;
554 /* Note on preview page */
570 border: solid
1px #bbbbff;
571 background-color: #eeeeff;
578 * Transparent table with suddle borders
579 * and blue row-highlighting.
582 border-collapse: collapse
;
587 border: 1px solid
#aaaaaa;
588 padding: 0 0.15em 0 0.15em;
591 background-color: #ddddff;
594 background-color: #ffffff;
596 .mw-datatable tr:hover td {
597 background-color: #eeeeff;
602 * TablePager tables generated by the TablePager PHP class
603 * in MediaWiki (e.g. Special:ListFiles).
616 text-decoration: none
;
623 .imagelist .TablePager_col_links {
624 background-color: #eeeeff;
626 .imagelist .TablePager_col_img_description {
629 .imagelist th.TablePager_sort {
630 background-color: #ccccff;
636 border: 1px solid
#aaaaaa;
637 background-color: #f9f9f9;
640 margin-bottom: 0.5em;
647 list-style-type: none
;
651 /* Classes for EXIF data display */
655 margin-bottom: 0.5em;
659 table
.mw_metadata caption
{
663 table
.mw_metadata th
{
667 table
.mw_metadata td
{
673 border-collapse: collapse
;
676 table
.mw_metadata td
,
677 table
.mw_metadata th
{
679 border: 1px solid
#aaaaaa;
684 table
.mw_metadata th
{
685 background-color: #f9f9f9;
688 table
.mw_metadata td
{
689 background-color: #fcfcfc;
692 table
.mw_metadata ul
.metadata-langlist
{
693 list-style-type: none
;
694 list-style-image: none
;
700 /* Correct directionality when page dir is different from site/user dir */
702 .mw-content-rtl .mw-content-ltr ul {
704 margin: 0.3em 0 0 1.5em;
707 .mw-content-ltr .mw-content-rtl ul {
709 margin: 0.3em 1.5em 0 0;
712 .mw-content-rtl .mw-content-ltr ol {
714 margin: 0.3em 0 0 3.2em;
717 .mw-content-ltr .mw-content-rtl ol {
719 margin: 0.3em 3.2em 0 0;
723 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
724 /* Don't forget to update commonPrint.css */
727 border: solid
2px white
;
728 display: -moz-inline-box
;
729 display: inline-block
;
735 display: inline-block
;
748 word-wrap: break-word
;
751 li
.gallerybox div
.thumb
{
753 border: 1px solid
#ccc;
754 background-color: #f9f9f9;
758 li
.gallerybox div
.thumb img
{
767 word-wrap: break-word
;
772 background-image: url
(images
/ajax-loader
.gif
);
773 background-position: center center
;
774 background-repeat: no-repeat
;
781 padding: 10px !important
;
784 background-image: url
(images/spinner.gif);
785 background-position: center center
;
786 background-repeat: no-repeat
;
789 /* Localised ordered list numbering for some languages */
796 list-style-type: -moz-persian
;
797 list-style-type: persian
;
801 list-style-type: -moz-arabic-indic
;
802 list-style-type: arabic-indic
;
806 list-style-type: -moz-bengali
;
807 list-style-type: bengali
;
811 list-style-type: -moz-oriya
;
812 list-style-type: oriya
;
815 /* Correct directionality when page dir is different from site/user dir */
816 /* @noflip */ .mw-content-ltr
.toc ul
,
817 .mw-content-ltr #toc ul
,
818 .mw-content-rtl
.mw-content-ltr
.toc ul
,
819 .mw-content-rtl .mw-content-ltr #toc ul {
823 /* @noflip */ .mw-content-rtl
.toc ul
,
824 .mw-content-rtl #toc ul
,
825 .mw-content-ltr
.mw-content-rtl
.toc ul
,
826 .mw-content-ltr .mw-content-rtl #toc ul {
830 /* @noflip */ .mw-content-ltr
.toc ul ul
,
831 .mw-content-ltr #toc ul ul
,
832 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
833 .mw-content-rtl .mw-content-ltr #toc ul ul {
836 /* @noflip */ .mw-content-rtl
.toc ul ul
,
837 .mw-content-rtl #toc ul ul
,
838 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
839 .mw-content-ltr .mw-content-rtl #toc ul ul {
844 .mw-help-field-hint {
848 padding: 0px 0px 0px 15px;
850 background-image: url
('images/help-question.gif');
851 background-position: left center
;
852 background-repeat: no-repeat
;
855 text-decoration: underline
;
858 .mw-help-field-hint:hover {
860 background-image: url
('images/help-question-hover.gif');
862 .mw-help-field-data {
864 background-color: #d6f3ff;
865 padding:5px 8px 4px 8px;
866 border: 1px solid
#5dc9f4;
870 padding: 5px 5px 10px;
877 padding: 5px 8px 4px 8px;
878 background-color: #d6f3ff;
880 border: 1px solid
#5dc9f4;
887 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
891 .tipsy-se .tipsy-arrow {
894 background-position: 0% 100%;
898 background-image: url
(images/sort_both.gif);
900 background-repeat: no-repeat
;
901 background-position: center right
;
905 background-image: url
(images/sort_up.gif);
908 background-image: url
(images/sort_down.gif);
911 /* LTR content in RTL layout */
927 /* Correct user & content directionality when viewing a diff */
928 .diff-currentversion-title
,
933 /* @noflip */ .diff-contentalign-right td
{
937 /* @noflip */ .diff-contentalign-left td
{
944 direction: ltr
!important
;
955 /* @noflip */ div
.tright
,
961 /* @noflip */ div
.tleft
,