From 8fecbcbba2eef19f4adf3c95573f8330746335b7 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Tue, 29 Apr 2025 08:56:04 +0200 Subject: Indicate external links --- src/layouts/Layout.astro | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/layouts') diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f1c37c9..976e8a3 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -32,7 +32,10 @@ const { title, description, empty } = Astro.props; - + @@ -86,6 +89,14 @@ const { title, description, empty } = Astro.props; color: $accent; } + a.external::after { + content: "↗"; + font-family: monospace; + font-size: 0.85em; + display: inline-block; + transform: translateY(-1px); + } + *::selection { background-color: color.adjust($accent, $alpha: -0.85); } -- cgit v1.3