MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 191: | Line 191: | ||
position: relative; | position: relative; | ||
cursor: help; | cursor: help; | ||
display: inline-block; /* prevents layout quirks */ | |||
} | } | ||
.hover-image-popup { | .hover-image-popup { | ||
position: absolute; | position: absolute; | ||
top: 1.2em; | top: 1.2em; | ||
| Line 202: | Line 202: | ||
padding: 4px; | padding: 4px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
/* Force hidden by default */ | |||
display: | display: none !important; | ||
} | } | ||
.hover-image-wrapper:hover .hover-image-popup { | .hover-image-wrapper:hover .hover-image-popup { | ||
/* Force visible on hover */ | |||
display: block !important; | display: block !important; | ||
} | } | ||