From 8002766378b1153e749297ed1d01ba221ee72b41 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Jun 2024 13:51:24 +0200 Subject: style external nav menu links --- templates/style.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates') diff --git a/templates/style.css b/templates/style.css index 84ce1ce..89fd58f 100644 --- a/templates/style.css +++ b/templates/style.css @@ -11,6 +11,7 @@ --code-background-color: #f2f2f2; --code-color: #222; --blockquote-color: #222; + --icon-external-link: url("/external-link.svg"); } @media (prefers-color-scheme: dark) { @@ -205,3 +206,9 @@ svg.rss-icon { height: 1.5ex; width: 1.5ex; } + +a[target="_blank"]::after { + content: ""; + background: no-repeat var(--icon-external-link); + padding-right: 1em; +} -- cgit 1.4.1