User:Rubin110/monobook.css: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
-webkit-transform:  rotate(3deg);
-webkit-transform:  rotate(3deg);
font-family: "Comic Sans", "Comic Sans MS", cursive;
font-family: "Comic Sans", "Comic Sans MS", cursive;
}
/* 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://forecasthighs.files.wordpress.com/2011/04/adolf-hitler.jpeg) no-repeat 35% 50%;
  text-decoration: none;
  content:' '; /* to make the element actually appear */
}
}

Revision as of 02:35, 16 May 2011

body {
transform:  rotate(3deg);
-moz-transform:  rotate(3deg);
-webkit-transform:  rotate(3deg);
font-family: "Comic Sans", "Comic Sans MS", cursive;
}

/* 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://forecasthighs.files.wordpress.com/2011/04/adolf-hitler.jpeg) no-repeat 35% 50%;
  text-decoration: none;
  content:' '; /* to make the element actually appear */
}