fixes #2224
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
@import "../common/000_vars.css.scss";
|
@import "../common/000_vars.css.scss";
|
||||||
|
|
||||||
div.comments-for-post {
|
div.comments-for-post {
|
||||||
div.notices {
|
div.notices {
|
||||||
@@ -97,6 +97,24 @@ div#c-comments {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.post-preview {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&[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;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
div.post {
|
div.post {
|
||||||
margin-bottom: 4em;
|
margin-bottom: 4em;
|
||||||
|
|
||||||
|
|||||||
@@ -8,14 +8,11 @@ article.post-preview {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@include inline-block;
|
@include inline-block;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.post-preview {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before {
|
&[data-tags~=animated]:before, &[data-file-ext=swf]:before, &[data-file-ext=webm]:before {
|
||||||
content: "►";
|
content: "►";
|
||||||
@@ -25,10 +22,6 @@ article.post-preview {
|
|||||||
color: white;
|
color: white;
|
||||||
background-color: rgba(0,0,0,0.5);
|
background-color: rgba(0,0,0,0.5);
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 1;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user