replace header selector by header-link

This commit is contained in:
Corentin 2025-07-19 13:47:15 +02:00
parent 2cf4eaadf6
commit 1146524b5b
1 changed files with 6 additions and 10 deletions

View File

@ -6,27 +6,23 @@
display: flex;
flex-direction: column;
&--header {
&--header-link {
display: flex;
color: var(--color-on-dark);
background: var(--background-red);
padding: var(--space-small) var(--space-medium);
align-items: center;
gap: var(--space-small);
text-decoration: none;
@media($mobile-breakpoint) {
flex-direction: column;
}
}
&--header-link {
@extend .news--header;
text-decoration: none;
&:hover {
opacity: 1.0;
background: var(--background-dark);
}
&:hover {
opacity: 1.0;
background: var(--background-dark);
}
}
&--date {