This commit is contained in:
parent
e18923fe3a
commit
22d5932d8d
@ -11,6 +11,17 @@
|
||||
font-size: 0; /*disable white space between inline block element */
|
||||
}
|
||||
|
||||
|
||||
.hex-container img {
|
||||
width: var(--s);
|
||||
margin: var(--m);
|
||||
height: calc(var(--s)*1.1547);
|
||||
display: inline-block;
|
||||
font-size:initial;
|
||||
clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
|
||||
margin-bottom: calc(var(--m) - var(--s)*0.2885);
|
||||
}
|
||||
|
||||
.hex-container div {
|
||||
width: var(--s);
|
||||
margin: var(--m);
|
||||
|
@ -65,11 +65,9 @@
|
||||
|
||||
<div class="hex-main">
|
||||
<div class="hex-container">
|
||||
<div>
|
||||
<img src="https://static.vdk2ch.ru/thread-pics/{{pic}}" alt="954x960" id="img-15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" class="post__file-preview " data-type="2" data-title="image.png" data-width="954" data-height="960" data-md5="15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" data-src="https://static.vdk2ch.ru/thread-pics/{{pic}}" width="168" height="170">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
|
||||
{% for pic in thread.pic_links %}
|
||||
|
Loading…
Reference in New Issue
Block a user