aboutsummaryrefslogtreecommitdiff
path: root/assets/_markdown.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-07-07 23:06:21 +0200
commitbf93dafdfa6b1c3977e25d093527f40a058f114d (patch)
tree715837df621208eae090b7acc0a28d8613f5eb20 /assets/_markdown.scss
parentf416a71bf8bb77e7af9ade9eea7fe3b662962290 (diff)
Improve accessibility and keyboard navigation
Diffstat (limited to 'assets/_markdown.scss')
-rw-r--r--assets/_markdown.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index e37ed8e..009473d 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -20,14 +20,14 @@
margin-bottom: $padding-16;
a.anchor {
- display: none;
+ opacity: 0;
font-size: .75em;
vertical-align: middle;
text-decoration: none;
}
- &:hover a.anchor {
- display: initial;
+ &:hover a.anchor, a.anchor:focus {
+ opacity: initial;
}
}