Final. Deploy ready

This commit is contained in:
Dekart Deploy Bot 2026-05-20 13:42:41 +03:00
parent 825f77a4b5
commit f4d29327e3
2 changed files with 43 additions and 14 deletions

View File

@ -875,27 +875,29 @@ html {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
gap: 12px; gap: 12px;
} }
/* Вертикальные карточки: иконка сверху, текст на всю ширину */
.infograph__card { .infograph__card {
padding: 16px; padding: 20px 12px;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
align-items: center; align-items: center;
gap: 12px; gap: 0;
text-align: left; text-align: center;
} }
.infograph__stat { .infograph__stat {
font-size: 20px; font-size: 22px;
white-space: nowrap; white-space: normal;
word-break: break-word;
} }
.infograph__card-icon { .infograph__card-icon {
flex: 0 0 42px; flex: 0 0 auto;
width: 42px; width: 44px;
height: 42px; height: 44px;
margin-top: 0; margin: 0 0 10px;
} }
.infograph__card-icon img { .infograph__card-icon img {
width: 22px; width: 24px;
height: 22px; height: 24px;
} }
.infograph__card-body { .infograph__card-body {
padding: 0; padding: 0;
@ -903,7 +905,34 @@ html {
} }
.infograph__label { .infograph__label {
font-size: 11px; font-size: 11px;
line-height: 1.3; line-height: 1.35;
}
}
/* Очень узкие экраны: одна колонка */
@media (max-width: 380px) {
.infograph__grid {
grid-template-columns: 1fr;
gap: 10px;
}
.infograph__card {
padding: 16px 12px;
flex-direction: row;
gap: 12px;
text-align: left;
}
.infograph__card-icon {
width: 38px;
height: 38px;
margin: 0;
flex: 0 0 38px;
}
.infograph__card-icon img {
width: 20px;
height: 20px;
}
.infograph__stat {
font-size: 20px;
} }
} }

View File

@ -816,7 +816,7 @@ function enqueue_template_specific_styles() {
'template-specific-style', 'template-specific-style',
get_template_directory_uri() . '/assets/css/camp.css', get_template_directory_uri() . '/assets/css/camp.css',
array(), array(),
'1.6' '1.7'
); );
wp_enqueue_script( wp_enqueue_script(
'camp-script', 'camp-script',