From 3eec2315d9f8b16164fc0efb472428f42ee61757 Mon Sep 17 00:00:00 2001
From: breadcat
Date: Sat, 4 Mar 2023 12:44:29 +0000
Subject: Add icons to external links

Thanks Jake/Eli
https://www.paritybit.ca/blog/styling-external-links.html
---
 themes/Brine/layouts/_default/baseof.html | 1 +
 1 file changed, 1 insertion(+)

(limited to 'themes')

diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html
index 4ea2190..155e4a6 100644
--- a/themes/Brine/layouts/_default/baseof.html
+++ b/themes/Brine/layouts/_default/baseof.html
@@ -7,6 +7,7 @@
 <meta content="width=device-width" name="viewport" />
 <style>
 	a.active,a:hover{text-decoration:underline}
+	a[href^=http]:where(:not([href*="minskio.co.uk/"]))::after{content:"↗"}
 	body{margin:0;word-wrap:break-word;font:calc(.75em + 1.3vmin)/1.6 "Segoe UI",Helvetica,Arial,sans-serif}
 	h2{font-size:xx-large;margin-bottom:unset}
 	a{text-decoration:none;color:#03c}
-- 
cgit v1.2.3