replace header selector by header-link
This commit is contained in:
parent
2cf4eaadf6
commit
1146524b5b
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue