From 98b4e5fbf6de65080dfb46bc4e185e143fe57030 Mon Sep 17 00:00:00 2001 From: SBD Date: Wed, 29 Nov 2023 12:10:18 +0300 Subject: [PATCH] 0.0.46 --- static/aerbimCSS.css | 49 +++++++++++++++++++ templates/blocks/b_present_technology.html | 22 +++++---- .../pages/content/c_blocks_constructor.html | 2 + .../pages/content/c_section_content.html | 16 +++--- 4 files changed, 71 insertions(+), 18 deletions(-) diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 8aa5bef..4658449 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -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; } \ No newline at end of file diff --git a/templates/blocks/b_present_technology.html b/templates/blocks/b_present_technology.html index 566549b..f7bad80 100644 --- a/templates/blocks/b_present_technology.html +++ b/templates/blocks/b_present_technology.html @@ -1,10 +1,12 @@ - - - - - Title - - - - - \ No newline at end of file +{% load static %} +
+
+
+
{{ block.description }}
+
{{ block.name }}
+
+
+ +
+
+
\ No newline at end of file diff --git a/templates/pages/content/c_blocks_constructor.html b/templates/pages/content/c_blocks_constructor.html index e6d6cdd..caa5d3a 100644 --- a/templates/pages/content/c_blocks_constructor.html +++ b/templates/pages/content/c_blocks_constructor.html @@ -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 %} diff --git a/templates/pages/content/c_section_content.html b/templates/pages/content/c_section_content.html index afee3ec..af5f58d 100644 --- a/templates/pages/content/c_section_content.html +++ b/templates/pages/content/c_section_content.html @@ -1,12 +1,12 @@ {% include 'blocks/dynamic/b_sections_buttons.html' %} - -{% if page.description %} -
{{ page.description }}
-{% endif %} -{% if page.title %} -
{{ page.title }}
-{% endif %} - +
+ {% if page.description %} +
{{ page.description }}
+ {% endif %} + {% if page.title %} +
{{ page.title }}
+ {% endif %} +
{% if services_view_scheme == '3_cols_w_group' %} {% include 'blocks/b_service.html' %} {% elif services_view_scheme == '2_cols_wo_group' %}