This commit is contained in:
SBD
2023-11-29 12:10:18 +03:00
parent 199a119fe9
commit 98b4e5fbf6
4 changed files with 71 additions and 18 deletions

View File

@@ -75,6 +75,24 @@ body,html{
padding-right: 90px;
}
.description_page{
margin-top: 60px;
display: block;
font-size: 24px;
font-weight: 500;
color: #000000;
}
.title_page{
font-size: 36px;
font-weight: 700;
text-transform: uppercase;
color: #000000;
margin-top: 10px;
display: block;
margin-bottom: 60px;
}
.standart_txt{
color: #ffffff;
/*font-family: Spline Sans;*/
@@ -800,4 +818,35 @@ body,html{
.list_characters_widget_how_dev > li{
color: #000000;
text-transform: unset;
}
/*block present technology*/
.txt_block_present_technology{
width: 100%;
display: block;
text-align: center;
padding-bottom: 5px;
padding-top: 5px;
}
.content_block_present_technology{
width: calc(100% - 170px);
margin-left: 170px;
text-align: -webkit-right;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.left_part_block_present_technology{
width: calc(100% - 230px);
}
.right_part_block_present_technology{
width: 130px;
}
.img_block_present_technology{
width: 130px;
}

View File

@@ -1,10 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
{% load static %}
<div class="cut-width">
<div class="content_block_present_technology">
<div class="left_part_block_present_technology">
<div class="txt_block_present_technology semi_large_light">{{ block.description }}</div>
<div class="txt_block_present_technology large_txt">{{ block.name }}</div>
</div>
<div class="right_part_block_present_technology">
<img class="img_block_present_technology" src="{{ block.picture.url }}">
</div>
</div>
</div>

View File

@@ -18,6 +18,8 @@
{% include 'blocks/b_how_dev.html' %}
{% elif block.block_type == 'present_technology_block' %}
{% include 'blocks/b_present_technology.html' %}
{% elif block.block_type == 'present_technology_block' %}
{% include 'blocks/b_present_technology.html' %}
{% endif %}

View File

@@ -1,12 +1,12 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% if page.description %}
<div>{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div>{{ page.title }}</div>
{% endif %}
<div class="cut-width">
{% if page.description %}
<div class="description_page">{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div class="title_page">{{ page.title }}</div>
{% endif %}
</div>
{% if services_view_scheme == '3_cols_w_group' %}
{% include 'blocks/b_service.html' %}
{% elif services_view_scheme == '2_cols_wo_group' %}