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 {
165 table
.filehistory th
,
166 table
.filehistory td
{
169 table
.filehistory th
{
172 table
.filehistory td
.mw-imagepage-filesize
,
173 table
.filehistory th
.mw-imagepage-filesize
{
177 table
.filehistory td
.filehistory-selected
{
182 * Add a checkered background image on hover for file
183 * description pages. (bug 26470)
188 background: white url
(images
/Checker-16x16
.png
) repeat
;
195 span
.history-deleted
{
196 text-decoration: line-through
;
205 background-color: #ffa;
234 .prefsection td.mw-label {
244 table
.mw-htmlform-nolabel td
.mw-label
{
248 tr
.mw-htmlform-vertical-label td
.mw-label
{
249 text-align: left
!important
;
252 .mw-htmlform-invalid-input td.mw-input input {
255 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
282 list-style-type: none
;
283 list-style-image: none
;
284 vertical-align: middle
!ie
;
288 display: inline-block
;
291 border-left: 1px solid
#AAA;
297 .catlinks li:first-child {
304 .mw-hidden-cats-hidden {
307 .catlinks-allhidden {
311 /* Convenience links to edit block, delete and protect reasons */
312 p
.mw-ipb-conveniencelinks
,
313 p
.mw-protect-editreasons
,
314 p
.mw-filedelete-editreasons
,
315 p
.mw-delete-editreasons
,
316 p
.mw-revdel-editreasons
{
322 * OpenSearch ajax suggestions
331 background-color: white
;
332 background-color: Window
;
334 border-color: #AAAAAA;
340 table
.os-suggest-results
{
344 border-collapse: collapse
;
349 .os-suggest-result-hl {
351 background-color: white
;
352 background-color: Window
;
357 .os-suggest-result-hl
,
358 .os-suggest-result-hl-webkit {
359 background-color: #4C59A6;
362 .os-suggest-result-hl {
363 /* System colors are misimplemented in Safari 3.0 and earlier,
364 * making highlighted text illegible...
366 background-color: Highlight
;
367 color: HighlightText
;
375 .os-suggest-toggle-def {
383 /* Page history styling */
385 /* The auto-generated edit comments */
389 #pagehistory .history-user
{
393 #pagehistory span
.minor
{
397 border: 1px solid white
;
399 #pagehistory li
.selected
{
400 background-color: #f9f9f9;
401 border: 1px dashed
#aaa;
404 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
408 /** Generic minor/bot/newpage styling (recent changes) */
416 #shared-image-conflict {
421 * Recreating deleted page warning
422 * Reupload file warning
423 * Page protection warning
424 * incl. log entries for these warnings
426 div
.mw-warning-with-logexcerpt
{
429 border: 2px solid
#2F6FAB;
432 div
.mw-warning-with-logexcerpt ul li
{
436 /* (show/hide) revision deletion links */
437 span
.mw-revdelundel-link
,
438 strong
.mw-revdelundel-link
{
441 span
.mw-revdelundel-hidden
,
442 input
.mw-revdelundel-hidden
{
446 td
.mw-revdel-checkbox
,
447 th
.mw-revdel-checkbox
{
455 background: url
("images/feed-icon.png") center left no-repeat
;
459 /* Plainlinks - this can be used to switch
460 * off special external link styling */
462 background: none
!important
;
463 padding: 0 !important
;
465 /* External URLs should always be treated as LTR (bug 4330) */
466 /* @noflip */ .rtl a
.external
.free
,
467 .rtl a.external.autonumber {
472 /* wikitable class for skinning normal tables
473 * keep on sync with commonPrint.css
476 margin: 1em 1em 1em 0;
478 border: 1px #aaa solid
;
479 border-collapse: collapse
;
484 border: 1px #aaa solid
;
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 /* Localised ordered list numbering for some languages */
809 list-style-type: -moz-persian
;
810 list-style-type: persian
;
814 list-style-type: -moz-arabic-indic
;
815 list-style-type: arabic-indic
;
820 list-style-type: -moz-bengali
;
821 list-style-type: bengali
;
825 list-style-type: -moz-oriya
;
826 list-style-type: oriya
;
833 /* Correct directionality when page dir is different from site/user dir */
834 /* @noflip */ .mw-content-ltr
.toc ul
,
835 .mw-content-ltr #toc ul
,
836 .mw-content-rtl
.mw-content-ltr
.toc ul
,
837 .mw-content-rtl .mw-content-ltr #toc ul {
840 /* @noflip */ .mw-content-rtl
.toc ul
,
841 .mw-content-rtl #toc ul
,
842 .mw-content-ltr
.mw-content-rtl
.toc ul
,
843 .mw-content-ltr .mw-content-rtl #toc ul {
846 /* @noflip */ .mw-content-ltr
.toc ul ul
,
847 .mw-content-ltr #toc ul ul
,
848 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
849 .mw-content-rtl .mw-content-ltr #toc ul ul {
852 /* @noflip */ .mw-content-rtl
.toc ul ul
,
853 .mw-content-rtl #toc ul ul
,
854 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
855 .mw-content-ltr .mw-content-rtl #toc ul ul {
860 .mw-help-field-hint {
864 padding: 0px 0px 0px 15px;
866 background-image: url
('images/help-question.gif');
867 background-position: left center
;
868 background-repeat: no-repeat
;
871 text-decoration: underline
;
874 .mw-help-field-hint:hover {
876 background-image: url
('images/help-question-hover.gif');
878 .mw-help-field-data {
880 background-color: #d6f3ff;
881 padding:5px 8px 4px 8px;
882 border: 1px solid
#5dc9f4;
886 padding: 5px 5px 10px;
893 padding: 5px 8px 4px 8px;
894 background-color: #d6f3ff;
896 border: 1px solid
#5dc9f4;
903 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
907 .tipsy-se .tipsy-arrow {
910 background-position: 0% 100%;
914 background-image: url
(images/sort_both.gif);
916 background-repeat: no-repeat
;
917 background-position: center right
;
921 background-image: url
(images/sort_up.gif);
924 background-image: url
(images/sort_down.gif);
927 /* LTR content in RTL layout */
943 /* Correct user & content directionality when viewing a diff */
944 .diff-currentversion-title
,
949 /* @noflip */ .diff-contentalign-right td
{
953 /* @noflip */ .diff-contentalign-left td
{
960 direction: ltr
!important
;
971 /* @noflip */ div
.tright
,
977 /* @noflip */ div
.tleft
,