From 22d5932d8d1aff81626e19521ac72356a509169a Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Wed, 12 Jul 2023 01:30:05 +1000 Subject: [PATCH] annother hexxo --- static/src/vdk2ch.css | 11 +++++++++++ templates/posts.html | 6 ++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/static/src/vdk2ch.css b/static/src/vdk2ch.css index aa8619c..88558f6 100644 --- a/static/src/vdk2ch.css +++ b/static/src/vdk2ch.css @@ -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); diff --git a/templates/posts.html b/templates/posts.html index f0a04e0..fc5dd7d 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -64,10 +64,8 @@
-
-
- 954x960 -
+
+ 954x960