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
; }
184 #catlinks ul
, #catlinks li
{
188 list-style-type:none
;
189 list-style-image:none
;
193 display:inline-block
;
196 border-left: 1px solid
#AAA;
200 #catlinks li:first-child
{
208 .mw-hidden-cats-hidden { display: none
; }
209 .catlinks-allhidden { display: none
; }
211 /* Convenience links to edit block, delete and protect reasons */
212 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
213 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
,
214 p
.mw-revdel-editreasons
{
220 * OpenSearch ajax suggestions
222 .open-search-suggestions .ui-autocomplete {
224 border: 1px solid
#AAA!important
;
230 .open-search-suggestions .ui-autocomplete #ui-active-menuitem {
232 background: Highlight
;
234 color: HighlightText
;
235 border-color: #4C59A6;
236 border-color: Highlight
;
238 .open-search-suggestions .ui-autocomplete .ui-menu-item a{
239 line-height: 1.1!important
;
243 /* Page history styling */
244 /* the auto-generated edit comments */
245 .autocomment { color: gray
; }
246 #pagehistory .history-user
{
250 #pagehistory span
.minor
{
254 border: 1px solid white
;
256 #pagehistory li
.selected
{
257 background-color: #f9f9f9;
258 border: 1px dashed
#aaa;
261 /** Generic minor/bot/newpage styling */
262 .newpage, .minor, .bot {
266 #shared-image-dup, #shared-image-conflict
{
271 * Recreating deleted page warning
272 * Reupload file warning
273 * Page protection warning
274 * incl. log entries for these warnings
276 div
.mw-warning-with-logexcerpt
{
279 border: 2px solid
#2F6FAB;
282 div
.mw-warning-with-logexcerpt ul li
{
286 /* (show/hide) revision deletion links */
287 span
.mw-revdelundel-link
,
288 strong
.mw-revdelundel-link
{
291 span
.mw-revdelundel-hidden
,
292 input
.mw-revdelundel-hidden
{
296 td
.mw-revdel-checkbox
, th
.mw-revdel-checkbox
{
304 background: url
("images/feed-icon.png") center left no-repeat
;
308 /* Plainlinks - this can be used to switch
309 * off special external link styling */
311 background: none
!important
;
312 padding: 0 !important
;
314 /* External URLs should always be treated as LTR (bug 4330) */
315 /* @noflip */ .rtl a
.external
.free
, .rtl a
.external
.autonumber
{
320 /* wikitable class for skinning normal tables
321 * keep on sync with commonPrint.css
324 margin: 1em 1em 1em 0;
326 border: 1px #aaa solid
;
327 border-collapse: collapse
;
330 .wikitable th, .wikitable td {
331 border: 1px #aaa solid
;
342 /* hide initially collapsed collapsable tables */
343 table
.collapsed tr
.collapsable
{
347 /* success and error messages */
353 color: #FFA500; /* orange */
360 .errorbox, .warningbox, .successbox {
370 background-color: #fff2f2;
373 border-color: #FF8C00; /* darkorange */
374 background-color: #FFFFC0;
378 background-color: #dfd;
380 .errorbox h2, .warningbox h2, .successbox h2 {
388 /* general info/warning box for SP */
390 border: 2px solid
#ff7f00;
403 margin: 0.5em 0.5em 0.5em 49px;
406 /* Note on preview page */
422 border: solid
1px #bbbbff;
423 background-color: #eeeeff;
428 Table pager (e.g. Special:ListFiles)
429 - remove underlines from the navigation link
431 - set the borders to outsets (similar to Special:AllMessages)
432 - remove line wrapping for all td and th, set background color
433 - restore line wrapping for the last two table cells (description and size)
437 border-collapse: collapse
;
447 text-decoration: none
;
449 .TablePager, .TablePager td, .TablePager th {
450 border: 1px solid
#aaaaaa;
451 padding: 0 0.15em 0 0.15em;
454 background-color: #eeeeff;
457 background-color: #ffffff;
459 .TablePager tr:hover td {
460 background-color: #eeeeff;
463 .imagelist td, .imagelist th {
466 .imagelist .TablePager_col_links {
467 background-color: #eeeeff;
469 .imagelist .TablePager_col_img_description {
472 .imagelist th.TablePager_sort {
473 background-color: #ccccff;
479 border: 1px solid
#aaaaaa;
480 background-color: #f9f9f9;
483 margin-bottom: 0.5em;
490 list-style-type: none
;
494 /* Classes for EXIF data display */
498 margin-bottom: 0.5em;
502 table
.mw_metadata caption
{
506 table
.mw_metadata th
{
510 table
.mw_metadata td
{
516 border-collapse: collapse
;
519 table
.mw_metadata td
, table
.mw_metadata th
{
521 border: 1px solid
#aaaaaa;
526 table
.mw_metadata th
{
527 background-color: #f9f9f9;
530 table
.mw_metadata td
{
531 background-color: #fcfcfc;
534 table
.mw_metadata ul
.metadata-langlist
{
535 list-style-type: none
;
536 list-style-image: none
;
543 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
544 /* Don't forget to update commonPrint.css */
547 background-color: #f9f9f9;
548 border: solid
2px white
;
549 display: -moz-inline-box
;
550 display: inline-block
;
553 ul
.gallery
, li
.gallerybox
{
568 word-wrap: break-word
;
571 li
.gallerybox div
.thumb
{
573 border: 1px solid
#ccc;
577 li
.gallerybox div
.thumb img
{
586 word-wrap: break-word
;
591 background-image: url
(images
/ajax-loader
.gif
);
592 background-position: center center
;
593 background-repeat: no-repeat
;
600 padding: 10px !important
;
603 background-image: url
(images/spinner.gif);
604 background-position: center center
;
605 background-repeat: no-repeat
;
608 /* Correct directionality when page dir is different from site/user dir */
609 /* @noflip */.mw-content-ltr ul
, .mw-content-ltr ol
,
610 .mw-content-rtl .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ol {
611 margin: .3em 0 0 1.5em;
613 /* @noflip */.mw-content-rtl ul
, .mw-content-rtl ol
,
614 .mw-content-ltr .mw-content-rtl ul, .mw-content-ltr .mw-content-rtl ol {
615 margin: .3em 1.5em 0 0;
617 /* Localised ordered list numbering for some languages */
624 list-style-type: -moz-persian
;
625 list-style-type: persian
;
629 list-style-type: -moz-arabic-indic
;
630 list-style-type: arabic-indic
;
634 list-style-type: -moz-bengali
;
635 list-style-type: bengali
;
639 list-style-type: -moz-oriya
;
640 list-style-type: oriya
;
643 /* Correct directionality when page dir is different from site/user dir */
644 /* @noflip */.mw-content-ltr
.toc ul
, .mw-content-ltr #toc ul
,
645 .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
649 /* @noflip */.mw-content-rtl
.toc ul
, .mw-content-rtl #toc ul
,
650 .mw-content-ltr .mw-content-rtl .toc ul, .mw-content-ltr .mw-content-rtl #toc ul {
654 /* @noflip */.mw-content-ltr
.toc ul ul
, .mw-content-ltr #toc ul ul
,
655 .mw-content-rtl .mw-content-ltr .toc ul ul, .mw-content-rtl .mw-content-ltr #toc ul ul {
658 /* @noflip */.mw-content-rtl
.toc ul ul
, .mw-content-rtl #toc ul ul
,
659 .mw-content-ltr .mw-content-rtl .toc ul ul, .mw-content-ltr .mw-content-rtl #toc ul ul {
664 .mw-help-field-hint {
668 padding: 0px 0px 0px 15px;
670 background-image: url
('images/help-question.gif');
671 background-position: left center
;
672 background-repeat: no-repeat
;
675 text-decoration: underline
;
678 .mw-help-field-hint:hover {
680 background-image: url
('images/help-question-hover.gif');
682 .mw-help-field-data {
684 background-color: #d6f3ff;
685 padding:5px 8px 4px 8px;
686 border: 1px solid
#5dc9f4;
690 padding: 5px 5px 10px;
697 padding: 5px 8px 4px 8px;
698 background-color: #d6f3ff;
700 border: 1px solid
#5dc9f4;
707 background: url
(images
/tipsy-arrow
.gif
) no-repeat top left
;
711 .tipsy-se .tipsy-arrow {
714 background-position: 0% 100%;
718 background-image: url
(images/sort_both.gif);
720 background-repeat: no-repeat
;
721 background-position: center right
;
725 background-image: url
(images/sort_up.gif);
728 background-image: url
(images/sort_down.gif);
731 /* LTR content in RTL layout */
738 #mw-clearyourcache, #mw-sitecsspreview
, #mw-sitejspreview
, #mw-usercsspreview
, #mw-userjspreview
{
743 /* Correct user & content directionality when viewing a diff */
744 .diff-currentversion-title, .diff {
748 /* @noflip */ .diff-contentalign-right td
{
752 /* @noflip */ .diff-contentalign-left td
{
756 .diff-otitle, .diff-ntitle, .diff-lineno {
757 direction: ltr
!important
;
761 #mw-revision-info, #mw-revision-nav
{
766 /* @noflip */div
.tright
, div
.floatright
, table
.floatright
{
770 /* @noflip */div
.tleft
, div
.floatleft
, table
.floatleft
{
774 div
.floatright
, table
.floatright
, div
.floatleft
, table
.floatleft
{
779 #mw-credits a
{ unicode-bidi: embed
; }