Socialify

Folder ..

Viewing _anchor.scss
21 lines (19 loc) • 363.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
.anchor-link {
  padding: 0 .175rem;
  font-weight: 400;
  color: rgba($link-color, .5);
  text-decoration: none;
  opacity: 0;
  @include transition(color .15s ease-in-out, opacity .15s ease-in-out);

  &::after {
    content: "#";
  }

  &:focus,
  &:hover,
  :hover > &,
  :target > & {
    color: $link-color;
    text-decoration: none;
    opacity: 1;
  }
}