Лагерь: Секция Hero
This commit is contained in:
parent
f7347f9be5
commit
0c353e9bf0
@ -2402,7 +2402,7 @@ p {
|
|||||||
.hero-media-search .heading-1 {
|
.hero-media-search .heading-1 {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 2.5rem;
|
font-size: 2rem;
|
||||||
line-height: 1.05;
|
line-height: 1.05;
|
||||||
letter-spacing: -0.04em;
|
letter-spacing: -0.04em;
|
||||||
color: #1c2b2d;
|
color: #1c2b2d;
|
||||||
@ -2411,7 +2411,7 @@ p {
|
|||||||
}
|
}
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.hero-media-search .heading-1 {
|
.hero-media-search .heading-1 {
|
||||||
font-size: 4rem; /* desktop */
|
font-size: 2.56rem; /* desktop */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2424,25 +2424,24 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hero-subtitle-brand {
|
.hero-subtitle-brand {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: "Inter", sans-serif;
|
||||||
font-weight: 800;
|
font-weight: 700;
|
||||||
font-size: 1.72rem;
|
font-size: 1.75rem;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
letter-spacing: -0.02em;
|
|
||||||
color: #39b7ea;
|
color: #39b7ea;
|
||||||
margin: 0 0 0.6rem 0;
|
margin: 0 0 0.6rem 0;
|
||||||
}
|
}
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
.hero-subtitle-brand {
|
.hero-subtitle-brand {
|
||||||
font-size: 1.72rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.hero-subtitle-brand {
|
.hero-subtitle-brand {
|
||||||
font-size: 2.0rem;
|
font-size: 2.2rem; /* +10% */
|
||||||
}
|
}
|
||||||
.hero-media-search .heading-1 {
|
.hero-media-search .heading-1 {
|
||||||
font-size: 2.7rem;
|
font-size: 2rem; /* 32px */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2521,8 +2520,8 @@ p {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
border: 5px solid #fff;
|
border: 5px solid #fff;
|
||||||
border-radius: 15px;
|
border-radius: 24px;
|
||||||
box-shadow: 0 0 20px 0 rgba(0,0,0,.15);
|
box-shadow: 0 8px 32px rgba(255,107,0,0.15);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
aspect-ratio: 16/9;
|
aspect-ratio: 16/9;
|
||||||
|
|||||||
@ -36,20 +36,20 @@ $hero = [
|
|||||||
$metrics = [
|
$metrics = [
|
||||||
[
|
[
|
||||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_1_img' ),
|
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_1_img' ),
|
||||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_1_number' ) ?: '90+',
|
'number' => carbon_get_post_meta( $post_id, 'hero_metric_1_number' ) ?: '12',
|
||||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_1_label' ) ?: 'Количество клубов',
|
'label' => carbon_get_post_meta( $post_id, 'hero_metric_1_label' ) ?: 'лет в городе',
|
||||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-home.png',
|
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-home.png',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_2_img' ),
|
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_2_img' ),
|
||||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_2_number' ) ?: '570K+',
|
'number' => carbon_get_post_meta( $post_id, 'hero_metric_2_number' ) ?: '2 500+',
|
||||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_2_label' ) ?: 'Юные инноваторов',
|
'label' => carbon_get_post_meta( $post_id, 'hero_metric_2_label' ) ?: 'счастливых детей',
|
||||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-bulb.png',
|
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-bulb.png',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_3_img' ),
|
'img_id' => carbon_get_post_meta( $post_id, 'hero_metric_3_img' ),
|
||||||
'number' => carbon_get_post_meta( $post_id, 'hero_metric_3_number' ) ?: '49K+',
|
'number' => carbon_get_post_meta( $post_id, 'hero_metric_3_number' ) ?: '4.9 / 5',
|
||||||
'label' => carbon_get_post_meta( $post_id, 'hero_metric_3_label' ) ?: 'Стипендий',
|
'label' => carbon_get_post_meta( $post_id, 'hero_metric_3_label' ) ?: 'рейтинг от родителей',
|
||||||
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-award.png',
|
'default_icon' => get_template_directory_uri() . '/assets/images/doodles/icon-award.png',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user