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 table
.filehistory td
{
102 table
.filehistory th
{
105 table
.filehistory td
.mw-imagepage-filesize
,
106 table
.filehistory th
.mw-imagepage-filesize
{
110 table
.filehistory td
.filehistory-selected
{
117 li span
.deleted
, span
.history-deleted
{
118 text-decoration: line-through
;
127 background-color: #ffa;
143 td
.mw-label
{ text-align: right
; }
144 td
.mw-input
{ text-align: left
; }
145 td
.mw-submit
{ text-align: left
; }
147 td
.mw-label
{ vertical-align: top
; }
148 .prefsection td.mw-label { width: 20%; }
149 .prefsection table { width: 100%; }
150 td
.mw-submit
{ white-space: nowrap
; }
152 table
.mw-htmlform-nolabel td
.mw-label
{
156 tr
.mw-htmlform-vertical-label td
.mw-label
{
157 text-align: left
!important
;
160 .mw-htmlform-invalid-input td.mw-input input {
163 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
176 .thumbcaption { text-align: left
; }
177 .magnify { float: right
; }
182 .mw-hidden-cats-hidden { display: none
; }
183 .catlinks-allhidden { display: none
; }
185 /* Convenience links to edit block, delete and protect reasons */
186 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
187 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
188 p
.mw-revdel-editreasons
{
194 * OpenSearch ajax suggestions
196 .open-search-suggestions .ui-autocomplete {
198 border: 1px solid
#AAA!important
;
204 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
206 background: Highlight
;
208 color: HighlightText
;
209 border-color: #4C59A6;
210 border-color: Highlight
;
212 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
213 line-height: 1.1!important
;
217 /* Page history styling */
218 /* the auto-generated edit comments */
219 .autocomment { color: gray
; }
220 #pagehistory .history-user
{
224 #pagehistory span
.minor
{
228 border: 1px solid white
;
230 #pagehistory li
.selected
{
231 background-color: #f9f9f9;
232 border: 1px dashed
#aaa;
235 /** Generic minor/bot/newpage styling */
236 .newpage, .minor, .bot {
240 #shared-image-dup, #shared-image-conflict
{
245 * Recreating deleted page warning
246 * Reupload file warning
247 * Page protection warning
248 * incl. log entries for these warnings
250 div
.mw-warning-with-logexcerpt
{
253 border: 2px solid
#2F6FAB;
256 div
.mw-warning-with-logexcerpt ul li
{
260 /* (show/hide) revision deletion links */
261 span
.mw-revdelundel-link
,
262 strong
.mw-revdelundel-link
{
265 span
.mw-revdelundel-hidden
,
266 input
.mw-revdelundel-hidden
{
270 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
278 background: url
("images/feed-icon.png") center left no-repeat
;
282 /* Plainlinks - this can be used to switch
283 * off special external link styling */
285 background: none
!important
;
286 padding: 0 !important
;
288 /* External URLs should always be treated as LTR (bug 4330) */
289 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
294 /* wikitable class for skinning normal tables
295 * keep on sync with commonPrint.css
298 margin: 1em 1em 1em 0;
300 border: 1px #aaa solid
;
301 border-collapse: collapse
;
304 .wikitable th, .wikitable td {
305 border: 1px #aaa solid
;
316 /* hide initially collapsed collapsable tables */
317 table
.collapsed tr
.collapsable
{
321 /* success and error messages */
327 color: #FFA500; /* orange */
334 .errorbox, .warningbox, .successbox {
344 background-color: #fff2f2;
347 border-color: #FF8C00; /* darkorange */
348 background-color: #FFFFC0;
352 background-color: #dfd;
354 .errorbox h2, .warningbox h2, .successbox h2 {
362 /* general info/warning box for SP */
364 border: 2px solid
#ff7f00;
377 margin: 0.5em 0.5em 0.5em 49px;
380 /* Note on preview page */
396 border: solid
1px #bbbbff;
397 background-color: #eeeeff;
402 Table pager (e.g. Special:ListFiles)
403 - remove underlines from the navigation link
405 - set the borders to outsets (similar to Special:AllMessages)
406 - remove line wrapping for all td and th, set background color
407 - restore line wrapping for the last two table cells (description and size)
411 border-collapse: collapse
;
421 text-decoration: none
;
423 .TablePager, .TablePager td, .TablePager th {
424 border: 1px solid
#aaaaaa;
425 padding: 0 0.15em 0 0.15em;
428 background-color: #eeeeff;
431 background-color: #ffffff;
433 .TablePager tr:hover td {
434 background-color: #eeeeff;
437 .imagelist td, .imagelist th {
440 .imagelist .TablePager_col_links {
441 background-color: #eeeeff;
443 .imagelist .TablePager_col_img_description {
446 .imagelist th.TablePager_sort {
447 background-color: #ccccff;
453 border: 1px solid
#aaaaaa;
454 background-color: #f9f9f9;
457 margin-bottom: 0.5em;
464 list-style-type: none
;
468 /* Classes for EXIF data display */
472 margin-bottom: 0.5em;
476 table
.mw_metadata caption
{
480 table
.mw_metadata th
{
484 table
.mw_metadata td
{
490 border-collapse: collapse
;
493 table
.mw_metadata td
, table
.mw_metadata th
{
495 border: 1px solid
#aaaaaa;
500 table
.mw_metadata th
{
501 background-color: #f9f9f9;
504 table
.mw_metadata td
{
505 background-color: #fcfcfc;
508 table
.mw_metadata ul
.metadata-langlist
{
509 list-style-type: none
;
510 list-style-image: none
;
517 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
518 /* Don't forget to update commonPrint.css */
521 background-color: #f9f9f9;
522 border: solid
2px white
;
523 display: -moz-inline-box
;
524 display: inline-block
;
527 ul
.gallery
, li
.gallerybox
{
542 word-wrap: break-word
;
545 li
.gallerybox div
.thumb
{
547 border: 1px solid
#ccc;
551 li
.gallerybox div
.thumb img
{
560 word-wrap: break-word
;
563 #mw-addcategory-prompt {
568 #mw-addcategory-prompt input
{
573 .mw-remove-category {
576 background-image: url
(images/remove.png);
577 background-position: center center
;
578 background-repeat: no-repeat
;
581 .mw-ajax-addcategory {
584 background-image: url
(images/add.png);
585 background-position: left center
;
586 background-repeat: no-repeat
;
591 background-image: url
(images
/ajax-loader
.gif
);
592 background-position: center center
;
593 background-repeat: no-repeat
;
600 padding: 10px !important
;
603 background-image: url
(images/spinner.gif);
604 background-position: center center
;
605 background-repeat: no-repeat
;
608 /* Correct directionality when page dir is different from site/user dir */
609 /* @noflip */.mw-content-ltr ul
, .mw-content-ltr ol
,
610 .mw-content-rtl .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ol {
611 margin: .3em 0 0 1.5em;
613 /* @noflip */.mw-content-rtl ul
, .mw-content-rtl ol
,
614 .mw-content-ltr .mw-content-rtl ul, .mw-content-ltr .mw-content-rtl ol {
615 margin: .3em 1.5em 0 0;
617 /* Localised ordered list numbering for some languages */
624 list-style-type: -moz-persian
;
625 list-style-type: persian
;
629 list-style-type: -moz-arabic-indic
;
630 list-style-type: arabic-indic
;
634 list-style-type: -moz-bengali
;
635 list-style-type: bengali
;
639 list-style-type: -moz-oriya
;
640 list-style-type: oriya
;
643 /* Correct directionality when page dir is different from site/user dir */
644 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
645 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
649 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
650 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
654 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
655 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
658 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
659 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
664 .mw-help-field-hint {
668 padding: 0px 0px 0px 15px;
670 background-image: url
('images/help-question.gif');
671 background-position: left center
;
672 background-repeat: no-repeat
;
675 text-decoration: underline
;
678 .mw-help-field-hint:hover {
680 background-image: url
('images/help-question-hover.gif');
682 .mw-help-field-data {
684 background-color: #d6f3ff;
685 padding:5px 8px 4px 8px;
686 border: 1px solid
#5dc9f4;
690 padding: 5px 5px 10px;
697 padding: 5px 8px 4px 8px;
698 background-color: #d6f3ff;
700 border: 1px solid
#5dc9f4;
707 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
711 .tipsy-se .tipsy-arrow {
714 background-position: 0% 100%;
718 background-image: url
(images/sort_both.gif);
720 background-repeat: no-repeat
;
721 background-position: center right
;
725 background-image: url
(images/sort_up.gif);
728 background-image: url
(images/sort_down.gif);
731 /* LTR content in RTL layout */
738 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
743 /* Correct user & content directionality when viewing a diff */
744 .diff-currentversion-title, .diff {
748 /* @noflip */ .diff-contentalign-right td
{
752 /* @noflip */ .diff-contentalign-left td
{
756 .diff-otitle, .diff-ntitle, .diff-lineno {
757 direction: ltr
!important
;
761 #mw-revision-info, #mw-revision-nav
{
766 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
770 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
774 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{