index-main/assets/css/components/_list-socials.scss

58 lines
1,013 B
SCSS
Raw Permalink Normal View History

2026-01-06 11:19:25 +01:00
.list-socials {
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 400px;
a{
display: flex;
align-items: center;
text-decoration: none;
}
.icon{
2026-01-08 15:00:55 +01:00
width: 20px;
height: 20px;
2026-01-06 11:19:25 +01:00
position: relative;
top: -2px;
}
svg{
display: flex;
align-items: center;
2026-01-08 15:00:55 +01:00
width: 20px;
height: 20px;
2026-01-06 11:19:25 +01:00
}
.text{ display: none; }
}
2025-11-04 08:33:39 +01:00
2026-01-06 11:19:25 +01:00
// with text
@media #{$small-up}{
.footer__socials .list-socials{
display: block;
li{
margin-bottom: calc(var(--spacing)*0.5);
break-inside: avoid;
}
a{
gap: 1ch;
height: calc(var(--spacing)*1);
&::after{
content: '';
color: var(--grey-300);
}
}
.text{
display: block;
line-height: 1;
2025-11-04 08:33:39 +01:00
}
}
2026-01-06 11:19:25 +01:00
}