From b0ac036409d6764aafd7ce1c8f29e08f3856c30a Mon Sep 17 00:00:00 2001 From: maksim Date: Fri, 20 Jun 2025 19:15:05 +0300 Subject: [PATCH] =?UTF-8?q?Task:6815=20|=20=D0=9F=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D1=81=D1=82=D0=B8=D0=BB=D0=B5=D0=B9=20Production?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cosmopet/static/css/production-page.css | 16 ++++++++++++++-- .../cosmopet/templates/_pages/production.twig | 5 +++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/cosmopet/static/css/production-page.css b/wp-content/themes/cosmopet/static/css/production-page.css index 83d9b25..b443323 100644 --- a/wp-content/themes/cosmopet/static/css/production-page.css +++ b/wp-content/themes/cosmopet/static/css/production-page.css @@ -1,9 +1,8 @@ - /* PRODUCTION */ - .hero{ position: relative; background: var(--radial); + background: radial-gradient(213.32% 302.43% at 149.73% -58.39%, #0F5881 0%, #1EA49C 36.11%, #76CE75 66.67%, #ECF39F 91.15%); overflow: hidden; z-index: 1; } @@ -1571,4 +1570,17 @@ .advantage_item .description{ margin-top: 0; +} + +@media (max-width: 768px) { + .hero_image { + display: block; + } + .hero_block { + display: flex; + flex-direction: column; + justify-content: space-between; + min-height: 90svh; + padding: 180px 0 140px 0; + } } \ No newline at end of file diff --git a/wp-content/themes/cosmopet/templates/_pages/production.twig b/wp-content/themes/cosmopet/templates/_pages/production.twig index fe6a75e..4cfc200 100644 --- a/wp-content/themes/cosmopet/templates/_pages/production.twig +++ b/wp-content/themes/cosmopet/templates/_pages/production.twig @@ -25,8 +25,9 @@ {% for item in desc %}

{{ item.text }}

{% endfor %} +

В ОСНОВЕ ПРОИЗВОДСТВА COSMOPET — УНИКАЛЬНЫЙ ТЕХНОЛОГИЧЕСКИЙ ПРОЦЕСС, КОТОРЫЙ НЕ ИМЕЕТ АНАЛОГОВ В МИРЕ.

-
{{ function('pll_e', 'ЭТАПЫ ПРОИЗВОД­СТВА') }}
+
{{ function('pll_e', 'ЭТАПЫ ПРОИЗВОДСТВА') }}
{% if steps_1[0] is defined %} @@ -178,7 +179,7 @@
-
{{ function('pll_e', 'Этапы производс­тва корма') }}
+
{{ function('pll_e', 'Этапы производства корма') }}
{% for item in steps_2 %}