refactor: decouple social link styling from fixed elements

This commit is contained in:
Sebin Nyshkim 2023-04-02 17:03:27 +02:00
parent a670952e15
commit 3c8b726d83

View file

@ -125,40 +125,28 @@ ul {
&.col-4 { &.col-4 {
columns: 4 auto; columns: 4 auto;
} }
}
&.social { .social {
display: flex; > * {
flex-flow: var(--social-links-flex-flow); &:before {
justify-content: space-evenly; margin: 0 0.375rem 0 0;
}
margin: 1rem 0; &.twitter:before {
padding: 0; content: "🐦";
list-style: none; }
li { &.mastodon:before {
flex: var(--social-links-flex); content: "🐘";
padding: 0.25rem; }
text-align: center;
&:before { &.telegram:before {
margin: 0 0.375rem 0 0; content: "📨";
} }
&.twitter:before { &.furaffinity:before {
content: "🐦"; content: "🐾";
}
&.mastodon:before {
content: "🐘";
}
&.telegram:before {
content: "📨";
}
&.furaffinity:before {
content: "🐾";
}
} }
} }
} }