From d7c94100db746b74d1b94742f25291dce1ae30cc Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 9 Dec 2023 13:10:58 +0300 Subject: [PATCH] 0.0.91 --- static/aerbimCSS.css | 17 ++++++----- templates/blocks/b_how_dev.html | 51 +++++++++++++++++---------------- 2 files changed, 37 insertions(+), 31 deletions(-) diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 204dcf0..4987474 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -794,7 +794,6 @@ body.n_scroll{ .block_how_dev_title{ width: 100%; text-align: left; - margin-bottom: 50px; } .how_dev_container_widgets{ @@ -805,9 +804,9 @@ body.n_scroll{ } .how_dev_widget{ - width: 295px; - margin-right: 25px; - margin-bottom: 100px; + width: 260px; + padding: 10px; + margin: 5px 0; } .how_dev_widget_description{ @@ -827,18 +826,22 @@ body.n_scroll{ .how_dev_arrow_container{ width: 35px; height: 35px; + padding: 10px 0; } .how_dev_widget_txt{ - width: calc(100% - 55px); + width: 100%; margin-right: 20px; font-weight: 600; } +.block_container_how_dev_widget { + display: flex; +} + .first_line_widget_how_dev{ width: 100%; - display: flex; - flex-wrap: wrap; + display: block; } .widget_how_dev_characters{ diff --git a/templates/blocks/b_how_dev.html b/templates/blocks/b_how_dev.html index 7b0c8ef..51c22ee 100644 --- a/templates/blocks/b_how_dev.html +++ b/templates/blocks/b_how_dev.html @@ -4,34 +4,37 @@
{{ block.name }}
+
{% for w in block.rel_widgets_for_block.all %} -
-
-
- 0{{ forloop.counter }} {{ w.name }} -
- {% if not forloop.last %} -
- +
+
+
+
+ 0{{ forloop.counter }} {{ w.name }}
- {% endif %} +
+
+ {{ w.description }} +
+
+
+ Участники: +
+
+
    + {% for item_s in w.text|split_string_by_enter %} +
  • {{ item_s }}
  • + {% endfor %} +
+
+
-
- {{ w.description }} -
-
-
- Участники: -
-
-
    - {% for item_s in w.text|split_string_by_enter %} -
  • {{ item_s }}
  • - {% endfor %} -
-
-
+ {% if not forloop.last %} +
+ +
+ {% endif %}
{% endfor %}