refactor: simplify specialty cards and remove redundant CSS
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
2026-10-22 17:19:15 +10:00
parent 8027593537
commit 3061dca553
5 changed files with 129 additions and 104 deletions
-36
View File
@@ -4,21 +4,12 @@
align-items: center;
}
.product-card:hover .card-info {
top: 35%;
}
.sticky-block {
width: 25px;
padding: 20px 0;
}
}
@media (min-width: 600px) and (max-width: 710px) {
.product-card:hover .card-info {
transform: translateY(-80%);
}
}
@media (max-width: 768px) {
.sticky-block {
width: 30px;
@@ -178,17 +169,6 @@
white-space: normal;
font-size: 1.4rem;
}
/* Кнопки в карточках */
.btn-card {
width: 100%;
margin-top: 10px;
font-size: 0.9rem;
}
.product-card .card-text {
max-height: 100px;
}
}
@media (min-width: 700px) and (max-width: 991px) {
@@ -216,12 +196,6 @@
}
}
@media (min-width: 1400px) and (max-width: 1660px) {
.product-card:hover .card-info {
top: 29%;
}
}
@media (max-width: 420px) {
/* Уменьшаем размер кнопок на очень маленьких экранах */
.cta-btn {
@@ -241,14 +215,4 @@
h2 {
font-size: 1.3rem;
}
/* Карточки специальностей на маленьких экранах */
.btn-card {
font-size: 0.85rem;
padding: 6px 15px;
}
.product-card .card-text {
max-height: 80px;
}
}