mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:19:45 +00:00
исправила футер и добавила картинки на задний план
This commit is contained in:
1 parent
a86f51a8eb
commit
79fc2eeb98
6 files changed
+258
-215
No files matched your search
@@ -65,6 +65,7 @@ body {
|
||||
margin-top: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.block {
|
||||
@@ -127,110 +128,46 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
#news-list {
|
||||
.LabListContainer {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0%;
|
||||
bottom: 5%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 364px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_news_block.svg");
|
||||
height: 363px;
|
||||
background-image: url('/src/shared/assets/images/backround/bg_news_block.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
background-size: contain;
|
||||
z-index: -1;
|
||||
transform: translateX(-12.6%);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.row .card {
|
||||
width: calc(25% - $news-card-gap); // 4 карточки в ряд
|
||||
aspect-ratio: 1 / 0.8973; // Карточка всегда квадратная
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100%; // 1 карточка в ряд на мобильных
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.project-list {
|
||||
.GalleryContainer {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
bottom: 5%;
|
||||
left: 0;
|
||||
width: 100%; // Увеличиваем ширину на 10%, чтобы занять отступ
|
||||
height: 465px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_projects_block.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-size: contain; // Или cover, если нужно заполнить область
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(11.3%); // Смещаем влево, компенсируя padding
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none; // Скрываем картинку на мобильных
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.row.lab-list {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
left: 0;
|
||||
width: 100%; // Увеличиваем ширину на 10%, чтобы занять отступ
|
||||
width: 100%;
|
||||
height: 436px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_labs_block.svg");
|
||||
background-image: url('/src/shared/assets/images/backround/bg_labs_block.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
background-size: contain; // Или cover, если нужно заполнить область
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(-11.6%); // Смещаем влево, компенсируя padding
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none; // Скрываем картинку на мобильных
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#gallery {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 35%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 307px;
|
||||
background-image: url("/src/shared/assets/images/backround/bg_gallery_block.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
background-size: contain;
|
||||
|
||||
z-index: -1;
|
||||
transform: translateX(12.5%);
|
||||
|
||||
transform: translateX(-12.5%);
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -44,10 +44,14 @@ const MainPage = () => {
|
||||
</div>
|
||||
<NewsList />
|
||||
<ProjectsList />
|
||||
<LabsList />
|
||||
<div className={styles.LabListContainer}>
|
||||
<LabsList />
|
||||
</div>
|
||||
<div className={styles.mainContainer}>
|
||||
<Partners />
|
||||
<div className={styles.GalleryContainer}>
|
||||
<Gallery />
|
||||
</div>
|
||||
<ContactUs />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user