This commit is contained in:
SBD
2023-11-29 13:14:41 +03:00
parent 98b4e5fbf6
commit fc2be35f61
7 changed files with 142 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ body,html{
/*header*/
.left_part_header{
width: 23%;
width: 290px;
float: left;
text-align: -webkit-left;
display: block;
@@ -64,13 +64,17 @@ body,html{
}
.right_part_header {
width: 77%;
width: calc(100% - 290px);
float: right;
padding: 17px 0 15px 0;
position: relative;
text-align: -webkit-right;
}
.right_part_header_mobile{
display: none;
}
.text_header{
padding-right: 90px;
}
@@ -318,6 +322,7 @@ body,html{
.service_block_container{
width: calc(33% - 70px);
margin-right: 70px;
margin-bottom: 70px;
}
.service_block_container.two_cols{

View File

@@ -0,0 +1,116 @@
@media(max-width: 1280px){
.cut-width{
margin: 0 40px;
}
}
@media (max-width: 1024px) {
.form_consultation_container{
padding: 70px 0 90px 0;
}
.plugin_container{
margin: 120px 0 0 0;
width: 100%;
}
.left_part_plugin_container{
width: calc(60% - 20px);
margin-right: 20px;
}
.container_content_faq{
margin: 100px 0 0 0;
}
.text_header{
padding-right: 40px;
}
.standart_txt{
font-size: 14px;
}
.language_select{
margin-left: 30px;
margin-right: 30px;
padding-right: 0;
}
}
@media (max-width: 850px) {
.block_service{
flex-wrap: wrap;
}
.service_block_container {
width: calc(50% - 70px);
}
.left_part_header{
width: 235px;
float: left;
text-align: -webkit-left;
display: block;
position: relative;
top: 10px;
}
.logo_header {
height: 40px;
}
.right_part_header {
width: calc(100% - 235px);
float: right;
padding: 17px 0 15px 0;
position: relative;
text-align: -webkit-right;
}
}
@media (max-width: 800px) {
.text_header{
padding-right: 20px;
}
.text_header.last_left {
padding-right: 20px;
}
.language_select {
margin-left: 20px;
margin-right: 20px;
padding-right: 0;
}
}
@media (max-width: 750px) {
.right_part_header{
display: none;
}
.logo_header {
height: 35px;
}
.left_part_header{
width: 205px;
position: relative;
top: 3px;
}
.header{
height: 40px;
}
.right_part_header_mobile{
width: calc(100% - 205px);
float: right;
display: block;
position: relative;
top: 9px;
text-align: right;
}
.content{
margin-top: 50px;
}
.container_sections_buttons {
height: 55px;
background: #10212B;
position: sticky;
top: 50px;
z-index: 100;
}
.cut-width.sections_btns{
margin: 10px;
}
.cut-width{
margin: 0 20px;
}
}

View File

@@ -0,0 +1,7 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Menu">
<path id="Vector 7" d="M5 7H19" stroke="white" stroke-linecap="round"/>
<path id="Vector 8" d="M5 12H19" stroke="white" stroke-linecap="round"/>
<path id="Vector 9" d="M5 17H19" stroke="white" stroke-linecap="round"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 340 B

View File

@@ -1,10 +1,12 @@
{% load static %}
<div class="container_sections_buttons">
<div class="cut-width container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
<div class="txt_section standart_txt">{{ section.name }}</div>
</a>
{% endfor %}
<div class="cut-width sections_btns">
<div class="container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
<div class="txt_section standart_txt">{{ section.name }}</div>
</a>
{% endfor %}
</div>
</div>
</div>

View File

@@ -28,5 +28,8 @@
</div>
<a class="standart_txt text_header last_right orange pointer">Личный кабинет</a>
</div>
<div class="right_part_header_mobile">
<img class="burger_menu_header" src="{% static "/images/burger_menu.svg" %}">
</div>
</div>
</div>

View File

@@ -18,11 +18,7 @@
{% 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 %}
{% endfor %}
{% if page.plugin_presentation.all %}
{% include 'blocks/b_3d_s_d.html' with block=page.plugin_presentation.all.0 %}

View File

@@ -8,6 +8,7 @@
{% include 'head_includes/fonts_include.html' %}
<link rel="stylesheet" href="{% static "fonts/fonts.css" %}">
<link rel="stylesheet" href="{% static "aerbimCSS.css" %}">
<link rel="stylesheet" href="{% static "aerbimCSSMOBILE.css" %}">
<script src="{% static "jquery_v3_6_4.js" %}"></script>
<script src="{% static "aerbimJS.js" %}"></script>
<meta name="viewport" content="width=100%,maximum-scale=5,minimum-scale=1,initial-scale=1">