From fbf52d0b401af3849f5e177333d6fee0c9129690 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:01:44 +0800 Subject: [PATCH] Use currentColor for image links --- src/assets/css/general.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/css/general.css b/src/assets/css/general.css index ed078cd3..ae0ec927 100644 --- a/src/assets/css/general.css +++ b/src/assets/css/general.css @@ -49,7 +49,7 @@ a { a:hover { color: var(--clr-link-hover); } 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)), .external-link { padding-right: var(--sz-external-link); }