MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 183: | Line 183: | ||
z-index: 11; | z-index: 11; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
} | |||
// Image popup on hover over text | |||
.hover-image-wrapper { | |||
position: relative; | |||
cursor: help; | |||
} | |||
.hover-image-popup { | |||
display: none; | |||
position: absolute; | |||
top: 1.2em; | |||
left: 0; | |||
z-index: 9999; | |||
background: #fff; | |||
padding: 4px; | |||
border: 1px solid #ccc; | |||
} | |||
.hover-image-wrapper:hover .hover-image-popup { | |||
display: block; | |||
} | } | ||