From 7caf147533e346f3abefab46955febce2dfaad69 Mon Sep 17 00:00:00 2001 From: SBD Date: Fri, 19 Jan 2024 12:32:05 +0300 Subject: [PATCH] 0.0.157 --- static/aerbimCSS.css | 12 +++-- static/aerbimCSSMOBILE.css | 42 +++++++++++++++++- .../output-onlinepngtools.png | Bin 0 -> 83 bytes static/images/image_f_800_slider.png | Bin 0 -> 82 bytes templates/blocks/b_sections_buttons.html | 2 +- templates/blocks/b_slider.html | 7 ++- 6 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 static/image_f_800_slider/output-onlinepngtools.png create mode 100644 static/images/image_f_800_slider.png diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 1cc40e7..88b4f1b 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -25,6 +25,7 @@ body,html{ box-sizing: border-box; } + body.n_scroll{ overflow-y: hidden; } @@ -752,7 +753,7 @@ body.n_scroll{ height: 100%; width: 100%; object-fit: contain; - object-position: bottom; + object-position: top; } /*faq*/ @@ -1087,13 +1088,15 @@ body.n_scroll{ justify-content: center; } -.container_content_features_block_item{ - width: 17%; +.container_content_features_block_item { + width: 20%; display: block; /* margin-left: 10px; */ /* margin-right: 10px; */ padding: 10px; margin: 5px; + /* flex: auto; */ + /* flex: auto; */ } .container_content_features_block_item.bottom{ @@ -1237,6 +1240,7 @@ body.n_scroll{ padding: 25px; margin-top: 10px; margin-bottom: 10px; + box-sizing: border-box; } .w_one_present.odd{ @@ -1526,6 +1530,6 @@ body.n_scroll{ .img_proj{ width: 100%; height: 100%; - object-fit: cover; + object-fit: contain; object-position: center; } diff --git a/static/aerbimCSSMOBILE.css b/static/aerbimCSSMOBILE.css index f9d8492..a4b4c47 100644 --- a/static/aerbimCSSMOBILE.css +++ b/static/aerbimCSSMOBILE.css @@ -182,6 +182,7 @@ } .cut-width{ margin: 0 20px; + width: calc(100% - 40px); } .title_page{ font-size: 36px; @@ -264,8 +265,28 @@ } -@media (max-width: 800px) { +@media (max-width: 900px){ + .container_content_functional_features_block_items{ + margin-top: -10%; + } +} +@media (max-width: 800px) { + .container_sections_buttons.main{ + display: block; + } + .container_sections_buttons.not_main{ + display: none; + } + .container_sliders{ + display: none; + } + .container_content_functional_features_block_items{ + flex-wrap: wrap; + } + .container_content_features_block_item{ + width: 45%; + } } @@ -287,4 +308,23 @@ width: 100%; } +} + +@media (max-width: 600px) { + .first_line_block_functional_features{ + flex-direction: column-reverse; + flex-wrap: wrap; + } + .container_txt_first_line_block_functional_features { + width: 100%; + } + .container_image_block_functional_features { + width: 100%; + } + .container_content_features_block_item { + width: 100%; + } + .description_item_features_container{ + width: 100%; + } } \ No newline at end of file diff --git a/static/image_f_800_slider/output-onlinepngtools.png b/static/image_f_800_slider/output-onlinepngtools.png new file mode 100644 index 0000000000000000000000000000000000000000..33f19edad6519edcb0dc7e238fd101a193437165 GIT binary patch literal 83 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx1|;Q0k92}K#X;^)4C~IxyaaN1JzX3_B*K$_ d?4R<`o`LN>(-Jk#D<(h*22WQ%mvv4FO#qYI6K? +
{% for section in sections %} diff --git a/templates/blocks/b_slider.html b/templates/blocks/b_slider.html index 60e6c06..9c3fac9 100644 --- a/templates/blocks/b_slider.html +++ b/templates/blocks/b_slider.html @@ -5,7 +5,12 @@
{% if slide.picture %} - {{ slide.name }} + + + + {{ slide.name }} + + {% endif %}
{% if slide.name or slide.description %}