From a935aea926281307e9c1b4a197fea584c023e034 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Tue, 18 Jul 2023 23:03:27 +1000 Subject: [PATCH] check many hexes --- static/src/vdk2ch.css | 8 +++----- templates/i-posts.html | 31 +------------------------------ 2 files changed, 4 insertions(+), 35 deletions(-) diff --git a/static/src/vdk2ch.css b/static/src/vdk2ch.css index 3654f74..e29ed2a 100644 --- a/static/src/vdk2ch.css +++ b/static/src/vdk2ch.css @@ -1,14 +1,12 @@ /* украдено здесь https://css-tricks.com/hexagons-and-beyond-flexible-responsive-grid-patterns-sans-media-queries/ */ .hex-main { - display:flex; - /*flex-direction: column;*/ - /* flex-wrap: wrap; */ + display:flex; --s: 100px; /* size */ --m: 4px; /* margin */ --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px); - max-width: 530px; - /* margin: 15px; */ + max-width: 330px; + margin: 15px; } .hex-container { diff --git a/templates/i-posts.html b/templates/i-posts.html index f1eb543..85947ce 100644 --- a/templates/i-posts.html +++ b/templates/i-posts.html @@ -15,36 +15,7 @@ -