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; display: flex;
flex-direction: column; flex-direction: column;
&--header { &--header-link {
display: flex; display: flex;
color: var(--color-on-dark); color: var(--color-on-dark);
background: var(--background-red); background: var(--background-red);
padding: var(--space-small) var(--space-medium); padding: var(--space-small) var(--space-medium);
align-items: center; align-items: center;
gap: var(--space-small); gap: var(--space-small);
text-decoration: none;
@media($mobile-breakpoint) { @media($mobile-breakpoint) {
flex-direction: column; flex-direction: column;
} }
}
&--header-link { &:hover {
@extend .news--header; opacity: 1.0;
text-decoration: none; background: var(--background-dark);
}
&:hover {
opacity: 1.0;
background: var(--background-dark);
}
} }
&--date { &--date {