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 */
146 /* Correct directionality when page dir is different from site/user dir */
147 .mw-content-ltr
.editsection
,
148 .mw-content-rtl .mw-content-ltr .editsection {
152 .mw-content-rtl
.editsection
,
153 .mw-content-ltr .mw-content-rtl .editsection {
159 * File description page
162 div
.mw-filepage-resolutioninfo
{
173 table
.filehistory th
,
174 table
.filehistory td
{
177 table
.filehistory th
{
180 table
.filehistory td
.mw-imagepage-filesize
,
181 table
.filehistory th
.mw-imagepage-filesize
{
185 table
.filehistory td
.filehistory-selected
{
190 * Add a checkered background image on hover for file
191 * description pages. (bug 26470)
196 background: white url
(images
/Checker-16x16
.png
) repeat
;
203 span
.history-deleted
{
204 text-decoration: line-through
;
213 background-color: #ffa;
242 .prefsection td.mw-label {
252 table
.mw-htmlform-nolabel td
.mw-label
{
256 tr
.mw-htmlform-vertical-label td
.mw-label
{
257 text-align: left
!important
;
260 .mw-htmlform-invalid-input td.mw-input input {
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
;
300 border-left: 1px solid
#AAA;
306 .catlinks li:first-child {
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
;
341 background-color: Window
;
343 border-color: #AAAAAA;
349 table
.os-suggest-results
{
353 border-collapse: collapse
;
358 .os-suggest-result-hl {
360 background-color: white
;
361 background-color: Window
;
366 .os-suggest-result-hl
,
367 .os-suggest-result-hl-webkit {
368 background-color: #4C59A6;
371 .os-suggest-result-hl {
372 /* System colors are misimplemented in Safari 3.0 and earlier,
373 * making highlighted text illegible...
375 background-color: Highlight
;
376 color: HighlightText
;
384 .os-suggest-toggle-def {
392 /* Page history styling */
394 /* The auto-generated edit comments */
398 #pagehistory .history-user
{
402 #pagehistory span
.minor
{
406 border: 1px solid white
;
408 #pagehistory li
.selected
{
409 background-color: #f9f9f9;
410 border: 1px dashed
#aaa;
413 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
417 /** Generic minor/bot/newpage styling (recent changes) */
425 #shared-image-conflict {
430 * Recreating deleted page warning
431 * Reupload file warning
432 * Page protection warning
433 * incl. log entries for these warnings
435 div
.mw-warning-with-logexcerpt
{
438 border: 2px solid
#2F6FAB;
441 div
.mw-warning-with-logexcerpt ul li
{
445 /* (show/hide) revision deletion links */
446 span
.mw-revdelundel-link
,
447 strong
.mw-revdelundel-link
{
450 span
.mw-revdelundel-hidden
,
451 input
.mw-revdelundel-hidden
{
455 td
.mw-revdel-checkbox
,
456 th
.mw-revdel-checkbox
{
464 background: url
("images/feed-icon.png") center left no-repeat
;
468 /* Plainlinks - this can be used to switch
469 * off special external link styling */
471 background: none
!important
;
472 padding: 0 !important
;
474 /* External URLs should always be treated as LTR (bug 4330) */
475 /* @noflip */ .rtl a
.external
.free
,
476 .rtl a.external.autonumber {
481 /* wikitable class for skinning normal tables
482 * keep on sync with commonPrint.css
485 margin: 1em 1em 1em 0;
487 border: 1px #aaa solid
;
488 border-collapse: collapse
;
493 border: 1px #aaa solid
;
504 /* hide initially collapsed collapsable tables */
505 table
.collapsed tr
.collapsable
{
509 /* success and error messages */
515 color: #FFA500; /* orange */
534 background-color: #fff2f2;
537 border-color: #FF8C00; /* darkorange */
538 background-color: #FFFFC0;
542 background-color: #dfd;
554 /* general info/warning box for SP */
556 border: 2px solid
#ff7f00;
569 margin: 0.5em 0.5em 0.5em 49px;
572 /* Note on preview page */
588 border: solid
1px #bbbbff;
589 background-color: #eeeeff;
596 * Transparent table with suddle borders
597 * and blue row-highlighting.
600 border-collapse: collapse
;
605 border: 1px solid
#aaaaaa;
606 padding: 0 0.15em 0 0.15em;
609 background-color: #ddddff;
612 background-color: #ffffff;
614 .mw-datatable tr:hover td {
615 background-color: #eeeeff;
620 * TablePager tables generated by the TablePager PHP class
621 * in MediaWiki (e.g. Special:ListFiles).
634 text-decoration: none
;
641 .imagelist .TablePager_col_links {
642 background-color: #eeeeff;
644 .imagelist .TablePager_col_img_description {
647 .imagelist th.TablePager_sort {
648 background-color: #ccccff;
654 border: 1px solid
#aaaaaa;
655 background-color: #f9f9f9;
658 margin-bottom: 0.5em;
665 list-style-type: none
;
669 /* Classes for EXIF data display */
673 margin-bottom: 0.5em;
677 table
.mw_metadata caption
{
681 table
.mw_metadata th
{
685 table
.mw_metadata td
{
691 border-collapse: collapse
;
694 table
.mw_metadata td
,
695 table
.mw_metadata th
{
697 border: 1px solid
#aaaaaa;
702 table
.mw_metadata th
{
703 background-color: #f9f9f9;
706 table
.mw_metadata td
{
707 background-color: #fcfcfc;
710 table
.mw_metadata ul
.metadata-langlist
{
711 list-style-type: none
;
712 list-style-image: none
;
718 /* Correct directionality when page dir is different from site/user dir */
720 .mw-content-rtl .mw-content-ltr ul {
722 margin: 0.3em 0 0 1.5em;
726 .mw-content-ltr .mw-content-rtl ul {
728 margin: 0.3em 1.5em 0 0;
732 .mw-content-rtl .mw-content-ltr ol {
734 margin: 0.3em 0 0 3.2em;
738 .mw-content-ltr .mw-content-rtl ol {
740 margin: 0.3em 3.2em 0 0;
745 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
746 /* Don't forget to update commonPrint.css */
749 border: solid
2px white
;
750 display: -moz-inline-box
;
751 display: inline-block
;
757 display: inline-block
;
770 word-wrap: break-word
;
773 li
.gallerybox div
.thumb
{
775 border: 1px solid
#ccc;
776 background-color: #f9f9f9;
780 li
.gallerybox div
.thumb img
{
789 word-wrap: break-word
;
794 background-image: url
(images
/ajax-loader
.gif
);
795 background-position: center center
;
796 background-repeat: no-repeat
;
803 padding: 10px !important
;
806 background-image: url
(images/spinner.gif);
807 background-position: center center
;
808 background-repeat: no-repeat
;
811 /* Localised ordered list numbering for some languages */
818 list-style-type: -moz-persian
;
819 list-style-type: persian
;
823 list-style-type: -moz-arabic-indic
;
824 list-style-type: arabic-indic
;
829 list-style-type: -moz-bengali
;
830 list-style-type: bengali
;
834 list-style-type: -moz-oriya
;
835 list-style-type: oriya
;
842 /* Correct directionality when page dir is different from site/user dir */
843 /* @noflip */ .mw-content-ltr
.toc ul
,
844 .mw-content-ltr #toc ul
,
845 .mw-content-rtl
.mw-content-ltr
.toc ul
,
846 .mw-content-rtl .mw-content-ltr #toc ul {
849 /* @noflip */ .mw-content-rtl
.toc ul
,
850 .mw-content-rtl #toc ul
,
851 .mw-content-ltr
.mw-content-rtl
.toc ul
,
852 .mw-content-ltr .mw-content-rtl #toc ul {
855 /* @noflip */ .mw-content-ltr
.toc ul ul
,
856 .mw-content-ltr #toc ul ul
,
857 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
858 .mw-content-rtl .mw-content-ltr #toc ul ul {
861 /* @noflip */ .mw-content-rtl
.toc ul ul
,
862 .mw-content-rtl #toc ul ul
,
863 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
864 .mw-content-ltr .mw-content-rtl #toc ul ul {
876 .mw-help-field-hint {
880 padding: 0px 0px 0px 15px;
882 background-image: url
('images/help-question.gif');
883 background-position: left center
;
884 background-repeat: no-repeat
;
887 text-decoration: underline
;
890 .mw-help-field-hint:hover {
892 background-image: url
('images/help-question-hover.gif');
894 .mw-help-field-data {
896 background-color: #d6f3ff;
897 padding:5px 8px 4px 8px;
898 border: 1px solid
#5dc9f4;
902 padding: 5px 5px 10px;
909 padding: 5px 8px 4px 8px;
910 background-color: #d6f3ff;
912 border: 1px solid
#5dc9f4;
919 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
923 .tipsy-se .tipsy-arrow {
926 background-position: 0% 100%;
930 background-image: url
(images/sort_both.gif);
932 background-repeat: no-repeat
;
933 background-position: center right
;
937 background-image: url
(images/sort_up.gif);
940 background-image: url
(images/sort_down.gif);
943 /* LTR content in RTL layout */
959 /* Correct user & content directionality when viewing a diff */
960 .diff-currentversion-title
,
965 /* @noflip */ .diff-contentalign-right td
{
969 /* @noflip */ .diff-contentalign-left td
{
976 direction: ltr
!important
;
987 /* @noflip */ div
.tright
,
993 /* @noflip */ div
.tleft
,
1008 unicode-bidi: embed
;