My website now shows an icon next to all external links.
@hund I see. I guess a color that looks visible on both background can be chosen, but it probably will have too much highlight than it deserves.
@hund there is actually support for darkmode, if you hive your SVG the color/stroke of “currentColor” it will inherit the “color” from the CSS styles.
@hund what about hyperlinked images? <a href=".."><img src="..."/></a>.
@hund the CSS selector you wrote will also add the icon to <a> tags that contain an image (clickable images).. Imagine a large image with a small external link icon next to it. I know this from experience :)
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.