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 */
90 /* Correct directionality when page dir is different from site/user dir */
91 /* @noflip */.mw-content-ltr
.editsection
, .mw-content-rtl
.mw-content-ltr
.editsection
{ float: right
; }
92 /* @noflip */.mw-content-rtl
.editsection
, .mw-content-ltr
.mw-content-rtl
.editsection
{ float: left
; }
100 table
.filehistory th
,
101 table
.filehistory td
{
104 table
.filehistory th
{
107 table
.filehistory td
.mw-imagepage-filesize
,
108 table
.filehistory th
.mw-imagepage-filesize
{
112 table
.filehistory td
.filehistory-selected
{
119 li span
.deleted
, span
.history-deleted
{
120 text-decoration: line-through
;
129 background-color: #ffa;
145 td
.mw-label
{ text-align: right
; }
146 td
.mw-input
{ text-align: left
; }
147 td
.mw-submit
{ text-align: left
; }
149 td
.mw-label
{ vertical-align: top
; }
150 .prefsection td.mw-label { width: 20%; }
151 .prefsection table { width: 100%; }
152 td
.mw-submit
{ white-space: nowrap
; }
154 table
.mw-htmlform-nolabel td
.mw-label
{
158 tr
.mw-htmlform-vertical-label td
.mw-label
{
159 text-align: left
!important
;
162 .mw-htmlform-invalid-input td.mw-input input {
165 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
178 .thumbcaption { text-align: left
; }
179 .magnify { float: right
; }
188 list-style-type:none
;
189 list-style-image:none
;
190 vertical-align: middle
!ie
;
194 display:inline-block
;
197 border-left: 1px solid
#AAA;
203 #catlinks li:first-child
{
210 .mw-hidden-cats-hidden { display: none
; }
211 .catlinks-allhidden { display: none
; }
213 /* Convenience links to edit block, delete and protect reasons */
214 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
215 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
216 p
.mw-revdel-editreasons
{
222 * OpenSearch ajax suggestions
224 .open-search-suggestions .ui-autocomplete {
226 border: 1px solid
#AAA!important
;
232 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
234 background: Highlight
;
236 color: HighlightText
;
237 border-color: #4C59A6;
238 border-color: Highlight
;
240 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
241 line-height: 1.1!important
;
245 /* Page history styling */
246 /* the auto-generated edit comments */
247 .autocomment { color: gray
; }
248 #pagehistory .history-user
{
252 #pagehistory span
.minor
{
256 border: 1px solid white
;
258 #pagehistory li
.selected
{
259 background-color: #f9f9f9;
260 border: 1px dashed
#aaa;
263 /** Generic minor/bot/newpage styling */
264 .newpage, .minor, .bot {
268 #shared-image-dup, #shared-image-conflict
{
273 * Recreating deleted page warning
274 * Reupload file warning
275 * Page protection warning
276 * incl. log entries for these warnings
278 div
.mw-warning-with-logexcerpt
{
281 border: 2px solid
#2F6FAB;
284 div
.mw-warning-with-logexcerpt ul li
{
288 /* (show/hide) revision deletion links */
289 span
.mw-revdelundel-link
,
290 strong
.mw-revdelundel-link
{
293 span
.mw-revdelundel-hidden
,
294 input
.mw-revdelundel-hidden
{
298 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
306 background: url
("images/feed-icon.png") center left no-repeat
;
310 /* Plainlinks - this can be used to switch
311 * off special external link styling */
313 background: none
!important
;
314 padding: 0 !important
;
316 /* External URLs should always be treated as LTR (bug 4330) */
317 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
322 /* wikitable class for skinning normal tables
323 * keep on sync with commonPrint.css
326 margin: 1em 1em 1em 0;
328 border: 1px #aaa solid
;
329 border-collapse: collapse
;
332 .wikitable th, .wikitable td {
333 border: 1px #aaa solid
;
344 /* hide initially collapsed collapsable tables */
345 table
.collapsed tr
.collapsable
{
349 /* success and error messages */
355 color: #FFA500; /* orange */
362 .errorbox, .warningbox, .successbox {
372 background-color: #fff2f2;
375 border-color: #FF8C00; /* darkorange */
376 background-color: #FFFFC0;
380 background-color: #dfd;
382 .errorbox h2, .warningbox h2, .successbox h2 {
390 /* general info/warning box for SP */
392 border: 2px solid
#ff7f00;
405 margin: 0.5em 0.5em 0.5em 49px;
408 /* Note on preview page */
424 border: solid
1px #bbbbff;
425 background-color: #eeeeff;
430 Table pager (e.g. Special:ListFiles)
431 - remove underlines from the navigation link
433 - set the borders to outsets (similar to Special:AllMessages)
434 - remove line wrapping for all td and th, set background color
435 - restore line wrapping for the last two table cells (description and size)
439 border-collapse: collapse
;
449 text-decoration: none
;
451 .TablePager, .TablePager td, .TablePager th {
452 border: 1px solid
#aaaaaa;
453 padding: 0 0.15em 0 0.15em;
456 background-color: #eeeeff;
459 background-color: #ffffff;
461 .TablePager tr:hover td {
462 background-color: #eeeeff;
465 .imagelist td, .imagelist th {
468 .imagelist .TablePager_col_links {
469 background-color: #eeeeff;
471 .imagelist .TablePager_col_img_description {
474 .imagelist th.TablePager_sort {
475 background-color: #ccccff;
481 border: 1px solid
#aaaaaa;
482 background-color: #f9f9f9;
485 margin-bottom: 0.5em;
492 list-style-type: none
;
496 /* Classes for EXIF data display */
500 margin-bottom: 0.5em;
504 table
.mw_metadata caption
{
508 table
.mw_metadata th
{
512 table
.mw_metadata td
{
518 border-collapse: collapse
;
521 table
.mw_metadata td
, table
.mw_metadata th
{
523 border: 1px solid
#aaaaaa;
528 table
.mw_metadata th
{
529 background-color: #f9f9f9;
532 table
.mw_metadata td
{
533 background-color: #fcfcfc;
536 table
.mw_metadata ul
.metadata-langlist
{
537 list-style-type: none
;
538 list-style-image: none
;
545 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
546 /* Don't forget to update commonPrint.css */
549 background-color: #f9f9f9;
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;
579 li
.gallerybox div
.thumb img
{
588 word-wrap: break-word
;
593 background-image: url
(images
/ajax-loader
.gif
);
594 background-position: center center
;
595 background-repeat: no-repeat
;
602 padding: 10px !important
;
605 background-image: url
(images/spinner.gif);
606 background-position: center center
;
607 background-repeat: no-repeat
;
610 /* Correct directionality when page dir is different from site/user dir */
611 /* @noflip */.mw-content-ltr ul
, .mw-content-rtl
.mw-content-ltr ul
{
612 margin: .3em 0 0 1.5em;
614 /* @noflip */.mw-content-rtl ul
, .mw-content-ltr
.mw-content-rtl ul
{
615 margin: .3em 1.5em 0 0;
617 /* @noflip */.mw-content-ltr ol
, .mw-content-rtl
.mw-content-ltr ol
{
618 margin: .3em 0 0 3.2em;
620 /* @noflip */.mw-content-rtl ol
, .mw-content-ltr
.mw-content-rtl ol
{
621 margin: .3em 3.2em 0 0;
624 /* Localised ordered list numbering for some languages */
631 list-style-type: -moz-persian
;
632 list-style-type: persian
;
636 list-style-type: -moz-arabic-indic
;
637 list-style-type: arabic-indic
;
641 list-style-type: -moz-bengali
;
642 list-style-type: bengali
;
646 list-style-type: -moz-oriya
;
647 list-style-type: oriya
;
650 /* Correct directionality when page dir is different from site/user dir */
651 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
652 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
656 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
657 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
661 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
662 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
665 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
666 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
671 .mw-help-field-hint {
675 padding: 0px 0px 0px 15px;
677 background-image: url
('images/help-question.gif');
678 background-position: left center
;
679 background-repeat: no-repeat
;
682 text-decoration: underline
;
685 .mw-help-field-hint:hover {
687 background-image: url
('images/help-question-hover.gif');
689 .mw-help-field-data {
691 background-color: #d6f3ff;
692 padding:5px 8px 4px 8px;
693 border: 1px solid
#5dc9f4;
697 padding: 5px 5px 10px;
704 padding: 5px 8px 4px 8px;
705 background-color: #d6f3ff;
707 border: 1px solid
#5dc9f4;
714 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
718 .tipsy-se .tipsy-arrow {
721 background-position: 0% 100%;
725 background-image: url
(images/sort_both.gif);
727 background-repeat: no-repeat
;
728 background-position: center right
;
732 background-image: url
(images/sort_up.gif);
735 background-image: url
(images/sort_down.gif);
738 /* LTR content in RTL layout */
745 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
750 /* Correct user & content directionality when viewing a diff */
751 .diff-currentversion-title, .diff {
755 /* @noflip */ .diff-contentalign-right td
{
759 /* @noflip */ .diff-contentalign-left td
{
763 .diff-otitle, .diff-ntitle, .diff-lineno {
764 direction: ltr
!important
;
768 #mw-revision-info, #mw-revision-nav
{
773 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
777 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
781 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
792 display: inline-block
;
793 /* IE6+7 workaround */