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: left
; }
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
; }
184 .mw-hidden-cats-hidden { display: none
; }
185 .catlinks-allhidden { display: none
; }
187 /* Convenience links to edit block, delete and protect reasons */
188 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
189 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
190 p
.mw-revdel-editreasons
{
196 * OpenSearch ajax suggestions
198 .open-search-suggestions .ui-autocomplete {
200 border: 1px solid
#AAA!important
;
206 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
208 background: Highlight
;
210 color: HighlightText
;
211 border-color: #4C59A6;
212 border-color: Highlight
;
214 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
215 line-height: 1.1!important
;
219 /* Page history styling */
220 /* the auto-generated edit comments */
221 .autocomment { color: gray
; }
222 #pagehistory .history-user
{
226 #pagehistory span
.minor
{
230 border: 1px solid white
;
232 #pagehistory li
.selected
{
233 background-color: #f9f9f9;
234 border: 1px dashed
#aaa;
237 /** Generic minor/bot/newpage styling */
238 .newpage, .minor, .bot {
242 #shared-image-dup, #shared-image-conflict
{
247 * Recreating deleted page warning
248 * Reupload file warning
249 * Page protection warning
250 * incl. log entries for these warnings
252 div
.mw-warning-with-logexcerpt
{
255 border: 2px solid
#2F6FAB;
258 div
.mw-warning-with-logexcerpt ul li
{
262 /* (show/hide) revision deletion links */
263 span
.mw-revdelundel-link
,
264 strong
.mw-revdelundel-link
{
267 span
.mw-revdelundel-hidden
,
268 input
.mw-revdelundel-hidden
{
272 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
280 background: url
("images/feed-icon.png") center left no-repeat
;
284 /* Plainlinks - this can be used to switch
285 * off special external link styling */
287 background: none
!important
;
288 padding: 0 !important
;
290 /* External URLs should always be treated as LTR (bug 4330) */
291 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
296 /* wikitable class for skinning normal tables
297 * keep on sync with commonPrint.css
300 margin: 1em 1em 1em 0;
302 border: 1px #aaa solid
;
303 border-collapse: collapse
;
306 .wikitable th, .wikitable td {
307 border: 1px #aaa solid
;
318 /* hide initially collapsed collapsable tables */
319 table
.collapsed tr
.collapsable
{
323 /* success and error messages */
329 color: #FFA500; /* orange */
336 .errorbox, .warningbox, .successbox {
346 background-color: #fff2f2;
349 border-color: #FF8C00; /* darkorange */
350 background-color: #FFFFC0;
354 background-color: #dfd;
356 .errorbox h2, .warningbox h2, .successbox h2 {
364 /* general info/warning box for SP */
366 border: 2px solid
#ff7f00;
379 margin: 0.5em 0.5em 0.5em 49px;
382 /* Note on preview page */
398 border: solid
1px #bbbbff;
399 background-color: #eeeeff;
404 Table pager (e.g. Special:ListFiles)
405 - remove underlines from the navigation link
407 - set the borders to outsets (similar to Special:AllMessages)
408 - remove line wrapping for all td and th, set background color
409 - restore line wrapping for the last two table cells (description and size)
413 border-collapse: collapse
;
423 text-decoration: none
;
425 .TablePager, .TablePager td, .TablePager th {
426 border: 1px solid
#aaaaaa;
427 padding: 0 0.15em 0 0.15em;
430 background-color: #eeeeff;
433 background-color: #ffffff;
435 .TablePager tr:hover td {
436 background-color: #eeeeff;
439 .imagelist td, .imagelist th {
442 .imagelist .TablePager_col_links {
443 background-color: #eeeeff;
445 .imagelist .TablePager_col_img_description {
448 .imagelist th.TablePager_sort {
449 background-color: #ccccff;
455 border: 1px solid
#aaaaaa;
456 background-color: #f9f9f9;
459 margin-bottom: 0.5em;
466 list-style-type: none
;
470 /* Classes for EXIF data display */
474 margin-bottom: 0.5em;
478 table
.mw_metadata caption
{
482 table
.mw_metadata th
{
486 table
.mw_metadata td
{
492 border-collapse: collapse
;
495 table
.mw_metadata td
, table
.mw_metadata th
{
497 border: 1px solid
#aaaaaa;
502 table
.mw_metadata th
{
503 background-color: #f9f9f9;
506 table
.mw_metadata td
{
507 background-color: #fcfcfc;
510 table
.mw_metadata ul
.metadata-langlist
{
511 list-style-type: none
;
512 list-style-image: none
;
519 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
520 /* Don't forget to update commonPrint.css */
523 background-color: #f9f9f9;
524 border: solid
2px white
;
525 display: -moz-inline-box
;
526 display: inline-block
;
529 ul
.gallery
, li
.gallerybox
{
544 word-wrap: break-word
;
547 li
.gallerybox div
.thumb
{
549 border: 1px solid
#ccc;
553 li
.gallerybox div
.thumb img
{
562 word-wrap: break-word
;
565 #mw-addcategory-prompt {
570 #mw-addcategory-prompt input
{
575 .mw-remove-category {
578 background-image: url
(images/remove.png);
579 background-position: center center
;
580 background-repeat: no-repeat
;
583 .mw-ajax-addcategory {
586 background-image: url
(images/add.png);
587 background-position: left center
;
588 background-repeat: no-repeat
;
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-ltr ol
,
612 .mw-content-rtl .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ol {
613 margin: .3em 0 0 1.5em;
615 /* @noflip */.mw-content-rtl ul
, .mw-content-rtl ol
,
616 .mw-content-ltr .mw-content-rtl ul, .mw-content-ltr .mw-content-rtl ol {
617 margin: .3em 1.5em 0 0;
619 /* Localised ordered list numbering for some languages */
626 list-style-type: -moz-persian
;
627 list-style-type: persian
;
631 list-style-type: -moz-arabic-indic
;
632 list-style-type: arabic-indic
;
636 list-style-type: -moz-bengali
;
637 list-style-type: bengali
;
641 list-style-type: -moz-oriya
;
642 list-style-type: oriya
;
645 /* Correct directionality when page dir is different from site/user dir */
646 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
647 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
651 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
652 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
656 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
657 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
660 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
661 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
666 .mw-help-field-hint {
670 padding: 0px 0px 0px 15px;
672 background-image: url
('images/help-question.gif');
673 background-position: left center
;
674 background-repeat: no-repeat
;
677 text-decoration: underline
;
680 .mw-help-field-hint:hover {
682 background-image: url
('images/help-question-hover.gif');
684 .mw-help-field-data {
686 background-color: #d6f3ff;
687 padding:5px 8px 4px 8px;
688 border: 1px solid
#5dc9f4;
692 padding: 5px 5px 10px;
699 padding: 5px 8px 4px 8px;
700 background-color: #d6f3ff;
702 border: 1px solid
#5dc9f4;
709 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
713 .tipsy-se .tipsy-arrow {
716 background-position: 0% 100%;
720 background-image: url
(images/sort_both.gif);
722 background-repeat: no-repeat
;
723 background-position: center right
;
727 background-image: url
(images/sort_up.gif);
730 background-image: url
(images/sort_down.gif);
733 /* LTR content in RTL layout */
740 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
745 /* Correct user & content directionality when viewing a diff */
746 .diff-currentversion-title, .diff {
750 /* @noflip */ .diff-contentalign-right td
{
754 /* @noflip */ .diff-contentalign-left td
{
758 .diff-otitle, .diff-ntitle, .diff-lineno {
759 direction: ltr
!important
;
763 #mw-revision-info, #mw-revision-nav
{
768 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
772 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
776 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
780 .mw-link-nowrap { white-space: nowrap
; }