MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
fixes for sidebar langs & transparent checker thing (will update URLs in a moment) |
locally hosting checker images |
||
| Line 27: | Line 27: | ||
/* Put a chequered background behind images, only visible if they have transparency */ | /* Put a chequered background behind images, only visible if they have transparency */ | ||
.gallerybox .thumb img, | .gallerybox .thumb img, | ||
#file img { background: white url("http:// | #file img { background: white url("http://portal.biringa.com/w/images/5/5d/Checker-16x16.png") repeat; } | ||
.gallerybox .thumb img:hover, | .gallerybox .thumb img:hover, | ||
#file img:hover { background: white url("http:// | #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. */ | /* But not on articles, user pages, portals or with opt-out. */ | ||
Revision as of 00:41, 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;
}