mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:39:45 +00:00
исправление размера добавление фона
This commit is contained in:
1 parent
4978c36070
commit
ad810c6217
36 files changed
+1553
-135
No files matched your search
@@ -1,4 +1,5 @@
|
||||
@import "../../assets/styles/theme.scss";
|
||||
@import "bootstrap/scss/bootstrap"; // Подключение Bootstrap
|
||||
|
||||
#footer {
|
||||
display: flex;
|
||||
@@ -10,6 +11,16 @@
|
||||
margin: 2em 0 0;
|
||||
background: $bg-footer;
|
||||
|
||||
// Добавление SVG-фона
|
||||
background-image: url("../../assets/images/backround/bg_footer_gray.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center bottom;
|
||||
background-size: cover; // или `contain` в зависимости от эффекта
|
||||
|
||||
.container-fluid {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
height: 70%;
|
||||
max-width: 30%;
|
||||
@@ -58,4 +69,62 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
height: auto; // Теперь футер адаптируется по контенту
|
||||
padding: 1.5em 10%; // Увеличьте отступы для мобильной версии
|
||||
position: relative; // Исправление проблемы с заливкой
|
||||
|
||||
.container-fluid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2rem; // Регулирует расстояние между блоками
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
height: auto;
|
||||
max-width: 60%; // Увеличен логотип в мобильной версии
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.logo {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.contacts {
|
||||
text-align: center;
|
||||
gap: 0.5em;
|
||||
width: 100%;
|
||||
padding: 10px 0;
|
||||
p {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
|
||||
.link {
|
||||
width: 45px;
|
||||
transition: background 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background-color: darken($bg-primary, 10%);//
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 65%;
|
||||
height: 65%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user