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 */
91 /* Correct directionality when page dir is different from site/user dir */
92 /* @noflip */.mw-content-ltr
.editsection
, .mw-content-rtl
.mw-content-ltr
.editsection
{ float: right
; }
93 /* @noflip */.mw-content-rtl
.editsection
, .mw-content-ltr
.mw-content-rtl
.editsection
{ float: left
; }
101 table
.filehistory th
,
102 table
.filehistory td
{
105 table
.filehistory th
{
108 table
.filehistory td
.mw-imagepage-filesize
,
109 table
.filehistory th
.mw-imagepage-filesize
{
113 table
.filehistory td
.filehistory-selected
{
120 li span
.deleted
, span
.history-deleted
{
121 text-decoration: line-through
;
130 background-color: #ffa;
146 td
.mw-label
{ text-align: right
; }
147 td
.mw-input
{ text-align: left
; }
148 td
.mw-submit
{ text-align: left
; }
150 td
.mw-label
{ vertical-align: top
; }
151 .prefsection td.mw-label { width: 20%; }
152 .prefsection table { width: 100%; }
153 td
.mw-submit
{ white-space: nowrap
; }
155 table
.mw-htmlform-nolabel td
.mw-label
{
159 tr
.mw-htmlform-vertical-label td
.mw-label
{
160 text-align: left
!important
;
163 .mw-htmlform-invalid-input td.mw-input input {
166 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
179 .thumbcaption { text-align: left
; }
180 .magnify { float: right
; }
189 list-style-type:none
;
190 list-style-image:none
;
191 vertical-align: middle
!ie
;
195 display:inline-block
;
198 border-left: 1px solid
#AAA;
204 #catlinks li:first-child
{
211 .mw-hidden-cats-hidden { display: none
; }
212 .catlinks-allhidden { display: none
; }
214 /* Convenience links to edit block, delete and protect reasons */
215 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
216 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
217 p
.mw-revdel-editreasons
{
223 * OpenSearch ajax suggestions
225 .open-search-suggestions .ui-autocomplete {
227 border: 1px solid
#AAA!important
;
233 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
235 background: Highlight
;
237 color: HighlightText
;
238 border-color: #4C59A6;
239 border-color: Highlight
;
241 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
242 line-height: 1.1!important
;
246 /* Page history styling */
247 /* the auto-generated edit comments */
248 .autocomment { color: gray
; }
249 #pagehistory .history-user
{
253 #pagehistory span
.minor
{
257 border: 1px solid white
;
259 #pagehistory li
.selected
{
260 background-color: #f9f9f9;
261 border: 1px dashed
#aaa;
264 /** Generic minor/bot/newpage styling */
265 .newpage, .minor, .bot {
269 #shared-image-dup, #shared-image-conflict
{
274 * Recreating deleted page warning
275 * Reupload file warning
276 * Page protection warning
277 * incl. log entries for these warnings
279 div
.mw-warning-with-logexcerpt
{
282 border: 2px solid
#2F6FAB;
285 div
.mw-warning-with-logexcerpt ul li
{
289 /* (show/hide) revision deletion links */
290 span
.mw-revdelundel-link
,
291 strong
.mw-revdelundel-link
{
294 span
.mw-revdelundel-hidden
,
295 input
.mw-revdelundel-hidden
{
299 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
307 background: url
("images/feed-icon.png") center left no-repeat
;
311 /* Plainlinks - this can be used to switch
312 * off special external link styling */
314 background: none
!important
;
315 padding: 0 !important
;
317 /* External URLs should always be treated as LTR (bug 4330) */
318 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
323 /* wikitable class for skinning normal tables
324 * keep on sync with commonPrint.css
327 margin: 1em 1em 1em 0;
329 border: 1px #aaa solid
;
330 border-collapse: collapse
;
333 .wikitable th, .wikitable td {
334 border: 1px #aaa solid
;
345 /* hide initially collapsed collapsable tables */
346 table
.collapsed tr
.collapsable
{
350 /* success and error messages */
356 color: #FFA500; /* orange */
363 .errorbox, .warningbox, .successbox {
373 background-color: #fff2f2;
376 border-color: #FF8C00; /* darkorange */
377 background-color: #FFFFC0;
381 background-color: #dfd;
383 .errorbox h2, .warningbox h2, .successbox h2 {
391 /* general info/warning box for SP */
393 border: 2px solid
#ff7f00;
406 margin: 0.5em 0.5em 0.5em 49px;
409 /* Note on preview page */
425 border: solid
1px #bbbbff;
426 background-color: #eeeeff;
431 Table pager (e.g. Special:ListFiles)
432 - remove underlines from the navigation link
434 - set the borders to outsets (similar to Special:AllMessages)
435 - remove line wrapping for all td and th, set background color
436 - restore line wrapping for the last two table cells (description and size)
440 border-collapse: collapse
;
450 text-decoration: none
;
452 .TablePager, .TablePager td, .TablePager th {
453 border: 1px solid
#aaaaaa;
454 padding: 0 0.15em 0 0.15em;
457 background-color: #eeeeff;
460 background-color: #ffffff;
462 .TablePager tr:hover td {
463 background-color: #eeeeff;
466 .imagelist td, .imagelist th {
469 .imagelist .TablePager_col_links {
470 background-color: #eeeeff;
472 .imagelist .TablePager_col_img_description {
475 .imagelist th.TablePager_sort {
476 background-color: #ccccff;
482 border: 1px solid
#aaaaaa;
483 background-color: #f9f9f9;
486 margin-bottom: 0.5em;
493 list-style-type: none
;
497 /* Classes for EXIF data display */
501 margin-bottom: 0.5em;
505 table
.mw_metadata caption
{
509 table
.mw_metadata th
{
513 table
.mw_metadata td
{
519 border-collapse: collapse
;
522 table
.mw_metadata td
, table
.mw_metadata th
{
524 border: 1px solid
#aaaaaa;
529 table
.mw_metadata th
{
530 background-color: #f9f9f9;
533 table
.mw_metadata td
{
534 background-color: #fcfcfc;
537 table
.mw_metadata ul
.metadata-langlist
{
538 list-style-type: none
;
539 list-style-image: none
;
546 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
547 /* Don't forget to update commonPrint.css */
550 border: solid
2px white
;
551 display: -moz-inline-box
;
552 display: inline-block
;
555 ul
.gallery
, li
.gallerybox
{
570 word-wrap: break-word
;
573 li
.gallerybox div
.thumb
{
575 border: 1px solid
#ccc;
576 background-color: #f9f9f9;
580 li
.gallerybox div
.thumb img
{
589 word-wrap: break-word
;
594 background-image: url
(images
/ajax-loader
.gif
);
595 background-position: center center
;
596 background-repeat: no-repeat
;
603 padding: 10px !important
;
606 background-image: url
(images/spinner.gif);
607 background-position: center center
;
608 background-repeat: no-repeat
;
611 /* Correct directionality when page dir is different from site/user dir */
612 /* @noflip */.mw-content-ltr ul
, .mw-content-rtl
.mw-content-ltr ul
{
613 margin: .3em 0 0 1.5em;
615 /* @noflip */.mw-content-rtl ul
, .mw-content-ltr
.mw-content-rtl ul
{
616 margin: .3em 1.5em 0 0;
618 /* @noflip */.mw-content-ltr ol
, .mw-content-rtl
.mw-content-ltr ol
{
619 margin: .3em 0 0 3.2em;
621 /* @noflip */.mw-content-rtl ol
, .mw-content-ltr
.mw-content-rtl ol
{
622 margin: .3em 3.2em 0 0;
625 /* Localised ordered list numbering for some languages */
632 list-style-type: -moz-persian
;
633 list-style-type: persian
;
637 list-style-type: -moz-arabic-indic
;
638 list-style-type: arabic-indic
;
642 list-style-type: -moz-bengali
;
643 list-style-type: bengali
;
647 list-style-type: -moz-oriya
;
648 list-style-type: oriya
;
651 /* Correct directionality when page dir is different from site/user dir */
652 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
653 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
657 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
658 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
662 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
663 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
666 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
667 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
672 .mw-help-field-hint {
676 padding: 0px 0px 0px 15px;
678 background-image: url
('images/help-question.gif');
679 background-position: left center
;
680 background-repeat: no-repeat
;
683 text-decoration: underline
;
686 .mw-help-field-hint:hover {
688 background-image: url
('images/help-question-hover.gif');
690 .mw-help-field-data {
692 background-color: #d6f3ff;
693 padding:5px 8px 4px 8px;
694 border: 1px solid
#5dc9f4;
698 padding: 5px 5px 10px;
705 padding: 5px 8px 4px 8px;
706 background-color: #d6f3ff;
708 border: 1px solid
#5dc9f4;
715 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
719 .tipsy-se .tipsy-arrow {
722 background-position: 0% 100%;
726 background-image: url
(images/sort_both.gif);
728 background-repeat: no-repeat
;
729 background-position: center right
;
733 background-image: url
(images/sort_up.gif);
736 background-image: url
(images/sort_down.gif);
739 /* LTR content in RTL layout */
746 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
751 /* Correct user & content directionality when viewing a diff */
752 .diff-currentversion-title, .diff {
756 /* @noflip */ .diff-contentalign-right td
{
760 /* @noflip */ .diff-contentalign-left td
{
764 .diff-otitle, .diff-ntitle, .diff-lineno {
765 direction: ltr
!important
;
769 #mw-revision-info, #mw-revision-nav
{
774 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
778 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
782 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
787 #mw-credits a
{ unicode-bidi: embed
; }