From 8fba5389cb9ac3eb68e7f210c4416111b0a922e8 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 13 Jul 2024 01:54:39 +0800 Subject: [PATCH] Remove external link icon from links containing my domain name --- src/assets/css/general.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/css/general.css b/src/assets/css/general.css index 5b83c9a7..3ec91e76 100644 --- a/src/assets/css/general.css +++ b/src/assets/css/general.css @@ -51,8 +51,8 @@ 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[href^="http"]:not(:has(img, svg, figure)) { padding-right: 1.25em; } -a[href^="http"]:not(:has(img, svg, figure))::after { +a[href^="http"]:not([href*="leilukin.com"]):not(:has(img, svg, figure)) { padding-right: 1.25em; } +a[href^="http"]:not([href*="leilukin.com"]):not(:has(img, svg, figure))::after { position: absolute; content: ""; display: inline-block;