Template:CoverThumb: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<span class="coverThumb"> | <span class="coverThumb" style="position:relative; display:inline-block;"> | ||
<span | <span style="width:60px;height:80px;overflow:hidden;display:flex;align-items:center;justify-content:center;"> | ||
<span class="coverPopup">[[File:{{{1}}}|220px|link={{{2|}}}|alt={{{3|}}}]]</span> | [[File:{{{1}}}|x80px|link={{{2|}}}|alt={{{3|}}}]] | ||
</span> | |||
<!-- popup: hidden by default so it never affects table layout --> | |||
<span class="coverPopup" style="display:none; position:absolute; left:70px; top:-10px; z-index:99999; | |||
background:#fff; border:1px solid #aaa; padding:4px; box-shadow:0 2px 10px rgba(0,0,0,0.25);"> | |||
[[File:{{{1}}}|220px|link={{{2|}}}|alt={{{3|}}}]] | |||
</span> | |||
</span> | </span> | ||
</includeonly> | </includeonly> | ||