Difference between revisions of "MediaWiki:Monobook.css"
From PHYSpedia
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Monobook skin */ | /* CSS placed here will affect users of the Monobook skin */ | ||
− | #p-logo a, | + | !#p-logo a, |
− | #p-logo a:hover { | + | !#p-logo a:hover { |
− | + | ! display: block; | |
+ | ! height: 155px; | ||
+ | ! width: 12.2em; | ||
+ | ! background-repeat: no-repeat; | ||
+ | ! background-position: 10% 20% !important; | ||
+ | ! background-size: 50%; | ||
+ | ! text-decoration: none; | ||
+ | !} | ||
+ | #p-logo { | ||
+ | z-index: 3; | ||
+ | position: absolute; /*needed to use z-index */ | ||
+ | top: 0; | ||
+ | left: 0; | ||
height: 155px; | height: 155px; | ||
− | width: | + | width: 12em; |
− | + | overflow: visible; | |
− | |||
− | |||
− | |||
} | } |
Revision as of 12:59, 4 September 2011
/* CSS placed here will affect users of the Monobook skin */ !#p-logo a, !#p-logo a:hover { ! display: block; ! height: 155px; ! width: 12.2em; ! background-repeat: no-repeat; ! background-position: 10% 20% !important; ! background-size: 50%; ! text-decoration: none; !} #p-logo { z-index: 3; position: absolute; /*needed to use z-index */ top: 0; left: 0; height: 155px; width: 12em; overflow: visible; }