Improve flexibility of applying color to the theme
This commit is contained in:
@ -177,11 +177,11 @@
|
||||
display: block;
|
||||
margin: 0 1rem;
|
||||
padding: 0.5rem 0;
|
||||
color: $gray;
|
||||
color: $masthead-link-color;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: #000;
|
||||
color: $masthead-link-color-hover;
|
||||
}
|
||||
}
|
||||
|
||||
@ -227,15 +227,12 @@
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 4px;
|
||||
background: $light-gray;
|
||||
background: mix(#fff, $primary-color, 50%);
|
||||
width: 0;
|
||||
transition: 0.3s;
|
||||
transition: $global-transition;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #000;
|
||||
border-bottom-color: $border-color;
|
||||
|
||||
&:before {
|
||||
width: 100%;
|
||||
}
|
||||
@ -260,8 +257,8 @@
|
||||
font-size: $type-size-5;
|
||||
|
||||
&:hover {
|
||||
color: #000;
|
||||
background: $border-color;
|
||||
color: $masthead-link-color-hover;
|
||||
background: mix(#fff, $primary-color, 75%);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user