fix: book outline + focus state

This commit is contained in:
Cory Dransfeldt 2024-08-22 18:03:34 -07:00
parent 4e49d0faae
commit 40ad47aacb
No known key found for this signature in database
3 changed files with 13 additions and 4 deletions

View file

@ -13,6 +13,11 @@
}
}
& a:has(img) {
display: flex;
}
& img {
max-width: calc(var(--sizing-3xl) * 4);
height: auto;
@ -22,8 +27,12 @@
transition-duration: 300ms;
}
& a:hover img,
& a:focus img,
& a:focus-within img {
border: 0
}
& a:hover img,
& a:active img {
border-color: var(--accent-color-hover)
}