MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(locally hosting checker images) |
(stuff from tf:MediaWiki:Common.css) |
||
Line 37: | Line 37: | ||
.nochecker .gallerybox .thumb img { | .nochecker .gallerybox .thumb img { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | |||
/* Language-specific settings */ | |||
/* en-Main page title removal fix */ | |||
body.page-Main_Page h1.firstHeading { | |||
display: none; | |||
} | |||
/* Other languages */ | |||
body.page-Special_RecentChanges h1.firstHeading, body.page-Special_RecentChanges span.subpages, | |||
body.page-Main_Page_ar h1.firstHeading, body.page-Main_Page_ar span.subpages, | |||
body.page-Main_Page_cs h1.firstHeading, body.page-Main_Page_cs span.subpages, | |||
body.page-Main_Page_da h1.firstHeading, body.page-Main_Page_da span.subpages, | |||
body.page-Main_Page_de h1.firstHeading, body.page-Main_Page_de span.subpages, | |||
body.page-Main_Page_es h1.firstHeading, body.page-Main_Page_es span.subpages, | |||
body.page-Main_Page_fi h1.firstHeading, body.page-Main_Page_fi span.subpages, | |||
body.page-Main_Page_fr h1.firstHeading, body.page-Main_Page_fr span.subpages, | |||
body.page-Main_Page_hu h1.firstHeading, body.page-Main_Page_hu span.subpages, | |||
body.page-Main_Page_it h1.firstHeading, body.page-Main_Page_it span.subpages, | |||
body.page-Main_Page_ja h1.firstHeading, body.page-Main_Page_ja span.subpages, | |||
body.page-Main_Page_ko h1.firstHeading, body.page-Main_Page_ko span.subpages, | |||
body.page-Main_Page_nl h1.firstHeading, body.page-Main_Page_nl span.subpages, | |||
body.page-Main_Page_no h1.firstHeading, body.page-Main_Page_no span.subpages, | |||
body.page-Main_Page_pl h1.firstHeading, body.page-Main_Page_pl span.subpages, | |||
body.page-Main_Page_pt h1.firstHeading, body.page-Main_Page_pt span.subpages, | |||
body.page-Main_Page_pt-br h1.firstHeading, body.page-Main_Page_pt-br span.subpages, | |||
body.page-Main_Page_ro h1.firstHeading, body.page-Main_Page_ro span.subpages, | |||
body.page-Main_Page_ru h1.firstHeading, body.page-Main_Page_ru span.subpages, | |||
body.page-Main_Page_sv h1.firstHeading, body.page-Main_Page_sv span.subpages, | |||
body.page-Main_Page_zh-hans h1.firstHeading, body.page-Main_Page_zh-hans span.subpages, | |||
body.page-Main_Page_zh-hant h1.firstHeading, body.page-Main_Page_zh-hant span.subpages { | |||
display: none; | |||
} | |||
/* | |||
* Direction change on Arabic pages. | |||
* All mainspace pages (.ns-0), userspace (.ns-2) and the edit box of template pages (.ns-10) will have | |||
* the text direction set to RTL | |||
*/ | |||
body.ns-0.lang-ar div#bodyContent, | |||
body.ns-2.lang-ar div#bodyContent, | |||
body.ns-10.lang-ar div#bodyContent { | |||
direction: rtl; | |||
} | |||
/* Remove italics from Chinese pages */ | |||
.lang-zh-hans i, | |||
.lang-zh-hant i { | |||
font-style: normal !important; | |||
} | } |
Revision as of 04:16, 22 April 2011
/* CSS placed here will be applied to all skins */ /* SIDEBAR FIXES */ /* Make English link bold. */ li#n-English { font-weight: bold; } /* Hide languages box per namespace & per page */ .ns--1 .generated-sidebar#p-languages, /* Special */ .ns-0.page-Main_Page .generated-sidebar#p-languages, /* Main Page exception */ .ns-2 .generated-sidebar#p-languages, /* User */ .ns-3 .generated-sidebar#p-languages, /* User talk */ .ns-4 .generated-sidebar#p-languages, /* Team Fortress Wiki */ .ns-5 .generated-sidebar#p-languages, /* Team Fortress Wiki talk */ .ns-6 .generated-sidebar#p-languages, /* File */ .ns-7 .generated-sidebar#p-languages, /* File talk */ .ns-8 .generated-sidebar#p-languages, /* MediaWiki */ .ns-9 .generated-sidebar#p-languages /* MediaWiki talk */ { display: none; } /* Put a chequered background behind images, only visible if they have transparency */ .gallerybox .thumb img, #file img { background: white url("http://portal.biringa.com/w/images/5/5d/Checker-16x16.png") repeat; } .gallerybox .thumb img:hover, #file img:hover { background: white url("http://portal.biringa.com/w/images/b/b3/Checker-16x16_Dark.png") repeat; } /* But not on articles, user pages, portals or with opt-out. */ .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background: #f9f9f9; } /* Language-specific settings */ /* en-Main page title removal fix */ body.page-Main_Page h1.firstHeading { display: none; } /* Other languages */ body.page-Special_RecentChanges h1.firstHeading, body.page-Special_RecentChanges span.subpages, body.page-Main_Page_ar h1.firstHeading, body.page-Main_Page_ar span.subpages, body.page-Main_Page_cs h1.firstHeading, body.page-Main_Page_cs span.subpages, body.page-Main_Page_da h1.firstHeading, body.page-Main_Page_da span.subpages, body.page-Main_Page_de h1.firstHeading, body.page-Main_Page_de span.subpages, body.page-Main_Page_es h1.firstHeading, body.page-Main_Page_es span.subpages, body.page-Main_Page_fi h1.firstHeading, body.page-Main_Page_fi span.subpages, body.page-Main_Page_fr h1.firstHeading, body.page-Main_Page_fr span.subpages, body.page-Main_Page_hu h1.firstHeading, body.page-Main_Page_hu span.subpages, body.page-Main_Page_it h1.firstHeading, body.page-Main_Page_it span.subpages, body.page-Main_Page_ja h1.firstHeading, body.page-Main_Page_ja span.subpages, body.page-Main_Page_ko h1.firstHeading, body.page-Main_Page_ko span.subpages, body.page-Main_Page_nl h1.firstHeading, body.page-Main_Page_nl span.subpages, body.page-Main_Page_no h1.firstHeading, body.page-Main_Page_no span.subpages, body.page-Main_Page_pl h1.firstHeading, body.page-Main_Page_pl span.subpages, body.page-Main_Page_pt h1.firstHeading, body.page-Main_Page_pt span.subpages, body.page-Main_Page_pt-br h1.firstHeading, body.page-Main_Page_pt-br span.subpages, body.page-Main_Page_ro h1.firstHeading, body.page-Main_Page_ro span.subpages, body.page-Main_Page_ru h1.firstHeading, body.page-Main_Page_ru span.subpages, body.page-Main_Page_sv h1.firstHeading, body.page-Main_Page_sv span.subpages, body.page-Main_Page_zh-hans h1.firstHeading, body.page-Main_Page_zh-hans span.subpages, body.page-Main_Page_zh-hant h1.firstHeading, body.page-Main_Page_zh-hant span.subpages { display: none; } /* * Direction change on Arabic pages. * All mainspace pages (.ns-0), userspace (.ns-2) and the edit box of template pages (.ns-10) will have * the text direction set to RTL */ body.ns-0.lang-ar div#bodyContent, body.ns-2.lang-ar div#bodyContent, body.ns-10.lang-ar div#bodyContent { direction: rtl; } /* Remove italics from Chinese pages */ .lang-zh-hans i, .lang-zh-hant i { font-style: normal !important; }