mixyll/_sass/_links.scss

41 lines
766 B
SCSS
Raw Permalink Normal View History

2020-01-24 11:20:29 +00:00
a {
color: $link-color;
background-image: linear-gradient(to top,
rgba(0,0,0,0) 13%,
rgba($link-color,.8) 13%,
rgba($link-color,.8) 18%,
rgba(0,0,0,0) 17%
);
text-shadow: white 1px 0px 0px, white -1px 0px 0px;
}
a:hover,
a:focus,
a:active {
border: 0;
color: $link-hover-color;
text-decoration: none;
background-image: linear-gradient(to top,
rgba(0,0,0,0) 13%,
rgba($link-hover-color,.8) 13%,
rgba($link-hover-color,.8) 17%,
rgba(0,0,0,0) 17%
);
text-shadow: white 1px 0px 0px, white -1px 0px 0px;
}
// Correct issues with buttons
button,
.button {
text-shadow: none;
background-image: none;
}
.button:hover,
.button:focus,
.button:active {
color: white;
text-shadow: none;
background-image: none;
}