Skip to content

Commit

Permalink
Make docs anchorjs links darker on keyboard focus (#32050)
Browse files Browse the repository at this point in the history
* Make docs anchorjs links darker on keyboard focus

Not just on mouse hover

* Update site/assets/scss/_anchor.scss

Co-authored-by: Mark Otto <markd.otto@gmail.com>

Co-authored-by: Mark Otto <markd.otto@gmail.com>
  • Loading branch information
patrickhlauke and mdo committed Nov 2, 2020
1 parent 6682bba commit 3b64580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/assets/scss/_anchor.scss
Expand Up @@ -3,6 +3,7 @@
color: rgba($link-color, .5);
@include transition(color .15s ease-in-out);

&:focus,
&:hover {
color: $link-color;
text-decoration: none;
Expand Down

0 comments on commit 3b64580

Please sign in to comment.