Skip to content

Commit

Permalink
add hover effect to links; close #72
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcarroty authored Jul 12, 2023
1 parent be358d9 commit 57bad91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _includes/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ a:focus { box-shadow: 0 0 0 3px {{ site.colors.purple }}cc; }
width: 1px;
}


a:hover {
color: #fff;
margin: 0 -.25rem;
padding: 0 .25rem;
box-shadow: inset 500px 0 0 0 #1A5FB4;
transition: color 1s ease-in-out, box-shadow 1s ease-in-out;
}


/* ----- base elements ----- */

img {
Expand Down

0 comments on commit 57bad91

Please sign in to comment.