Внесённые изменения

This commit is contained in:
mimi committed 2025-03-13 12:23:34 +03:00
1 parent ee37db0e2c
commit ee979697de
8 files changed
+88 -77

No files matched your search

+2 -40
View File
@@ -10,27 +10,12 @@ $news-card-gap: 1em;
@media (max-width: 768px) {
width: 100%;
}
.pic {
//&::before {
//content: "";
//position: absolute;
//bottom: 0;
//left: 0;
//width: 100%;
//height: 40%; /* Градиент покрывает 40% карточки */
//background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
//border-radius: 8px;
//pointer-events: none; /* Не мешает взаимодействию */
//z-index: 0; /* Градиент уходит в фон */
//}
.label {
font-size: 28px;
.pic .label {
font-size: clamp(18px, 2vw, 28px);
@media (max-width: 768px) {
font-size: 20px;
}
}
}
}
@@ -41,18 +26,6 @@ $news-card-gap: 1em;
@media (max-width: 768px) {
width: 100%;
}
/*
.pic {
.image {
height: 70%;
}
.label {
height:30%;
padding: 16px 0px;
color: black;
}
}
*/
}
/* Для всех остальных строк карточки остаются по 3 штуки в строке */
@@ -62,16 +35,5 @@ $news-card-gap: 1em;
@media (max-width: 768px) {
width: 100%;
}
/*.pic {
.image {
height: 70%;
}
.label {
height:30%;
padding: 16px 0px;
color: black;
}
}
*/
}
}