Skip to content

Commit

Permalink
figure > a focus style
Browse files Browse the repository at this point in the history
  • Loading branch information
Heydon authored Apr 11, 2020
1 parent d6b98f3 commit 3f2883d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/_includes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ nav, header, main {
padding: 2em 1em;
}

figure > a {
display: block; /* so outline appears in Chrome */
}

main {
padding: 0 1em;
}
Expand Down Expand Up @@ -147,4 +151,4 @@ button::-moz-focus-inner {
--color-dark: #000;
--color-light: #fff;
}
}
}

0 comments on commit 3f2883d

Please sign in to comment.