MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 326: | Line 326: | ||
.image-overlay { | .image-overlay { | ||
position: relative; | position: relative; | ||
display: inline-block; | |||
} | } | ||
.image-overlay .base { | .image-overlay .base { | ||
display: block; | |||
} | } | ||
.image-overlay .overlay { | .image-overlay .overlay { | ||
position: absolute; | position: absolute; | ||
top: | top: 50%; | ||
left: 0; | left: 50%; | ||
transform: translate(-50%, -50%) scale(0.75); | |||
z-index: 2; | z-index: 2; | ||
} | } |