0.0.17
This commit is contained in:
@@ -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{
|
||||
|
||||
17
templates/blocks/b_3d_s_d.html
Normal file
17
templates/blocks/b_3d_s_d.html
Normal 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>
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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' %}#}
|
||||
Reference in New Issue
Block a user