blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

commit 3eec2315d9f8b16164fc0efb472428f42ee61757
parent c0160819e5d32ea221327be88ee75e64970d156e
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Sat,  4 Mar 2023 12:44:29 +0000

Add icons to external links

Thanks Jake/Eli
https://www.paritybit.ca/blog/styling-external-links.html

Diffstat:
Mthemes/Brine/layouts/_default/baseof.html | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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}