diff options
author | breadcat | 2023-03-04 12:44:29 +0000 |
---|---|---|
committer | breadcat | 2023-03-04 12:44:29 +0000 |
commit | 3eec2315d9f8b16164fc0efb472428f42ee61757 (patch) | |
tree | 16dbcdb4928fe6b5ff4239c6c929c1cb45faa346 /themes/Brine/layouts | |
parent | c0160819e5d32ea221327be88ee75e64970d156e (diff) | |
download | blog.minskio.co.uk-3eec2315d9f8b16164fc0efb472428f42ee61757.tar.gz blog.minskio.co.uk-3eec2315d9f8b16164fc0efb472428f42ee61757.tar.bz2 blog.minskio.co.uk-3eec2315d9f8b16164fc0efb472428f42ee61757.zip |
Add icons to external links
Thanks Jake/Eli
https://www.paritybit.ca/blog/styling-external-links.html
Diffstat (limited to 'themes/Brine/layouts')
-rw-r--r-- | themes/Brine/layouts/_default/baseof.html | 1 |
1 files changed, 1 insertions, 0 deletions
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} |