mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
a11y: simplify css selector #730
and make it only run on a single img contained in a link
This commit is contained in:
parent
14e2fb46c4
commit
f9f3447228
1 changed files with 3 additions and 3 deletions
|
@ -413,9 +413,9 @@ article a:focus .copy-to-clipboard {
|
|||
outline: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
article a:hover:has(img),
|
||||
article a:active:has(img),
|
||||
article a:focus:has(img){
|
||||
article a:hover > img:only-child:empty,
|
||||
article a:active > img:only-child:empty,
|
||||
article a:focus > img:only-child:empty{
|
||||
outline: auto;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue