lobby: show focus hint only with keyboard navigation (tab)

This commit is contained in:
jean-emmanuel 2017-07-21 18:12:24 +02:00
parent 8cb2ed72bb
commit d807032ace
2 changed files with 24 additions and 3 deletions

View file

@ -166,7 +166,19 @@ body {
flex-grow: 0;
border-top:2rem solid var(--color-bg);
a {
background:var(--color-raised)
background:var(--color-raised);
&:focus {
&:after {
content:"";
position: absolute;
top:0;
left:0;
bottom:0;
right:0;
border:1rem solid var(--color-accent);
opacity: 0.3;
}
}
}
}
a {