This commit is contained in:
SBD
2023-11-27 12:57:56 +03:00
parent b0a56e40e6
commit 838313ea02
4 changed files with 40 additions and 5 deletions

View File

@@ -104,6 +104,15 @@ body,html{
line-height: normal;
}
.semi_large_light{
color: #000000;
font-family: -apple-system, 'Raleway-Regular', sans-serif;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: normal;
}
.medium_txt{
color: #000000;
font-family: -apple-system, 'Raleway-Regular', sans-serif;
@@ -233,13 +242,20 @@ body,html{
}
.left_part_service{
width: 30%;
width: 60px;
float: left;
}
.service_img{
object-fit: cover;
width: 60px;
height: 60px;
}
.right_part_service{
width: 65%;
width: calc(100% - 80px);
float: right;
padding-left: 20px;
}
.right_part_service.w_100{

View File

@@ -0,0 +1,17 @@
{% load static %}
<div class="cut-width">
<div class="semi_large_light">Все работы по проектированию производятся с помощью</div>
<div>Плагина 3D SECURITY DESIGNER</div>
<div>
<div>
<div>
</div>
<button></button>
<button></button>
</div>
<div>
<img src="" alt="">
</div>
</div>
</div>

View File

@@ -5,14 +5,15 @@
{% for service in services %}
<div class="service_block_container">
<div class="service_container">
{% if sub_serv.picture %}
{% if service.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
</div>
{% endif %}
<div class="right_part_service medium_small_bold_txt {% if not sub_serv.picture %}w_100{% endif %}">
<div class="right_part_service medium_small_bold_txt {% if not service.picture %}w_100{% endif %}">
{{ service.name }}
</div>
<div class="clear_both"></div>
{% if service.rel_children_for_service.all %}
<div class="childs_service_container">
{% for sub_serv in service.rel_children_for_service.all %}

View File

@@ -5,4 +5,5 @@
{% if block.block_type == 'photo150_n_title' %}
{% include 'blocks/b_photo150_n_title.html' %}
{% endif %}
{% endfor %}
{% endfor %}
{#{% include 'blocks/b_3d_s_d.html' %}#}