Extract mixin to use links with the text color
This commit is contained in:
@@ -254,15 +254,11 @@ button,
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
@include text-colored-link;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $link;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ li {
|
+ li {
|
||||||
@@ -844,7 +840,7 @@ body > header,
|
|||||||
margin-bottom: $line-height / 2;
|
margin-bottom: $line-height / 2;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
@include text-colored-link;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-right: $line-height / 2;
|
margin-right: $line-height / 2;
|
||||||
@@ -854,10 +850,6 @@ body > header,
|
|||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
margin-right: $line-height;
|
margin-right: $line-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $link;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-active {
|
.is-active {
|
||||||
@@ -1359,11 +1351,7 @@ form {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notification-link {
|
.notification-link {
|
||||||
color: inherit;
|
@include text-colored-link;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $link;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@@ -41,6 +41,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin text-colored-link {
|
||||||
|
color: inherit;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $link;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@mixin switch {
|
@mixin switch {
|
||||||
@include regular-button;
|
@include regular-button;
|
||||||
border-radius: $line-height;
|
border-radius: $line-height;
|
||||||
|
|||||||
Reference in New Issue
Block a user