0.1.0 fix css

This commit is contained in:
SDE
2023-12-08 00:03:21 +03:00
parent e0a8c6fa00
commit 4ff18ef599
4 changed files with 65 additions and 58 deletions

View File

@@ -118,7 +118,7 @@ body.n_scroll{
/*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/ /*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/
font-size: 36px; font-size: 36px;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 600;
line-height: normal; line-height: normal;
} }
@@ -145,7 +145,7 @@ body.n_scroll{
/*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/ /*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/
font-size: 24px; font-size: 24px;
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 600;
line-height: normal; line-height: normal;
} }
@@ -154,7 +154,7 @@ body.n_scroll{
/*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/ /*font-family: -apple-system, 'Raleway-Regular', sans-serif;*/
font-size: 20px; font-size: 20px;
font-style: normal; font-style: normal;
font-weight: 800; font-weight: 600;
line-height: normal; line-height: normal;
} }
@@ -182,7 +182,7 @@ body.n_scroll{
color: #000000; color: #000000;
margin-top: 10px; margin-top: 10px;
display: block; display: block;
margin-bottom: 60px; /*margin-bottom: 60px;*/
} }
.splitter_text_header{ .splitter_text_header{
height: 37px; height: 37px;
@@ -328,9 +328,9 @@ body.n_scroll{
/* service */ /* service */
.block_service{ .block_service{
margin: 80px 25px; margin: auto;
display: flex; display: flex;
width: calc(100% - 50px); width: 95%;
flex-wrap: unset; flex-wrap: unset;
} }
@@ -341,7 +341,7 @@ body.n_scroll{
.service_block_container{ .service_block_container{
width: 30%; width: 30%;
margin-right: 3%; margin-right: 3%;
margin-bottom: 70px; /*margin-bottom: 70px;*/
} }
.service_block_container.two_cols{ .service_block_container.two_cols{
@@ -375,7 +375,7 @@ body.n_scroll{
width: calc(100% - 80px); width: calc(100% - 80px);
float: right; float: right;
padding-left: 20px; padding-left: 20px;
font-weight: 700; font-weight: 600;
color: #000000; color: #000000;
text-transform: uppercase; text-transform: uppercase;
} }
@@ -406,14 +406,14 @@ body.n_scroll{
} }
.large_txt.h_w_u_w{ .large_txt.h_w_u_w{
padding: 70px 0 70px 0; /*padding: 0 0 20px 0;*/
text-align: center; text-align: center;
} }
.descript_process_block{ .descript_process_block{
display: flex; display: flex;
width: 100%; width: 100%;
padding-bottom: 70px; /*padding-bottom: 70px;*/
margin: auto; margin: auto;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
@@ -423,7 +423,8 @@ body.n_scroll{
width: 250px; width: 250px;
background: none; background: none;
text-align: -webkit-center; text-align: -webkit-center;
margin-bottom: 23px; /*margin-bottom: 23px;*/
padding: 20px;
} }
.photo_container_descript_process{ .photo_container_descript_process{
@@ -449,10 +450,8 @@ body.n_scroll{
} }
.form_consultation_container{ .form_consultation_container{
padding: 70px 90px 0 90px; margin: auto;
padding-bottom: 90px; width: 80%;
margin-top: 70px;
} }
@@ -473,7 +472,7 @@ body.n_scroll{
} }
.container_content_form_consultation{ .container_content_form_consultation{
padding: 40px 60px 70px 80px; padding: 40px;
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
} }
@@ -521,7 +520,7 @@ body.n_scroll{
.form_consultation_content{ .form_consultation_content{
width: 73%; width: 73%;
margin-right: 100px; margin-right: 50px;
} }
.description_form_consultation{ .description_form_consultation{
@@ -548,8 +547,8 @@ body.n_scroll{
.plugin_container{ .plugin_container{
margin: auto; margin: auto;
width: calc(100% - 180px); width: 90%;
padding-bottom: 100px; /*padding-bottom: 100px;*/
} }
.plugin_txt{ .plugin_txt{
@@ -600,8 +599,8 @@ body.n_scroll{
} }
.container_content_btn_download{ .container_content_btn_download{
width: calc(100% - 70px); width: 96%;
padding: 15px 35px; padding: 15px 2%;
} }
.left_part_btn{ .left_part_btn{
@@ -613,11 +612,11 @@ body.n_scroll{
} }
.right_part_btn{ .right_part_btn{
width: calc(100% - 24px); width: 100%;
margin-left: 15px; margin: auto;
color: #ffffff; color: #ffffff;
position: relative; /*position: relative;*/
top: 5px; /*top: 5px;*/
} }
.plugin_container_content{ .plugin_container_content{
@@ -627,11 +626,11 @@ body.n_scroll{
} }
.left_part_plugin_container{ .left_part_plugin_container{
width:60%; width:65%;
} }
.right_part_plugin_container{ .right_part_plugin_container{
width: 300px; width: 32%;
position: relative; /*position: relative;*/
} }
@@ -936,32 +935,37 @@ body.n_scroll{
border-radius: 5px; border-radius: 5px;
background: rgba(255, 255, 255, 0.80); background: rgba(255, 255, 255, 0.80);
box-shadow: 1px 1px 10px 0 rgba(16, 33, 43, 0.10); box-shadow: 1px 1px 10px 0 rgba(16, 33, 43, 0.10);
width: calc(90% - 50px); width: 95%;
padding: 25px 15px; padding: 10px;
position: relative; /*position: relative;*/
top: -80px; /*bottom: 20px;*/
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: -3%;
} }
.container_content_features_block_item{ .container_content_features_block_item{
width: 18.18568515%; width: 18%;
display: block; display: block;
margin-left: 10px; /*margin-left: 10px;*/
margin-right: 10px; /*margin-right: 10px;*/
padding: 10px;
} }
.container_content_features_block_item.bottom{ .container_content_features_block_item.bottom{
margin-bottom: 100px; /*margin-bottom: 100px;*/
} }
.img_item_container_functional_features{ .img_item_container_functional_features{
width: 100%; width: 100%;
margin-bottom: 10px;
} }
.img_item_functional_features{ .img_item_functional_features{
max-width: 100%; max-width: 100%;
object-fit: scale-down; object-fit: scale-down;
object-position: bottom;
height: 200px;
} }
.description_item_features_container{ .description_item_features_container{

View File

@@ -1 +1 @@
style="width: 100%;padding-top: 30px;{% if block.bg_image %} background: url({{ MEDIA_URL }}{{ block.bg_image }}); background-size: cover; background-repeat: no-repeat; background-position: top;{% elif block.bg_color %} background: {{ block.bg_color }}{% endif %}" style="width: 100%;padding: 50px 0;{% if block.bg_image %} background: url({{ MEDIA_URL }}{{ block.bg_image }}); background-size: cover; background-repeat: no-repeat; background-position: top;{% elif block.bg_color %} background: {{ block.bg_color }}{% endif %}"

View File

@@ -1,24 +1,26 @@
{% load static %} {% load static %}
{% load i18n %} {% load i18n %}
<div {% include "block_settings/blocks_settings.html" %}> {% if services %}
<div class="cut-width"> <div {% include "block_settings/blocks_settings.html" %}>
<div class="block_service two_cols"> <div class="cut-width">
{% for service in services %} <div class="block_service two_cols">
<div class="service_block_container two_cols"> {% for service in services %}
<div class="service_container"> <div class="service_block_container two_cols">
{% if service.picture %} <div class="service_container">
<div class="left_part_service"> {% if service.picture %}
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}"> <div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
</div>
{% endif %}
<div class="right_part_service two_cols standart_txt {% if not service.picture %}w_100{% endif %}">
{{ service.name }}
</div> </div>
{% endif %} <div class="clear_both"></div>
<div class="right_part_service two_cols standart_txt {% if not service.picture %}w_100{% endif %}">
{{ service.name }}
</div>
<div class="clear_both"></div>
</div>
</div> </div>
</div> {% endfor %}
{% endfor %} </div>
</div> </div>
</div> </div>
</div> {% endif %}

View File

@@ -3,16 +3,17 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %} {% include 'blocks/dynamic/b_sections_buttons.html' %}
<div class="cut-width"> <div class="cut-width">
{% if page.description or page.title %} <div style="padding-top: 40px;">
<div style="padding-top: 40px;"> {% if page.description or page.title %}
{% if page.description %} {% if page.description %}
<div class="description_page standart_txt">{{ page.description }}</div> <div class="description_page standart_txt">{{ page.description }}</div>
{% endif %} {% endif %}
{% if page.title %} {% if page.title %}
<div class="title_page standart_txt">{{ page.title }}</div> <div class="title_page standart_txt">{{ page.title }}</div>
{% endif %} {% endif %}
</div> {% endif %}
{% endif %} </div>
</div> </div>
{% if page.page_scheme == 'projecting' %} {% if page.page_scheme == 'projecting' %}