This commit is contained in:
SBD
2023-12-09 13:10:58 +03:00
parent 10ce707c42
commit d7c94100db
2 changed files with 37 additions and 31 deletions

View File

@@ -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{

View File

@@ -4,34 +4,37 @@
<div class="cut-width">
<div class="block_how_dev">
<div class="large_txt block_how_dev_title">{{ block.name }}</div>
<div class="how_dev_container_widgets">
{% for w in block.rel_widgets_for_block.all %}
<div class="how_dev_widget">
<div class="first_line_widget_how_dev">
<div class="medium_small_bold_txt how_dev_widget_txt">
0{{ forloop.counter }} {{ w.name }}
</div>
{% if not forloop.last %}
<div class="how_dev_arrow_container">
<img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
<div class="block_container_how_dev_widget">
<div class="how_dev_widget">
<div class="first_line_widget_how_dev">
<div class="medium_small_bold_txt how_dev_widget_txt">
0{{ forloop.counter }} {{ w.name }}
</div>
{% endif %}
</div>
<div class="how_dev_widget_description standart_txt">
{{ w.description }}
</div>
<div class="widget_how_dev_characters">
<div class="standart_semi_bold_txt widget_how_dev_characters_title">
Участники:
</div>
<div class="list_characters_widget_how_dev_container">
<ul class="list_characters_widget_how_dev">
{% for item_s in w.text|split_string_by_enter %}
<li class="standart_txt">{{ item_s }}</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="how_dev_widget_description standart_txt">
{{ w.description }}
</div>
<div class="widget_how_dev_characters">
<div class="standart_semi_bold_txt widget_how_dev_characters_title">
Участники:
</div>
<div class="list_characters_widget_how_dev_container">
<ul class="list_characters_widget_how_dev">
{% for item_s in w.text|split_string_by_enter %}
<li class="standart_txt">{{ item_s }}</li>
{% endfor %}
</ul>
</div>
</div>
{% if not forloop.last %}
<div class="how_dev_arrow_container">
<img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
</div>
{% endif %}
</div>
{% endfor %}
</div>