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 {
480 /* wikitable class for skinning normal tables
481 * keep on sync with commonPrint.css
484 margin: 1em 1em 1em 0;
486 border: 1px #aaa solid
;
487 border-collapse: collapse
;
492 border: 1px #aaa solid
;
503 /* hide initially collapsed collapsable tables */
504 table
.collapsed tr
.collapsable
{
508 /* success and error messages */
514 color: #FFA500; /* orange */
533 background-color: #fff2f2;
536 border-color: #FF8C00; /* darkorange */
537 background-color: #FFFFC0;
541 background-color: #dfd;
553 /* general info/warning box for SP */
555 border: 2px solid
#ff7f00;
568 margin: 0.5em 0.5em 0.5em 49px;
571 /* Note on preview page */
587 border: solid
1px #bbbbff;
588 background-color: #eeeeff;
595 * Transparent table with suddle borders
596 * and blue row-highlighting.
599 border-collapse: collapse
;
604 border: 1px solid
#aaaaaa;
605 padding: 0 0.15em 0 0.15em;
608 background-color: #ddddff;
611 background-color: #ffffff;
613 .mw-datatable tr:hover td {
614 background-color: #eeeeff;
619 * TablePager tables generated by the TablePager PHP class
620 * in MediaWiki (e.g. Special:ListFiles).
633 text-decoration: none
;
640 .imagelist .TablePager_col_links {
641 background-color: #eeeeff;
643 .imagelist .TablePager_col_img_description {
646 .imagelist th.TablePager_sort {
647 background-color: #ccccff;
653 border: 1px solid
#aaaaaa;
654 background-color: #f9f9f9;
657 margin-bottom: 0.5em;
664 list-style-type: none
;
668 /* Classes for EXIF data display */
672 margin-bottom: 0.5em;
676 table
.mw_metadata caption
{
680 table
.mw_metadata th
{
684 table
.mw_metadata td
{
690 border-collapse: collapse
;
693 table
.mw_metadata td
,
694 table
.mw_metadata th
{
696 border: 1px solid
#aaaaaa;
701 table
.mw_metadata th
{
702 background-color: #f9f9f9;
705 table
.mw_metadata td
{
706 background-color: #fcfcfc;
709 table
.mw_metadata ul
.metadata-langlist
{
710 list-style-type: none
;
711 list-style-image: none
;
717 /* Correct directionality when page dir is different from site/user dir */
719 .mw-content-rtl .mw-content-ltr ul {
721 margin: 0.3em 0 0 1.5em;
725 .mw-content-ltr .mw-content-rtl ul {
727 margin: 0.3em 1.5em 0 0;
731 .mw-content-rtl .mw-content-ltr ol {
733 margin: 0.3em 0 0 3.2em;
737 .mw-content-ltr .mw-content-rtl ol {
739 margin: 0.3em 3.2em 0 0;
744 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
745 /* Don't forget to update commonPrint.css */
748 border: solid
2px white
;
749 display: -moz-inline-box
;
750 display: inline-block
;
756 display: inline-block
;
769 word-wrap: break-word
;
772 li
.gallerybox div
.thumb
{
774 border: 1px solid
#ccc;
775 background-color: #f9f9f9;
779 li
.gallerybox div
.thumb img
{
788 word-wrap: break-word
;
793 background-image: url
(images
/ajax-loader
.gif
);
794 background-position: center center
;
795 background-repeat: no-repeat
;
802 padding: 10px !important
;
805 background-image: url
(images/spinner.gif);
806 background-position: center center
;
807 background-repeat: no-repeat
;
810 /* Localised ordered list numbering for some languages */
817 list-style-type: -moz-persian
;
818 list-style-type: persian
;
822 list-style-type: -moz-arabic-indic
;
823 list-style-type: arabic-indic
;
828 list-style-type: -moz-bengali
;
829 list-style-type: bengali
;
833 list-style-type: -moz-oriya
;
834 list-style-type: oriya
;
841 /* Correct directionality when page dir is different from site/user dir */
842 /* @noflip */ .mw-content-ltr
.toc ul
,
843 .mw-content-ltr #toc ul
,
844 .mw-content-rtl
.mw-content-ltr
.toc ul
,
845 .mw-content-rtl .mw-content-ltr #toc ul {
848 /* @noflip */ .mw-content-rtl
.toc ul
,
849 .mw-content-rtl #toc ul
,
850 .mw-content-ltr
.mw-content-rtl
.toc ul
,
851 .mw-content-ltr .mw-content-rtl #toc ul {
854 /* @noflip */ .mw-content-ltr
.toc ul ul
,
855 .mw-content-ltr #toc ul ul
,
856 .mw-content-rtl
.mw-content-ltr
.toc ul ul
,
857 .mw-content-rtl .mw-content-ltr #toc ul ul {
860 /* @noflip */ .mw-content-rtl
.toc ul ul
,
861 .mw-content-rtl #toc ul ul
,
862 .mw-content-ltr
.mw-content-rtl
.toc ul ul
,
863 .mw-content-ltr .mw-content-rtl #toc ul ul {
875 .mw-help-field-hint {
879 padding: 0px 0px 0px 15px;
881 background-image: url
('images/help-question.gif');
882 background-position: left center
;
883 background-repeat: no-repeat
;
886 text-decoration: underline
;
889 .mw-help-field-hint:hover {
891 background-image: url
('images/help-question-hover.gif');
893 .mw-help-field-data {
895 background-color: #d6f3ff;
896 padding:5px 8px 4px 8px;
897 border: 1px solid
#5dc9f4;
901 padding: 5px 5px 10px;
908 padding: 5px 8px 4px 8px;
909 background-color: #d6f3ff;
911 border: 1px solid
#5dc9f4;
918 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
922 .tipsy-se .tipsy-arrow {
925 background-position: 0% 100%;
929 background-image: url
(images/sort_both.gif);
931 background-repeat: no-repeat
;
932 background-position: center right
;
936 background-image: url
(images/sort_up.gif);
939 background-image: url
(images/sort_down.gif);
942 /* LTR content in RTL layout */
958 /* Correct user & content directionality when viewing a diff */
959 .diff-currentversion-title
,
964 /* @noflip */ .diff-contentalign-right td
{
968 /* @noflip */ .diff-contentalign-left td
{
975 direction: ltr
!important
;
986 /* @noflip */ div
.tright
,
992 /* @noflip */ div
.tleft
,
1007 unicode-bidi: embed
;