MediaWiki:Common.css

From the Portal Wiki
Revision as of 00:41, 22 April 2011 by Seb (talk | contribs) (locally hosting checker images)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
}