подчёркивание ссылок в footer

This commit is contained in:
xomimishka committed 2025-05-07 15:37:25 +03:00
commit 5a72249518
41 files changed
+1338 -340

No files matched your search

+45 -17
View File
@@ -1,4 +1,3 @@
#footer {
display: flex;
justify-content: space-between;
@@ -80,9 +79,11 @@
gap: 32px;
justify-content: center;
}
.copyright {
display: none;
}
.visible {
display: block;
}
@@ -100,6 +101,7 @@
.visible {
display: none !important;
}
.copyright {
display: block !important; // Показываем текст внизу только в мобильной версии
text-align: center;
@@ -122,6 +124,7 @@
display: flex;
justify-content: center;
gap: 20px;
.logo {
height: auto;
width: 100%;
@@ -163,37 +166,62 @@
}
}
}
.footer-links-container {
display: flex;
flex-direction: column; /* Arrange links vertically */
justify-content: space-between; /* Spread out the items */
height: 100%; /* Make sure the container takes up full height */
flex-direction: column;
/* Arrange links vertically */
justify-content: space-between;
/* Spread out the items */
height: 100%;
/* Make sure the container takes up full height */
}
.footer-links {
display: flex;
justify-content: space-between;
gap: 30px; // Между столбиками будет отступ
gap: 30px;
.footer-column {
display: flex;
flex-direction: column;
gap: 20px; // Расстояние между ссылками в одном столбике
gap: 20px;
a {
color: white; // Белый цвет текста
text-decoration: none; // Убираем подчеркивание
font-size: 16px; // Размер текста
color: white;
text-decoration: none;
font-size: 16px;
position: relative;
display: inline-block;
width: fit-content;
&::after {
content: '';
position: absolute;
left: 50%;
bottom: -5px;
width: 0;
height: 1px;
background-color: white;
transition: width 0.3s ease, left 0.3s ease;
transform: translateX(-50%);
}
&:hover::after {
width: 100%;
left: 50%;
}
}
}
}
.privacy-policy {
align-self: flex-end; /* Align the "Политика конфиденциальности" link to the bottom */
margin-top: auto; /* Ensure the link is pushed to the bottom */
}
.privacy-policy {
align-self: flex-end;
/* Align the "Политика конфиденциальности" link to the bottom */
margin-top: auto;
/* Ensure the link is pushed to the bottom */
}
}
#root:has(#mainpageheader) #footer {