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
;
340 background-color: Window
;
342 border-color: #AAAAAA;
348 table
.os-suggest-results
{
352 border-collapse: collapse
;
357 .os-suggest-result-hl {
359 background-color: white
;
360 background-color: Window
;
365 .os-suggest-result-hl
,
366 .os-suggest-result-hl-webkit {
367 background-color: #4C59A6;
370 .os-suggest-result-hl {
371 /* System colors are misimplemented in Safari 3.0 and earlier,
372 * making highlighted text illegible...
374 background-color: Highlight
;
375 color: HighlightText
;
383 .os-suggest-toggle-def {
391 /* Page history styling */
393 /* The auto-generated edit comments */
397 #pagehistory .history-user
{
401 #pagehistory span
.minor
{
405 border: 1px solid white
;
407 #pagehistory li
.selected
{
408 background-color: #f9f9f9;
409 border: 1px dashed
#aaa;
412 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon {
416 /** Generic minor/bot/newpage styling (recent changes) */
424 #shared-image-conflict {
429 * Recreating deleted page warning
430 * Reupload file warning
431 * Page protection warning
432 * incl. log entries for these warnings
434 div
.mw-warning-with-logexcerpt
{
437 border: 2px solid
#2F6FAB;
440 div
.mw-warning-with-logexcerpt ul li
{
444 /* (show/hide) revision deletion links */
445 span
.mw-revdelundel-link
,
446 strong
.mw-revdelundel-link
{
449 span
.mw-revdelundel-hidden
,
450 input
.mw-revdelundel-hidden
{
454 td
.mw-revdel-checkbox
,
455 th
.mw-revdel-checkbox
{
463 background: url
(images
/feed-icon
.png
) center left no-repeat
;
467 /* Plainlinks - this can be used to switch
468 * off special external link styling */
470 background: none
!important
;
471 padding: 0 !important
;
473 /* External URLs should always be treated as LTR (bug 4330) */
474 /* @noflip */ .rtl a
.external
.free
,
475 .rtl a.external.autonumber {
481 * wikitable class for skinning normal tables
482 * keep in sync with commonPrint.css
485 margin: 1em 1em 1em 0;
486 background-color: #f9f9f9;
487 border: 1px #aaa solid
;
488 border-collapse: collapse
;
493 border: 1px #aaa solid
;
497 background-color: #f2f2f2;
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 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
812 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
830 /* Localised ordered list numbering for some languages */
837 list-style-type: -moz-persian
;
838 list-style-type: persian
;
842 list-style-type: -moz-arabic-indic
;
843 list-style-type: arabic-indic
;
848 list-style-type: -moz-bengali
;
849 list-style-type: bengali
;
853 list-style-type: -moz-oriya
;
854 list-style-type: oriya
;
861 /* Correct directionality when page dir is different from site/user dir */
862 /* @noflip */ .mw-content-ltr
.toc ul
,
863 .mw-content-ltr #toc ul
,
864 .mw-content-rtl
.mw-content-ltr
.toc ul
,
865 .mw-content-rtl .mw-content-ltr #toc ul {
868 /* @noflip */ .mw-content-rtl
.toc ul
,
869 .mw-content-rtl #toc ul
,
870 .mw-content-ltr
.mw-content-rtl
.toc ul
,
871 .mw-content-ltr .mw-content-rtl #toc ul {
874 /* @noflip */ .mw-content-ltr
.toc ul ul
,
875 .mw-content-ltr #toc ul ul
,
876 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
877 .mw-content-rtl .mw-content-ltr #toc ul ul {
880 /* @noflip */ .mw-content-rtl
.toc ul ul
,
881 .mw-content-rtl #toc ul ul
,
882 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
883 .mw-content-ltr .mw-content-rtl #toc ul ul {
895 .mw-help-field-hint {
899 padding: 0px 0px 0px 15px;
901 background-image: url
('images/help-question.gif');
902 background-position: left center
;
903 background-repeat: no-repeat
;
906 text-decoration: underline
;
909 .mw-help-field-hint:hover {
911 background-image: url
('images/help-question-hover.gif');
913 .mw-help-field-data {
915 background-color: #d6f3ff;
916 padding:5px 8px 4px 8px;
917 border: 1px solid
#5dc9f4;
921 padding: 5px 5px 10px;
928 padding: 5px 8px 4px 8px;
929 background-color: #d6f3ff;
931 border: 1px solid
#5dc9f4;
938 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
942 .tipsy-se .tipsy-arrow {
945 background-position: 0% 100%;
948 /* LTR content in RTL layout */
964 /* Correct user & content directionality when viewing a diff */
965 .diff-currentversion-title
,
970 /* @noflip */ .diff-contentalign-right td
{
974 /* @noflip */ .diff-contentalign-left td
{
981 direction: ltr
!important
;
992 /* @noflip */ div
.tright
,
998 /* @noflip */ div
.tleft
,
1013 unicode-bidi: embed
;
1020 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */