mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
No more transition mixin
This commit is contained in:
parent
c32dd12774
commit
cd96ffc8f6
@ -21,8 +21,8 @@ body > header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@include transition(color 0.25s 0s ease);
|
|
||||||
color: $link-color;
|
color: $link-color;
|
||||||
|
transition: color 0.25s 0s ease;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $link-color-hover;
|
color: $link-color-hover;
|
||||||
}
|
}
|
||||||
@ -45,9 +45,9 @@ header nav {
|
|||||||
padding-top: 0.15em;
|
padding-top: 0.15em;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
@include transition(text-shadow 0.25s 0s ease);
|
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
transition: text-shadow 0.25s 0s ease;
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
|
text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
|
||||||
|
|||||||
@ -60,7 +60,7 @@ article {
|
|||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: mix($text-color, $text-color-light);
|
color: mix($text-color, $text-color-light);
|
||||||
@include transition(background-color 0.5s);
|
transition: background-color 0.5s;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $link-color-hover;
|
background: $link-color-hover;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user