add iqdb preview

This commit is contained in:
Albert Yi
2018-06-22 15:56:15 -07:00
parent bf9750c826
commit 56b40a0255
7 changed files with 44 additions and 17 deletions

View File

@@ -138,24 +138,34 @@
article.post-preview {
margin: 0.5vw;
width: 32vw;
height: 32vw;
width: 48vw;
height: 48vw;
text-align: center;
vertical-align: middle;
display: inline-block;
&.cropped {
width: 32vw;
height: 32vw;
}
a {
//width: 48.5vw;
//display: block;
margin: 0 auto;
}
img.cropped {
img {
//object-fit: contain;
width: 32vw;
height: 32vw;
margin: 0 auto;
border: none !important;
&.cropped {
width: 32vw;
height: 32vw;
}
}
&[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before, &[data-file-ext=mp4]:before, &[data-file-ext=zip]:before {
@include animated-icon;
}