Difference between revisions of "MediaWiki:Common.css"
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.meter, | .meter, | ||
− | .parallel | + | .parallel, |
+ | .commentary | ||
{ | { | ||
background-image: url( 'images/magnifier.png'); | background-image: url( 'images/magnifier.png'); | ||
Line 12: | Line 13: | ||
{ | { | ||
background-image: url( 'images/layout-2-equal.png'); | background-image: url( 'images/layout-2-equal.png'); | ||
+ | } | ||
+ | .commentary | ||
+ | { | ||
+ | background-image: url( 'images/book-open.png'); | ||
} | } | ||
.meter .metertext, | .meter .metertext, | ||
− | .parallel .paralleltext | + | .parallel .paralleltext, |
+ | .commentary .commentarytext | ||
{ | { | ||
display: none; | display: none; | ||
Line 21: | Line 27: | ||
.meter:hover .metertext, | .meter:hover .metertext, | ||
− | .parallel:hover .paralleltext | + | .parallel:hover .paralleltext, |
+ | .commentary:hover .commentarytext | ||
{ | { | ||
display: block; | display: block; |
Revision as of 10:47, 11 August 2009
/* CSS placed here will be applied to all skins */ .meter, .parallel, .commentary { background-image: url( 'images/magnifier.png'); background-repeat: no-repeat; padding: 0 .5em; display: inline; } .parallel { background-image: url( 'images/layout-2-equal.png'); } .commentary { background-image: url( 'images/book-open.png'); } .meter .metertext, .parallel .paralleltext, .commentary .commentarytext { display: none; } .meter:hover .metertext, .parallel:hover .paralleltext, .commentary:hover .commentarytext { display: block; position: absolute; margin-top: -2em; border: 2px dotted darkslategray; padding: 1em; background-color: white; }