Use currentColor for image links

This commit is contained in:
Helen Chong 2024-07-17 18:01:44 +08:00
parent 8095fdf22f
commit fbf52d0b40
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ a {
a:hover { color: var(--clr-link-hover); } a:hover { color: var(--clr-link-hover); }
a:not([class]):focus { outline: 0.15rem solid var(--clr-link); } a:not([class]):focus { outline: 0.15rem solid var(--clr-link); }
a:hover img, a:focus img { outline: 0.2em solid var(--clr-body-txt); } a:hover img, a:focus img { outline: 0.2em solid currentColor; }
a[href^="http"]:not([href*="leilukin.com"]):not(:has(img, svg, picture)), a[href^="http"]:not([href*="leilukin.com"]):not(:has(img, svg, picture)),
.external-link { padding-right: var(--sz-external-link); } .external-link { padding-right: var(--sz-external-link); }