From f53d5fd6ec56aef40f9f9f7fba464dfebc20f6a5 Mon Sep 17 00:00:00 2001 From: eltrac Date: Sun, 8 Mar 2026 09:15:08 +0800 Subject: feat: new external link icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit replace "↗" with a SVG image, because on some devices, it might be rendered as "↗️" emoji. --- assets/css/_markdown.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'assets/css/_markdown.scss') diff --git a/assets/css/_markdown.scss b/assets/css/_markdown.scss index 00916795..a4e8f92d 100644 --- a/assets/css/_markdown.scss +++ b/assets/css/_markdown.scss @@ -97,7 +97,12 @@ // external link icon &.external-link::after { - content: '↗'; + content: ''; + background-image: url('/icons/external.svg'); + background-size: cover; + opacity: 0.65; + height: 1em; + width: 1em; } // icons for specific domains -- cgit v1.2.3