Task:6815 | Правки верстки и стилей Production

pull/36/head
parent cf832954c1
commit b0ac036409
  1. 16
      wp-content/themes/cosmopet/static/css/production-page.css
  2. 5
      wp-content/themes/cosmopet/templates/_pages/production.twig

@ -1,9 +1,8 @@
/* PRODUCTION */ /* PRODUCTION */
.hero{ .hero{
position: relative; position: relative;
background: var(--radial); 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; overflow: hidden;
z-index: 1; z-index: 1;
} }
@ -1571,4 +1570,17 @@
.advantage_item .description{ .advantage_item .description{
margin-top: 0; 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;
}
} }

@ -25,8 +25,9 @@
{% for item in desc %} {% for item in desc %}
<p class="steps_desc{% if item.small_text %}--min{% endif %}">{{ item.text }}</p> <p class="steps_desc{% if item.small_text %}--min{% endif %}">{{ item.text }}</p>
{% endfor %} {% endfor %}
<p class="steps_desc">В ОСНОВЕ ПРОИЗВОДСТВА COSMOPET — УНИКАЛЬНЫЙ ТЕХНОЛОГИЧЕСКИЙ ПРОЦЕСС, КОТОРЫЙ НЕ ИМЕЕТ АНАЛОГОВ В МИРЕ.</p>
</div> </div>
<div class="steps_title">{{ function('pll_e', 'ЭТАПЫ ПРОИЗВОД&shyСТВА') }}</div> <div class="steps_title">{{ function('pll_e', 'ЭТАПЫ ПРОИЗВОДСТВА') }}</div>
<div class="production_steps_row"> <div class="production_steps_row">
{% if steps_1[0] is defined %} {% if steps_1[0] is defined %}
@ -178,7 +179,7 @@
<section class="feed_production"> <section class="feed_production">
<div class="container"> <div class="container">
<div class="section_title">{{ function('pll_e', 'Этапы производс&shyтва корма') }}</div> <div class="section_title">{{ function('pll_e', 'Этапы производства корма') }}</div>
<div class="feed_steps__row"> <div class="feed_steps__row">
{% for item in steps_2 %} {% for item in steps_2 %}

Loading…
Cancel
Save