User:Aestetix/monobook.css

From Noisebridge
< User:Aestetix
Revision as of 00:34, 30 March 2010 by Ani (Talk | contribs)

Jump to: navigation, search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Konqueror: Click Reload or press F5
  • Opera: Clear the cache in Tools → Preferences
/* hide the logo */
#p-logo a, #p-logo a:hover { background-position:-200px 0px !important; }
 
/* style a:after pseudo-element, based on monobook's #p-logo style,
   to contain a replacement logo. (It is necessary to do it this convoluted way
   because the original background url is specified in the html style attribute)
*/
#p-logo a:after {
  position:absolute; top:0; left:0; height: 155px; width: 12.2em;
  background: url(http://aestetix.net/aestetix.jpg) no-repeat 35% 50%;
  text-decoration: none;
  content:' '; /* to make the element actually appear */
}
Personal tools