Add icon indicating post is animated

This commit is contained in:
Toks
2014-07-03 17:41:59 -04:00
parent 037967028f
commit 95d7b3bce5

View File

@@ -1,4 +1,4 @@
@import "../common/000_vars.css.scss";
@import "../common/000_vars.css.scss";
article.post-preview {
height: 154px;
@@ -12,6 +12,16 @@ article.post-preview {
img {
margin: auto;
}
&[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before {
content: "";
position: absolute;
width: 20px;
height: 20px;
color: white;
background-color: rgba(0,0,0,0.5);
margin: 2px;
}
}
#iqdb-similar {