thumbnail on hover
This commit is contained in:
parent
04d4787232
commit
c416a6bca5
@ -1012,4 +1012,15 @@ div.about > div img {
|
||||
div.about > div p {
|
||||
font-size: 7pt;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a.id-link:hover:after {
|
||||
content: "";
|
||||
background-image: var(--hover-image);
|
||||
border: 1px solid var(--accent);
|
||||
height: 128px;
|
||||
width: 128px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
@ -46,7 +46,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="metadata">
|
||||
<span class="badge badge-dark"><a href="/{{=item.id}}" class="id-link">{{=item.id}}</a></span>
|
||||
<span class="badge badge-dark"><a href="/{{=item.id}}" style="--hover-image: url('/t/{{=item.id}}.png');" class="id-link">{{=item.id}}</a></span>
|
||||
<span class="badge badge-dark">{{=user.network}} / {{=user.channel}}</span>
|
||||
<span class="badge badge-dark image-source"><a class="post_source" title="{{=item.src.long}}" href="{{=item.src.long}}" target="_blank">{{=item.src.short}}</a></span>
|
||||
<span class="badge badge-dark"><a class="dest-link" href="{{=item.dest}}" target="_blank">{{=item.mime}}</a> / {{=item.size}}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user