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 /* The scripts of these languages are very hard to read with underlines */
8 [lang
="ar"] a
, [lang
="ckb"] a
, [lang
="fa"] a
, [lang
="kk-arab"] a
,
9 [lang
="mzn"] a
, [lang
="ps"] a
, [lang
="ur"] a
{
10 text-decoration: none
;
13 /* Default style for semantic tags */
14 abbr
, acronym
, .explain
{
15 border-bottom: 1px dotted black
;
19 /* Colored watchlist and recent changes numbers */
20 .mw-plusminus-pos { color: #006400; } /* dark green */
21 .mw-plusminus-neg { color: #8b0000; } /* dark red */
22 .mw-plusminus-null { color: #aaa; } /* gray */
24 /* Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
25 [[Special:Watchlist/edit]] and in category listings */
26 .allpagesredirect, .redirect-in-category, .watchlistredir {
31 /* Comment and username portions of RC entries */
45 img
.tex
{ vertical-align: middle
; }
46 span
.texhtml
{ font-family: serif
; }
48 /* add a bit of margin space between the preview and the toolbar */
49 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
50 #wikiPreview.ontop
{ margin-bottom: 1em; }
52 /* Stop floats from intruding into edit area in previews */
53 #editform, #toolbar
, #wpTextbox1
{
62 border: solid
1px #ddd;
63 background-color: #fcfcfc;
66 /* Edit section links */
71 /* Correct directionality when page dir is different from site/user dir */
72 /* @noflip */div#content
[dir
="ltr"] .editsection
, div#content
[dir
="rtl"] [dir
="ltr"] .editsection
{ float: right
; }
73 /* @noflip */div#content
[dir
="rtl"] .editsection
, div#content
[dir
="ltr"] [dir
="rtl"] .editsection
{ float: left
; }
82 table
.filehistory td
{
85 table
.filehistory th
{
88 table
.filehistory td
.mw-imagepage-filesize
,
89 table
.filehistory th
.mw-imagepage-filesize
{
93 table
.filehistory td
.filehistory-selected
{
100 li span
.deleted
, span
.history-deleted
{
101 text-decoration: line-through
;
110 background-color: #ffa;
126 td
.mw-label
{ text-align: right
; }
127 td
.mw-input
{ text-align: left
; }
128 td
.mw-submit
{ text-align: left
; }
130 td
.mw-label
{ vertical-align: top
; }
131 .prefsection td.mw-label { width: 20%; }
132 .prefsection table { width: 100%; }
133 td
.mw-submit
{ white-space: nowrap
; }
135 table
.mw-htmlform-nolabel td
.mw-label
{
139 tr
.mw-htmlform-vertical-label td
.mw-label
{
140 text-align: left
!important
;
143 .mw-htmlform-invalid-input td.mw-input input {
146 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
159 .thumbcaption { text-align: left
; }
160 .magnify { float: right
; }
165 .mw-hidden-cats-hidden { display: none
; }
166 .catlinks-allhidden { display: none
; }
168 /* Convenience links to edit block, delete and protect reasons */
169 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
170 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
171 p
.mw-revdel-editreasons
{
177 * OpenSearch ajax suggestions
186 background-color: white
;
187 background-color: Window
;
189 border-color: #AAAAAA;
195 table
.os-suggest-results
{
199 border-collapse: collapse
;
203 .os-suggest-result, .os-suggest-result-hl {
205 background-color: white
;
206 background-color: Window
;
211 .os-suggest-result-hl
,
212 .os-suggest-result-hl-webkit {
213 background-color: #4C59A6;
216 .os-suggest-result-hl {
217 /* System colors are misimplemented in Safari 3.0 and earlier,
218 making highlighted text illegible... */
219 background-color: Highlight
;
220 color: HighlightText
;
228 .os-suggest-toggle-def {
236 /* Page history styling */
237 /* the auto-generated edit comments */
238 .autocomment { color: gray
; }
239 #pagehistory .history-user
{
243 #pagehistory span
.minor
{
247 border: 1px solid white
;
249 #pagehistory li
.selected
{
250 background-color: #f9f9f9;
251 border: 1px dashed
#aaa;
254 /** Generic minor/bot/newpage styling */
255 .newpage, .minor, .bot {
259 #shared-image-dup, #shared-image-conflict
{
264 * Recreating deleted page warning
265 * Reupload file warning
266 * Page protection warning
267 * incl. log entries for these warnings
269 div
.mw-warning-with-logexcerpt
{
272 border: 2px solid
#2F6FAB;
275 div
.mw-warning-with-logexcerpt ul li
{
279 /* (show/hide) revision deletion links */
280 span
.mw-revdelundel-link
,
281 strong
.mw-revdelundel-link
{
284 span
.mw-revdelundel-hidden
,
285 input
.mw-revdelundel-hidden
{
289 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
297 background: url
("images/feed-icon.png") center left no-repeat
;
301 /* Plainlinks - this can be used to switch
302 * off special external link styling */
304 background: none
!important
;
305 padding: 0 !important
;
307 /* External URLs should always be treated as LTR (bug 4330) */
308 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
313 /* wikitable class for skinning normal tables
314 * keep on sync with commonPrint.css
317 margin: 1em 1em 1em 0;
319 border: 1px #aaa solid
;
320 border-collapse: collapse
;
323 .wikitable th, .wikitable td {
324 border: 1px #aaa solid
;
335 /* hide initially collapsed collapsable tables */
336 table
.collapsed tr
.collapsable
{
340 /* success and error messages */
346 color: #FFA500; /* orange */
353 .errorbox, .warningbox, .successbox {
363 background-color: #fff2f2;
366 border-color: #FF8C00; /* darkorange */
367 background-color: #FFFFC0;
371 background-color: #dfd;
373 .errorbox h2, .warningbox h2, .successbox h2 {
381 /* general info/warning box for SP */
383 border: 2px solid
#ff7f00;
396 margin: 0.5em 0.5em 0.5em 49px;
399 /* Note on preview page */
415 border: solid
1px #bbbbff;
416 background-color: #eeeeff;
421 Table pager (e.g. Special:ListFiles)
422 - remove underlines from the navigation link
424 - set the borders to outsets (similar to Special:AllMessages)
425 - remove line wrapping for all td and th, set background color
426 - restore line wrapping for the last two table cells (description and size)
430 border-collapse: collapse
;
440 text-decoration: none
;
442 .TablePager, .TablePager td, .TablePager th {
443 border: 1px solid
#aaaaaa;
444 padding: 0 0.15em 0 0.15em;
447 background-color: #eeeeff;
450 background-color: #ffffff;
452 .TablePager tr:hover td {
453 background-color: #eeeeff;
456 .imagelist td, .imagelist th {
459 .imagelist .TablePager_col_links {
460 background-color: #eeeeff;
462 .imagelist .TablePager_col_img_description {
465 .imagelist th.TablePager_sort {
466 background-color: #ccccff;
472 border: 1px solid
#aaaaaa;
473 background-color: #f9f9f9;
476 margin-bottom: 0.5em;
483 list-style-type: none
;
487 /* Classes for EXIF data display */
491 margin-bottom: 0.5em;
495 table
.mw_metadata caption
{
499 table
.mw_metadata th
{
503 table
.mw_metadata td
{
509 border-collapse: collapse
;
512 table
.mw_metadata td
, table
.mw_metadata th
{
514 border: 1px solid
#aaaaaa;
519 table
.mw_metadata th
{
520 background-color: #f9f9f9;
523 table
.mw_metadata td
{
524 background-color: #fcfcfc;
527 table
.mw_metadata ul
.metadata-langlist
{
528 list-style-type: none
;
529 list-style-image: none
;
536 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
537 /* Don't forget to update commonPrint.css */
540 background-color: #f9f9f9;
541 border: solid
2px white
;
542 display: -moz-inline-box
;
543 display: inline-block
;
546 ul
.gallery
, li
.gallerybox
{
561 word-wrap: break-word
;
564 li
.gallerybox div
.thumb
{
566 border: 1px solid
#ccc;
570 li
.gallerybox div
.thumb img
{
579 word-wrap: break-word
;
582 #mw-addcategory-prompt {
587 #mw-addcategory-prompt input
{
592 .mw-remove-category {
595 background-image: url
(images/remove.png);
596 background-position: center center
;
597 background-repeat: no-repeat
;
600 .mw-ajax-addcategory {
603 background-image: url
(images/add.png);
604 background-position: left center
;
605 background-repeat: no-repeat
;
610 background-image: url
(images
/ajax-loader
.gif
);
611 background-position: center center
;
612 background-repeat: no-repeat
;
619 padding: 10px !important
;
622 background-image: url
(images/spinner.gif);
623 background-position: center center
;
624 background-repeat: no-repeat
;
627 /* Correct directionality when page dir is different from site/user dir */
628 /* @noflip */div#content
[dir
="ltr"] ul
, div#content
[dir
="ltr"] ol
,
629 div#content
[dir
="rtl"] [dir
="ltr"] ul
, div#content
[dir
="rtl"] [dir
="ltr"] ol
{
630 margin: .3em 0 0 1.5em;
632 /* @noflip */div#content
[dir
="rtl"] ul
, div#content
[dir
="rtl"] ol
,
633 div#content
[dir
="ltr"] [dir
="rtl"] ul
, div#content
[dir
="ltr"] [dir
="rtl"] ol
{
634 margin: .3em 1.5em 0 0;
636 /* Localised ordered list numbering for some languages */
643 list-style-type: -moz-persian
;
644 list-style-type: persian
;
648 list-style-type: -moz-arabic-indic
;
649 list-style-type: arabic-indic
;
653 list-style-type: -moz-bengali
;
654 list-style-type: bengali
;
658 list-style-type: -moz-oriya
;
659 list-style-type: oriya
;
662 /* Correct directionality when page dir is different from site/user dir */
663 /* @noflip */div#content
[dir
="ltr"] .toc ul
, div#content
[dir
="ltr"] #toc ul
,
664 div#content
[dir
="rtl"] [dir
="ltr"] .toc ul
, div#content
[dir
="rtl"] [dir
="ltr"] #toc ul
{
668 /* @noflip */div#content
[dir
="rtl"] .toc ul
, div#content
[dir
="rtl"] #toc ul
,
669 div#content
[dir
="ltr"] [dir
="rtl"] .toc ul
, div#content
[dir
="ltr"] [dir
="rtl"] #toc ul
{
673 /* @noflip */div#content
[dir
="ltr"] .toc ul ul
, div#content
[dir
="ltr"] #toc ul ul
,
674 div#content
[dir
="rtl"] [dir
="ltr"] .toc ul ul
, div#content
[dir
="rtl"] [dir
="ltr"] #toc ul ul
{
677 /* @noflip */div#content
[dir
="rtl"] .toc ul ul
, div#content
[dir
="rtl"] #toc ul ul
,
678 div#content
[dir
="ltr"] [dir
="rtl"] .toc ul ul
, div#content
[dir
="ltr"] [dir
="rtl"] #toc ul ul
{
683 .mw-help-field-hint {
687 padding: 0px 0px 0px 15px;
689 background-image: url
('images/help-question.gif');
690 background-position: left center
;
691 background-repeat: no-repeat
;
694 text-decoration: underline
;
697 .mw-help-field-hint:hover {
699 background-image: url
('images/help-question-hover.gif');
701 .mw-help-field-data {
703 background-color: #d6f3ff;
704 padding:5px 8px 4px 8px;
705 border: 1px solid
#5dc9f4;
709 padding: 5px 5px 10px;
716 padding: 5px 8px 4px 8px;
717 background-color: #d6f3ff;
719 border: 1px solid
#5dc9f4;
726 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
730 .tipsy-se .tipsy-arrow {
733 background-position: 0% 100%;
737 background-image: url
(images/sort_both.gif);
739 background-repeat: no-repeat
;
740 background-position: center right
;
744 background-image: url
(images/sort_up.gif);
747 background-image: url
(images/sort_down.gif);
750 /* LTR content in RTL layout */
757 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejsspreview
, #mw-usercsspreview
, #mw-userjspreview
{
762 /* Correct user & content directionality when viewing a diff */
763 .diff-currentversion-title, .diff {
767 /* @noflip */ .diff-contentalign-right td
{
771 /* @noflip */ .diff-contentalign-left td
{
775 .diff-otitle, .diff-ntitle, .diff-lineno {
776 direction: ltr
!important
;
780 #mw-revision-info, #mw-revision-nav
{
785 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
789 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
793 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{