style external nav menu links
1 file changed, 7 insertions(+), 0 deletions(-)
changed files
M templates/style.css → templates/style.css
@@ -11,6 +11,7 @@ --visited-color: #8b6fcb; --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; +}