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 */
98 table
.filehistory td
{
101 table
.filehistory th
{
104 table
.filehistory td
.mw-imagepage-filesize
,
105 table
.filehistory th
.mw-imagepage-filesize
{
109 table
.filehistory td
.filehistory-selected
{
116 li span
.deleted
, span
.history-deleted
{
117 text-decoration: line-through
;
126 background-color: #ffa;
142 td
.mw-label
{ text-align: right
; }
143 td
.mw-input
{ text-align: left
; }
144 td
.mw-submit
{ text-align: left
; }
146 td
.mw-label
{ vertical-align: top
; }
147 .prefsection td.mw-label { width: 20%; }
148 .prefsection table { width: 100%; }
149 td
.mw-submit
{ white-space: nowrap
; }
151 table
.mw-htmlform-nolabel td
.mw-label
{
155 tr
.mw-htmlform-vertical-label td
.mw-label
{
156 text-align: left
!important
;
159 .mw-htmlform-invalid-input td.mw-input input {
162 .mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
175 .thumbcaption { text-align: left
; }
176 .magnify { float: right
; }
185 list-style-type:none
;
186 list-style-image:none
;
187 vertical-align: middle
!ie
;
191 display:inline-block
;
194 border-left: 1px solid
#AAA;
200 #catlinks li:first-child
{
207 .mw-hidden-cats-hidden { display: none
; }
208 .catlinks-allhidden { display: none
; }
210 /* Convenience links to edit block, delete and protect reasons */
211 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
212 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
213 p
.mw-revdel-editreasons
{
219 * OpenSearch ajax suggestions
221 .open-search-suggestions .ui-autocomplete {
223 border: 1px solid
#AAA!important
;
229 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
231 background: Highlight
;
233 color: HighlightText
;
234 border-color: #4C59A6;
235 border-color: Highlight
;
237 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
238 line-height: 1.1!important
;
242 /* Page history styling */
243 /* the auto-generated edit comments */
244 .autocomment { color: gray
; }
245 #pagehistory .history-user
{
249 #pagehistory span
.minor
{
253 border: 1px solid white
;
255 #pagehistory li
.selected
{
256 background-color: #f9f9f9;
257 border: 1px dashed
#aaa;
260 /** Generic minor/bot/newpage styling */
261 .newpage, .minor, .bot {
265 #shared-image-dup, #shared-image-conflict
{
270 * Recreating deleted page warning
271 * Reupload file warning
272 * Page protection warning
273 * incl. log entries for these warnings
275 div
.mw-warning-with-logexcerpt
{
278 border: 2px solid
#2F6FAB;
281 div
.mw-warning-with-logexcerpt ul li
{
285 /* (show/hide) revision deletion links */
286 span
.mw-revdelundel-link
,
287 strong
.mw-revdelundel-link
{
290 span
.mw-revdelundel-hidden
,
291 input
.mw-revdelundel-hidden
{
295 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
303 background: url
("images/feed-icon.png") center left no-repeat
;
307 /* Plainlinks - this can be used to switch
308 * off special external link styling */
310 background: none
!important
;
311 padding: 0 !important
;
313 /* External URLs should always be treated as LTR (bug 4330) */
314 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
319 /* wikitable class for skinning normal tables
320 * keep on sync with commonPrint.css
323 margin: 1em 1em 1em 0;
325 border: 1px #aaa solid
;
326 border-collapse: collapse
;
329 .wikitable th, .wikitable td {
330 border: 1px #aaa solid
;
341 /* hide initially collapsed collapsable tables */
342 table
.collapsed tr
.collapsable
{
346 /* success and error messages */
352 color: #FFA500; /* orange */
359 .errorbox, .warningbox, .successbox {
369 background-color: #fff2f2;
372 border-color: #FF8C00; /* darkorange */
373 background-color: #FFFFC0;
377 background-color: #dfd;
379 .errorbox h2, .warningbox h2, .successbox h2 {
387 /* general info/warning box for SP */
389 border: 2px solid
#ff7f00;
402 margin: 0.5em 0.5em 0.5em 49px;
405 /* Note on preview page */
421 border: solid
1px #bbbbff;
422 background-color: #eeeeff;
427 Table pager (e.g. Special:ListFiles)
428 - remove underlines from the navigation link
430 - set the borders to outsets (similar to Special:AllMessages)
431 - remove line wrapping for all td and th, set background color
432 - restore line wrapping for the last two table cells (description and size)
436 border-collapse: collapse
;
446 text-decoration: none
;
448 .TablePager, .TablePager td, .TablePager th {
449 border: 1px solid
#aaaaaa;
450 padding: 0 0.15em 0 0.15em;
453 background-color: #eeeeff;
456 background-color: #ffffff;
458 .TablePager tr:hover td {
459 background-color: #eeeeff;
462 .imagelist td, .imagelist th {
465 .imagelist .TablePager_col_links {
466 background-color: #eeeeff;
468 .imagelist .TablePager_col_img_description {
471 .imagelist th.TablePager_sort {
472 background-color: #ccccff;
478 border: 1px solid
#aaaaaa;
479 background-color: #f9f9f9;
482 margin-bottom: 0.5em;
489 list-style-type: none
;
493 /* Classes for EXIF data display */
497 margin-bottom: 0.5em;
501 table
.mw_metadata caption
{
505 table
.mw_metadata th
{
509 table
.mw_metadata td
{
515 border-collapse: collapse
;
518 table
.mw_metadata td
, table
.mw_metadata th
{
520 border: 1px solid
#aaaaaa;
525 table
.mw_metadata th
{
526 background-color: #f9f9f9;
529 table
.mw_metadata td
{
530 background-color: #fcfcfc;
533 table
.mw_metadata ul
.metadata-langlist
{
534 list-style-type: none
;
535 list-style-image: none
;
542 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
543 /* Don't forget to update commonPrint.css */
546 background-color: #f9f9f9;
547 border: solid
2px white
;
548 display: -moz-inline-box
;
549 display: inline-block
;
552 ul
.gallery
, li
.gallerybox
{
567 word-wrap: break-word
;
570 li
.gallerybox div
.thumb
{
572 border: 1px solid
#ccc;
576 li
.gallerybox div
.thumb img
{
585 word-wrap: break-word
;
590 background-image: url
(images
/ajax-loader
.gif
);
591 background-position: center center
;
592 background-repeat: no-repeat
;
599 padding: 10px !important
;
602 background-image: url
(images/spinner.gif);
603 background-position: center center
;
604 background-repeat: no-repeat
;
607 /* Correct directionality when page dir is different from site/user dir */
608 /* @noflip */.mw-content-ltr ul
, .mw-content-rtl
.mw-content-ltr ul
{
609 margin: .3em 0 0 1.5em;
611 /* @noflip */.mw-content-rtl ul
, .mw-content-ltr
.mw-content-rtl ul
{
612 margin: .3em 1.5em 0 0;
614 /* @noflip */.mw-content-ltr ol
, .mw-content-rtl
.mw-content-ltr ol
{
615 margin: .3em 0 0 3.2em;
617 /* @noflip */.mw-content-rtl ol
, .mw-content-ltr
.mw-content-rtl ol
{
618 margin: .3em 3.2em 0 0;
621 /* Localised ordered list numbering for some languages */
628 list-style-type: -moz-persian
;
629 list-style-type: persian
;
633 list-style-type: -moz-arabic-indic
;
634 list-style-type: arabic-indic
;
638 list-style-type: -moz-bengali
;
639 list-style-type: bengali
;
643 list-style-type: -moz-oriya
;
644 list-style-type: oriya
;
647 /* Correct directionality when page dir is different from site/user dir */
648 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
649 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
653 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
654 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
658 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
659 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
662 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
663 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
668 .mw-help-field-hint {
672 padding: 0px 0px 0px 15px;
674 background-image: url
('images/help-question.gif');
675 background-position: left center
;
676 background-repeat: no-repeat
;
679 text-decoration: underline
;
682 .mw-help-field-hint:hover {
684 background-image: url
('images/help-question-hover.gif');
686 .mw-help-field-data {
688 background-color: #d6f3ff;
689 padding:5px 8px 4px 8px;
690 border: 1px solid
#5dc9f4;
694 padding: 5px 5px 10px;
701 padding: 5px 8px 4px 8px;
702 background-color: #d6f3ff;
704 border: 1px solid
#5dc9f4;
711 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
715 .tipsy-se .tipsy-arrow {
718 background-position: 0% 100%;
722 background-image: url
(images/sort_both.gif);
724 background-repeat: no-repeat
;
725 background-position: center right
;
729 background-image: url
(images/sort_up.gif);
732 background-image: url
(images/sort_down.gif);
735 /* LTR content in RTL layout */
742 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
747 /* Correct user & content directionality when viewing a diff */
748 .diff-currentversion-title, .diff {
752 /* @noflip */ .diff-contentalign-right td
{
756 /* @noflip */ .diff-contentalign-left td
{
760 .diff-otitle, .diff-ntitle, .diff-lineno {
761 direction: ltr
!important
;
765 #mw-revision-info, #mw-revision-nav
{
770 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
774 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
778 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
789 display: inline-block
;
790 /* IE6+7 workaround */