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-multiselect-flatlist div.mw-htmlform-multiselect-item {
290 list-style-type: none
;
291 list-style-image: none
;
292 vertical-align: middle
!ie
;
296 display: inline-block
;
299 border-left: 1px solid
#AAA;
305 .catlinks li:first-child {
312 .mw-hidden-cats-hidden {
315 .catlinks-allhidden {
319 /* Convenience links to edit block, delete and protect reasons */
320 p
.mw-ipb-conveniencelinks
,
321 p
.mw-protect-editreasons
,
322 p
.mw-filedelete-editreasons
,
323 p
.mw-delete-editreasons
,
324 p
.mw-revdel-editreasons
{
330 * OpenSearch ajax suggestions
339 background-color: white
;
341 border-color: #AAAAAA;
347 table
.os-suggest-results
{
351 border-collapse: collapse
;
356 .os-suggest-result-hl {
358 background-color: white
;
362 .os-suggest-result-hl
,
363 .os-suggest-result-hl-webkit {
364 background-color: #4C59A6;
373 .os-suggest-toggle-def {
381 /* Page history styling */
383 /* The auto-generated edit comments */
387 #pagehistory .history-user
{
391 #pagehistory span
.minor
{
395 border: 1px solid white
;
397 #pagehistory li
.selected
{
398 background-color: #f9f9f9;
399 border: 1px dashed
#aaa;
402 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
406 /** Generic minor/bot/newpage styling (recent changes) */
414 #shared-image-conflict {
419 * Recreating deleted page warning
420 * Reupload file warning
421 * Page protection warning
422 * incl. log entries for these warnings
424 div
.mw-warning-with-logexcerpt
{
427 border: 2px solid
#2F6FAB;
430 div
.mw-warning-with-logexcerpt ul li
{
434 /* (show/hide) revision deletion links */
435 span
.mw-revdelundel-link
,
436 strong
.mw-revdelundel-link
{
439 span
.mw-revdelundel-hidden
,
440 input
.mw-revdelundel-hidden
{
444 td
.mw-revdel-checkbox
,
445 th
.mw-revdel-checkbox
{
453 background: url
(images
/feed-icon
.png
) center left no-repeat
;
457 /* Plainlinks - this can be used to switch
458 * off special external link styling */
460 background: none
!important
;
461 padding: 0 !important
;
463 /* External URLs should always be treated as LTR (bug 4330) */
464 /* @noflip */ .rtl a
.external
.free
,
465 .rtl a.external.autonumber {
471 * wikitable class for skinning normal tables
472 * keep in sync with commonPrint.css
475 margin: 1em 1em 1em 0;
476 background-color: #f9f9f9;
477 border: 1px #aaa solid
;
478 border-collapse: collapse
;
483 border: 1px #aaa solid
;
487 background-color: #f2f2f2;
494 /* hide initially collapsed collapsable tables */
495 table
.collapsed tr
.collapsable
{
499 /* success and error messages */
505 color: #FFA500; /* orange */
524 background-color: #fff2f2;
527 border-color: #FF8C00; /* darkorange */
528 background-color: #FFFFC0;
532 background-color: #dfd;
544 /* general info/warning box for SP */
546 border: 2px solid
#ff7f00;
559 margin: 0.5em 0.5em 0.5em 49px;
562 /* Note on preview page */
578 border: solid
1px #bbbbff;
579 background-color: #eeeeff;
586 * Transparent table with suddle borders
587 * and blue row-highlighting.
590 border-collapse: collapse
;
595 border: 1px solid
#aaaaaa;
596 padding: 0 0.15em 0 0.15em;
599 background-color: #ddddff;
602 background-color: #ffffff;
604 .mw-datatable tr:hover td {
605 background-color: #eeeeff;
610 * TablePager tables generated by the TablePager PHP class
611 * in MediaWiki (e.g. Special:ListFiles).
624 text-decoration: none
;
631 .imagelist .TablePager_col_links {
632 background-color: #eeeeff;
634 .imagelist .TablePager_col_img_description {
637 .imagelist th.TablePager_sort {
638 background-color: #ccccff;
644 border: 1px solid
#aaaaaa;
645 background-color: #f9f9f9;
648 margin-bottom: 0.5em;
655 list-style-type: none
;
659 /* Classes for EXIF data display */
663 margin-bottom: 0.5em;
667 table
.mw_metadata caption
{
671 table
.mw_metadata th
{
675 table
.mw_metadata td
{
681 border-collapse: collapse
;
684 table
.mw_metadata td
,
685 table
.mw_metadata th
{
687 border: 1px solid
#aaaaaa;
692 table
.mw_metadata th
{
693 background-color: #f9f9f9;
696 table
.mw_metadata td
{
697 background-color: #fcfcfc;
700 table
.mw_metadata ul
.metadata-langlist
{
701 list-style-type: none
;
702 list-style-image: none
;
708 /* Correct directionality when page dir is different from site/user dir */
710 .mw-content-rtl .mw-content-ltr ul {
712 margin: 0.3em 0 0 1.5em;
716 .mw-content-ltr .mw-content-rtl ul {
718 margin: 0.3em 1.5em 0 0;
722 .mw-content-rtl .mw-content-ltr ol {
724 margin: 0.3em 0 0 3.2em;
728 .mw-content-ltr .mw-content-rtl ol {
730 margin: 0.3em 3.2em 0 0;
735 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
736 /* Don't forget to update commonPrint.css */
739 border: solid
2px white
;
740 display: -moz-inline-box
;
741 display: inline-block
;
747 display: inline-block
;
760 word-wrap: break-word
;
763 li
.gallerybox div
.thumb
{
765 border: 1px solid
#ccc;
766 background-color: #f9f9f9;
770 li
.gallerybox div
.thumb img
{
779 word-wrap: break-word
;
784 background-image: url
(images
/ajax-loader
.gif
);
785 background-position: center center
;
786 background-repeat: no-repeat
;
793 padding: 10px !important
;
796 background-image: url
(images/spinner.gif);
797 background-position: center center
;
798 background-repeat: no-repeat
;
801 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
802 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
820 /* Localised ordered list numbering for some languages */
827 list-style-type: -moz-persian
;
828 list-style-type: persian
;
832 list-style-type: -moz-arabic-indic
;
833 list-style-type: arabic-indic
;
838 list-style-type: -moz-bengali
;
839 list-style-type: bengali
;
843 list-style-type: -moz-oriya
;
844 list-style-type: oriya
;
851 /* Correct directionality when page dir is different from site/user dir */
852 /* @noflip */ .mw-content-ltr
.toc ul
,
853 .mw-content-ltr #toc ul
,
854 .mw-content-rtl
.mw-content-ltr
.toc ul
,
855 .mw-content-rtl .mw-content-ltr #toc ul {
858 /* @noflip */ .mw-content-rtl
.toc ul
,
859 .mw-content-rtl #toc ul
,
860 .mw-content-ltr
.mw-content-rtl
.toc ul
,
861 .mw-content-ltr .mw-content-rtl #toc ul {
864 /* @noflip */ .mw-content-ltr
.toc ul ul
,
865 .mw-content-ltr #toc ul ul
,
866 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
867 .mw-content-rtl .mw-content-ltr #toc ul ul {
870 /* @noflip */ .mw-content-rtl
.toc ul ul
,
871 .mw-content-rtl #toc ul ul
,
872 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
873 .mw-content-ltr .mw-content-rtl #toc ul ul {
885 .mw-help-field-hint {
891 background-image: url
('images/help-question.gif');
892 background-position: left center
;
893 background-repeat: no-repeat
;
896 text-decoration: underline
;
899 .mw-help-field-hint:hover {
901 background-image: url
('images/help-question-hover.gif');
903 .mw-help-field-data {
905 background-color: #d6f3ff;
906 padding:5px 8px 4px 8px;
907 border: 1px solid
#5dc9f4;
911 padding: 5px 5px 10px;
918 padding: 5px 8px 4px 8px;
919 background-color: #d6f3ff;
921 border: 1px solid
#5dc9f4;
928 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
932 .tipsy-se .tipsy-arrow {
935 background-position: 0% 100%;
938 /* LTR content in RTL layout */
954 /* Correct user & content directionality when viewing a diff */
955 .diff-currentversion-title
,
960 /* @noflip */ .diff-contentalign-right td
{
964 /* @noflip */ .diff-contentalign-left td
{
971 direction: ltr
!important
;
982 /* @noflip */ div
.tright
,
988 /* @noflip */ div
.tleft
,
1003 unicode-bidi: embed
;
1010 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */