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
; }
23 .mw-align-start { text-align: left
; }
24 .mw-align-end { text-align: right
; }
26 /* The scripts of these languages are very hard to read with underlines */
27 [lang
="ar"] a
, [lang
="ckb"] a
, [lang
="fa"] a
, [lang
="kk-arab"] a
,
28 [lang
="mzn"] a
, [lang
="ps"] a
, [lang
="ur"] a
{
29 text-decoration: none
;
32 /* Default style for semantic tags */
33 abbr
, acronym
, .explain
{
34 border-bottom: 1px dotted black
;
38 /* Colored watchlist and recent changes numbers */
39 .mw-plusminus-pos { color: #006400; } /* dark green */
40 .mw-plusminus-neg { color: #8b0000; } /* dark red */
41 .mw-plusminus-null { color: #aaa; } /* gray */
43 /* Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
44 [[Special:Watchlist/edit]] and in category listings */
45 .allpagesredirect, .redirect-in-category, .watchlistredir {
50 /* Comment and username portions of RC entries */
64 img
.tex
{ vertical-align: middle
; }
65 span
.texhtml
{ font-family: serif
; }
67 /* add a bit of margin space between the preview and the toolbar */
68 /* this replaces the ugly <p><br /></p> we used to insert into the page source */
69 #wikiPreview.ontop
{ margin-bottom: 1em; }
71 /* Stop floats from intruding into edit area in previews */
72 #editform, #toolbar
, #wpTextbox1
{
81 border: solid
1px #ddd;
82 background-color: #fcfcfc;
85 /* Edit section links */
97 table
.filehistory td
{
100 table
.filehistory th
{
103 table
.filehistory td
.mw-imagepage-filesize
,
104 table
.filehistory th
.mw-imagepage-filesize
{
108 table
.filehistory td
.filehistory-selected
{
115 li span
.deleted
, span
.history-deleted
{
116 text-decoration: line-through
;
125 background-color: #ffa;
141 td
.mw-label
{ text-align: right
; }
142 td
.mw-input
{ text-align: left
; }
143 td
.mw-submit
{ text-align: left
; }
145 td
.mw-label
{ vertical-align: top
; }
146 .prefsection td.mw-label { width: 20%; }
147 .prefsection table { width: 100%; }
148 td
.mw-submit
{ white-space: nowrap
; }
150 table
.mw-htmlform-nolabel td
.mw-label
{
154 tr
.mw-htmlform-vertical-label td
.mw-label
{
155 text-align: left
!important
;
158 .mw-htmlform-invalid-input td.mw-input input {
161 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
174 .thumbcaption { text-align: left
; }
175 .magnify { float: right
; }
184 list-style-type:none
;
185 list-style-image:none
;
186 vertical-align: middle
!ie
;
190 display:inline-block
;
193 border-left: 1px solid
#AAA;
199 #catlinks li:first-child
{
206 .mw-hidden-cats-hidden { display: none
; }
207 .catlinks-allhidden { display: none
; }
209 /* Convenience links to edit block, delete and protect reasons */
210 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
211 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
212 p
.mw-revdel-editreasons
{
218 * OpenSearch ajax suggestions
220 .open-search-suggestions .ui-autocomplete {
222 border: 1px solid
#AAA!important
;
228 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
230 background: Highlight
;
232 color: HighlightText
;
233 border-color: #4C59A6;
234 border-color: Highlight
;
236 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
237 line-height: 1.1!important
;
241 /* Page history styling */
242 /* the auto-generated edit comments */
243 .autocomment { color: gray
; }
244 #pagehistory .history-user
{
248 #pagehistory span
.minor
{
252 border: 1px solid white
;
254 #pagehistory li
.selected
{
255 background-color: #f9f9f9;
256 border: 1px dashed
#aaa;
259 /** Generic minor/bot/newpage styling */
260 .newpage, .minor, .bot {
264 #shared-image-dup, #shared-image-conflict
{
269 * Recreating deleted page warning
270 * Reupload file warning
271 * Page protection warning
272 * incl. log entries for these warnings
274 div
.mw-warning-with-logexcerpt
{
277 border: 2px solid
#2F6FAB;
280 div
.mw-warning-with-logexcerpt ul li
{
284 /* (show/hide) revision deletion links */
285 span
.mw-revdelundel-link
,
286 strong
.mw-revdelundel-link
{
289 span
.mw-revdelundel-hidden
,
290 input
.mw-revdelundel-hidden
{
294 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
302 background: url
("images/feed-icon.png") center left no-repeat
;
306 /* Plainlinks - this can be used to switch
307 * off special external link styling */
309 background: none
!important
;
310 padding: 0 !important
;
312 /* External URLs should always be treated as LTR (bug 4330) */
313 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
318 /* wikitable class for skinning normal tables
319 * keep on sync with commonPrint.css
322 margin: 1em 1em 1em 0;
324 border: 1px #aaa solid
;
325 border-collapse: collapse
;
328 .wikitable th, .wikitable td {
329 border: 1px #aaa solid
;
340 /* hide initially collapsed collapsable tables */
341 table
.collapsed tr
.collapsable
{
345 /* success and error messages */
351 color: #FFA500; /* orange */
358 .errorbox, .warningbox, .successbox {
368 background-color: #fff2f2;
371 border-color: #FF8C00; /* darkorange */
372 background-color: #FFFFC0;
376 background-color: #dfd;
378 .errorbox h2, .warningbox h2, .successbox h2 {
386 /* general info/warning box for SP */
388 border: 2px solid
#ff7f00;
401 margin: 0.5em 0.5em 0.5em 49px;
404 /* Note on preview page */
420 border: solid
1px #bbbbff;
421 background-color: #eeeeff;
426 Table pager (e.g. Special:ListFiles)
427 - remove underlines from the navigation link
429 - set the borders to outsets (similar to Special:AllMessages)
430 - remove line wrapping for all td and th, set background color
431 - restore line wrapping for the last two table cells (description and size)
435 border-collapse: collapse
;
445 text-decoration: none
;
447 .TablePager, .TablePager td, .TablePager th {
448 border: 1px solid
#aaaaaa;
449 padding: 0 0.15em 0 0.15em;
452 background-color: #eeeeff;
455 background-color: #ffffff;
457 .TablePager tr:hover td {
458 background-color: #eeeeff;
461 .imagelist td, .imagelist th {
464 .imagelist .TablePager_col_links {
465 background-color: #eeeeff;
467 .imagelist .TablePager_col_img_description {
470 .imagelist th.TablePager_sort {
471 background-color: #ccccff;
477 border: 1px solid
#aaaaaa;
478 background-color: #f9f9f9;
481 margin-bottom: 0.5em;
488 list-style-type: none
;
492 /* Classes for EXIF data display */
496 margin-bottom: 0.5em;
500 table
.mw_metadata caption
{
504 table
.mw_metadata th
{
508 table
.mw_metadata td
{
514 border-collapse: collapse
;
517 table
.mw_metadata td
, table
.mw_metadata th
{
519 border: 1px solid
#aaaaaa;
524 table
.mw_metadata th
{
525 background-color: #f9f9f9;
528 table
.mw_metadata td
{
529 background-color: #fcfcfc;
532 table
.mw_metadata ul
.metadata-langlist
{
533 list-style-type: none
;
534 list-style-image: none
;
541 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
542 /* Don't forget to update commonPrint.css */
545 background-color: #f9f9f9;
546 border: solid
2px white
;
547 display: -moz-inline-box
;
548 display: inline-block
;
551 ul
.gallery
, li
.gallerybox
{
566 word-wrap: break-word
;
569 li
.gallerybox div
.thumb
{
571 border: 1px solid
#ccc;
575 li
.gallerybox div
.thumb img
{
584 word-wrap: break-word
;
589 background-image: url
(images
/ajax-loader
.gif
);
590 background-position: center center
;
591 background-repeat: no-repeat
;
598 padding: 10px !important
;
601 background-image: url
(images/spinner.gif);
602 background-position: center center
;
603 background-repeat: no-repeat
;
606 /* Correct directionality when page dir is different from site/user dir */
607 /* @noflip */.mw-content-ltr ul
, .mw-content-rtl
.mw-content-ltr ul
{
608 margin: .3em 0 0 1.5em;
610 /* @noflip */.mw-content-rtl ul
, .mw-content-ltr
.mw-content-rtl ul
{
611 margin: .3em 1.5em 0 0;
613 /* @noflip */.mw-content-ltr ol
, .mw-content-rtl
.mw-content-ltr ol
{
614 margin: .3em 0 0 3.2em;
616 /* @noflip */.mw-content-rtl ol
, .mw-content-ltr
.mw-content-rtl ol
{
617 margin: .3em 3.2em 0 0;
620 /* Localised ordered list numbering for some languages */
627 list-style-type: -moz-persian
;
628 list-style-type: persian
;
632 list-style-type: -moz-arabic-indic
;
633 list-style-type: arabic-indic
;
637 list-style-type: -moz-bengali
;
638 list-style-type: bengali
;
642 list-style-type: -moz-oriya
;
643 list-style-type: oriya
;
646 /* Correct directionality when page dir is different from site/user dir */
647 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
648 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
652 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
653 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
657 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
658 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
661 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
662 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
667 .mw-help-field-hint {
671 padding: 0px 0px 0px 15px;
673 background-image: url
('images/help-question.gif');
674 background-position: left center
;
675 background-repeat: no-repeat
;
678 text-decoration: underline
;
681 .mw-help-field-hint:hover {
683 background-image: url
('images/help-question-hover.gif');
685 .mw-help-field-data {
687 background-color: #d6f3ff;
688 padding:5px 8px 4px 8px;
689 border: 1px solid
#5dc9f4;
693 padding: 5px 5px 10px;
700 padding: 5px 8px 4px 8px;
701 background-color: #d6f3ff;
703 border: 1px solid
#5dc9f4;
710 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
714 .tipsy-se .tipsy-arrow {
717 background-position: 0% 100%;
721 background-image: url
(images/sort_both.gif);
723 background-repeat: no-repeat
;
724 background-position: center right
;
728 background-image: url
(images/sort_up.gif);
731 background-image: url
(images/sort_down.gif);
734 /* LTR content in RTL layout */
741 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
746 /* Correct user & content directionality when viewing a diff */
747 .diff-currentversion-title, .diff {
751 /* @noflip */ .diff-contentalign-right td
{
755 /* @noflip */ .diff-contentalign-left td
{
759 .diff-otitle, .diff-ntitle, .diff-lineno {
760 direction: ltr
!important
;
764 #mw-revision-info, #mw-revision-nav
{
769 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
773 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
777 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
788 display: inline-block
;
789 /* IE6+7 workaround */