mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:09:46 +00:00
Внесённые изменения
This commit is contained in:
1 parent
ee37db0e2c
commit
ee979697de
8 files changed
+88
-77
No files matched your search
@@ -17,7 +17,7 @@ body {
|
||||
margin: 0;
|
||||
|
||||
color: $text-secondary;
|
||||
background-image: url(/assets/images/car.jpeg);
|
||||
background-image: url(/assets/images/art.bmp);
|
||||
background-color: $bg-image;
|
||||
background-blend-mode: multiply;
|
||||
background-position: center;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user