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 */
8 /* These classes should be used for text depending on the content direction.
9 Content stuff like editsection, ul/ol and TOC depend on this. */
10 /* @noflip */.mw-content-ltr
{ direction: ltr
; }
11 /* @noflip */.mw-content-rtl
{ direction: rtl
; }
12 /* Most input fields should be in site direction */
13 /* @noflip */.sitedir-ltr textarea
, .sitedir-ltr input
{ direction: ltr
; }
14 /* @noflip */.sitedir-rtl textarea
, .sitedir-rtl input
{ direction: rtl
; }
15 /* Input types that should follow user direction, like buttons */
16 input
[type
="submit"], input
[type
="button"], input
[type
="reset"], input
[type
="file"] { direction: ltr
; }
17 /* Override default values */
18 /* @noflip */textarea
[dir
="ltr"], input
[dir
="ltr"] { direction: ltr
; }
19 /* @noflip */textarea
[dir
="rtl"], input
[dir
="rtl"] { direction: rtl
; }
21 .mw-float-start { float: left
; }
22 .mw-float-end { float: right
; }
24 /* The scripts of these languages are very hard to read with underlines */
25 [lang
="ar"] a
, [lang
="ckb"] a
, [lang
="fa"] a
, [lang
="kk-arab"] a
,
26 [lang
="mzn"] a
, [lang
="ps"] a
, [lang
="ur"] a
{
27 text-decoration: none
;
30 /* Default style for semantic tags */
31 abbr
, acronym
, .explain
{
32 border-bottom: 1px dotted black
;
36 /* Colored watchlist and recent changes numbers */
37 .mw-plusminus-pos { color: #006400; } /* dark green */
38 .mw-plusminus-neg { color: #8b0000; } /* dark red */
39 .mw-plusminus-null { color: #aaa; } /* gray */
41 /* Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
42 [[Special:Watchlist/edit]] and in category listings */
43 .allpagesredirect, .redirect-in-category, .watchlistredir {
48 /* Comment and username portions of RC entries */
62 img
.tex
{ vertical-align: middle
; }
63 span
.texhtml
{ font-family: serif
; }
65 /* add a bit of margin space between the preview and the toolbar */
66 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
67 #wikiPreview.ontop
{ margin-bottom: 1em; }
69 /* Stop floats from intruding into edit area in previews */
70 #editform, #toolbar
, #wpTextbox1
{
79 border: solid
1px #ddd;
80 background-color: #fcfcfc;
83 /* Edit section links */
88 /* Correct directionality when page dir is different from site/user dir */
89 /* @noflip */.mw-content-ltr
.editsection
, .mw-content-rtl
.mw-content-ltr
.editsection
{ float: right
; }
90 /* @noflip */.mw-content-rtl
.editsection
, .mw-content-ltr
.mw-content-rtl
.editsection
{ float: left
; }
99 * Add a checkered background image on hover for file description pages. Bug 26470
101 .filehistory a
img:hover
,
104 background: white url
(images
/Checker-16x16
.png
) repeat
;
107 table
.filehistory th
,
108 table
.filehistory td
{
111 table
.filehistory th
{
114 table
.filehistory td
.mw-imagepage-filesize
,
115 table
.filehistory th
.mw-imagepage-filesize
{
119 table
.filehistory td
.filehistory-selected
{
126 li span
.deleted
, span
.history-deleted
{
127 text-decoration: line-through
;
136 background-color: #ffa;
152 td
.mw-label
{ text-align: right
; }
153 td
.mw-input
{ text-align: left
; }
154 td
.mw-submit
{ text-align: left
; }
156 td
.mw-label
{ vertical-align: top
; }
157 .prefsection td.mw-label { width: 20%; }
158 .prefsection table { width: 100%; }
159 td
.mw-submit
{ white-space: nowrap
; }
161 table
.mw-htmlform-nolabel td
.mw-label
{
165 tr
.mw-htmlform-vertical-label td
.mw-label
{
166 text-align: left
!important
;
169 .mw-htmlform-invalid-input td.mw-input input {
172 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
185 .thumbcaption { text-align: left
; }
186 .magnify { float: right
; }
191 .mw-hidden-cats-hidden { display: none
; }
192 .catlinks-allhidden { display: none
; }
194 /* Convenience links to edit block, delete and protect reasons */
195 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
196 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
197 p
.mw-revdel-editreasons
{
203 * OpenSearch ajax suggestions
205 .open-search-suggestions .ui-autocomplete {
207 border: 1px solid
#AAA!important
;
213 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
215 background: Highlight
;
217 color: HighlightText
;
218 border-color: #4C59A6;
219 border-color: Highlight
;
221 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
222 line-height: 1.1!important
;
226 /* Page history styling */
227 /* the auto-generated edit comments */
228 .autocomment { color: gray
; }
229 #pagehistory .history-user
{
233 #pagehistory span
.minor
{
237 border: 1px solid white
;
239 #pagehistory li
.selected
{
240 background-color: #f9f9f9;
241 border: 1px dashed
#aaa;
244 /** Generic minor/bot/newpage styling */
245 .newpage, .minor, .bot {
249 #shared-image-dup, #shared-image-conflict
{
254 * Recreating deleted page warning
255 * Reupload file warning
256 * Page protection warning
257 * incl. log entries for these warnings
259 div
.mw-warning-with-logexcerpt
{
262 border: 2px solid
#2F6FAB;
265 div
.mw-warning-with-logexcerpt ul li
{
269 /* (show/hide) revision deletion links */
270 span
.mw-revdelundel-link
,
271 strong
.mw-revdelundel-link
{
274 span
.mw-revdelundel-hidden
,
275 input
.mw-revdelundel-hidden
{
279 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
287 background: url
("images/feed-icon.png") center left no-repeat
;
291 /* Plainlinks - this can be used to switch
292 * off special external link styling */
294 background: none
!important
;
295 padding: 0 !important
;
297 /* External URLs should always be treated as LTR (bug 4330) */
298 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
303 /* wikitable class for skinning normal tables
304 * keep on sync with commonPrint.css
307 margin: 1em 1em 1em 0;
309 border: 1px #aaa solid
;
310 border-collapse: collapse
;
313 .wikitable th, .wikitable td {
314 border: 1px #aaa solid
;
325 /* hide initially collapsed collapsable tables */
326 table
.collapsed tr
.collapsable
{
330 /* success and error messages */
336 color: #FFA500; /* orange */
343 .errorbox, .warningbox, .successbox {
353 background-color: #fff2f2;
356 border-color: #FF8C00; /* darkorange */
357 background-color: #FFFFC0;
361 background-color: #dfd;
363 .errorbox h2, .warningbox h2, .successbox h2 {
371 /* general info/warning box for SP */
373 border: 2px solid
#ff7f00;
386 margin: 0.5em 0.5em 0.5em 49px;
389 /* Note on preview page */
405 border: solid
1px #bbbbff;
406 background-color: #eeeeff;
411 Table pager (e.g. Special:ListFiles)
412 - remove underlines from the navigation link
414 - set the borders to outsets (similar to Special:AllMessages)
415 - remove line wrapping for all td and th, set background color
416 - restore line wrapping for the last two table cells (description and size)
420 border-collapse: collapse
;
430 text-decoration: none
;
432 .TablePager, .TablePager td, .TablePager th {
433 border: 1px solid
#aaaaaa;
434 padding: 0 0.15em 0 0.15em;
437 background-color: #eeeeff;
440 background-color: #ffffff;
442 .TablePager tr:hover td {
443 background-color: #eeeeff;
446 .imagelist td, .imagelist th {
449 .imagelist .TablePager_col_links {
450 background-color: #eeeeff;
452 .imagelist .TablePager_col_img_description {
455 .imagelist th.TablePager_sort {
456 background-color: #ccccff;
462 border: 1px solid
#aaaaaa;
463 background-color: #f9f9f9;
466 margin-bottom: 0.5em;
473 list-style-type: none
;
477 /* Classes for EXIF data display */
481 margin-bottom: 0.5em;
485 table
.mw_metadata caption
{
489 table
.mw_metadata th
{
493 table
.mw_metadata td
{
499 border-collapse: collapse
;
502 table
.mw_metadata td
, table
.mw_metadata th
{
504 border: 1px solid
#aaaaaa;
509 table
.mw_metadata th
{
510 background-color: #f9f9f9;
513 table
.mw_metadata td
{
514 background-color: #fcfcfc;
517 table
.mw_metadata ul
.metadata-langlist
{
518 list-style-type: none
;
519 list-style-image: none
;
526 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
527 /* Don't forget to update commonPrint.css */
530 background-color: #f9f9f9;
531 border: solid
2px white
;
532 display: -moz-inline-box
;
533 display: inline-block
;
536 ul
.gallery
, li
.gallerybox
{
551 word-wrap: break-word
;
554 li
.gallerybox div
.thumb
{
556 border: 1px solid
#ccc;
560 li
.gallerybox div
.thumb img
{
569 word-wrap: break-word
;
572 #mw-addcategory-prompt {
577 #mw-addcategory-prompt input
{
582 .mw-remove-category {
585 background-image: url
(images/remove.png);
586 background-position: center center
;
587 background-repeat: no-repeat
;
590 .mw-ajax-addcategory {
593 background-image: url
(images/add.png);
594 background-position: left center
;
595 background-repeat: no-repeat
;
600 background-image: url
(images
/ajax-loader
.gif
);
601 background-position: center center
;
602 background-repeat: no-repeat
;
609 padding: 10px !important
;
612 background-image: url
(images/spinner.gif);
613 background-position: center center
;
614 background-repeat: no-repeat
;
617 /* Correct directionality when page dir is different from site/user dir */
618 /* @noflip */.mw-content-ltr ul
, .mw-content-ltr ol
,
619 .mw-content-rtl .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ol {
620 margin: .3em 0 0 1.5em;
622 /* @noflip */.mw-content-rtl ul
, .mw-content-rtl ol
,
623 .mw-content-ltr .mw-content-rtl ul, .mw-content-ltr .mw-content-rtl ol {
624 margin: .3em 1.5em 0 0;
626 /* Localised ordered list numbering for some languages */
633 list-style-type: -moz-persian
;
634 list-style-type: persian
;
638 list-style-type: -moz-arabic-indic
;
639 list-style-type: arabic-indic
;
643 list-style-type: -moz-bengali
;
644 list-style-type: bengali
;
648 list-style-type: -moz-oriya
;
649 list-style-type: oriya
;
652 /* Correct directionality when page dir is different from site/user dir */
653 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
654 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
658 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
659 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
663 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
664 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
667 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
668 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
673 .mw-help-field-hint {
677 padding: 0px 0px 0px 15px;
679 background-image: url
('images/help-question.gif');
680 background-position: left center
;
681 background-repeat: no-repeat
;
684 text-decoration: underline
;
687 .mw-help-field-hint:hover {
689 background-image: url
('images/help-question-hover.gif');
691 .mw-help-field-data {
693 background-color: #d6f3ff;
694 padding:5px 8px 4px 8px;
695 border: 1px solid
#5dc9f4;
699 padding: 5px 5px 10px;
706 padding: 5px 8px 4px 8px;
707 background-color: #d6f3ff;
709 border: 1px solid
#5dc9f4;
716 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
720 .tipsy-se .tipsy-arrow {
723 background-position: 0% 100%;
727 background-image: url
(images/sort_both.gif);
729 background-repeat: no-repeat
;
730 background-position: center right
;
734 background-image: url
(images/sort_up.gif);
737 background-image: url
(images/sort_down.gif);
740 /* LTR content in RTL layout */
747 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
752 /* Correct user & content directionality when viewing a diff */
753 .diff-currentversion-title, .diff {
757 /* @noflip */ .diff-contentalign-right td
{
761 /* @noflip */ .diff-contentalign-left td
{
765 .diff-otitle, .diff-ntitle, .diff-lineno {
766 direction: ltr
!important
;
770 #mw-revision-info, #mw-revision-nav
{
775 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
779 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
783 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{