diff options
author | Alan Pearce | 2024-06-19 13:51:24 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-19 14:10:44 +0200 |
commit | 8002766378b1153e749297ed1d01ba221ee72b41 (patch) | |
tree | 070039ee0b76ea576791418f72e76e95c2c5e7ab /templates | |
parent | 45a2e290aa2bc59deb5971255accba517500cc25 (diff) | |
download | website-8002766378b1153e749297ed1d01ba221ee72b41.tar.lz website-8002766378b1153e749297ed1d01ba221ee72b41.tar.zst website-8002766378b1153e749297ed1d01ba221ee72b41.zip |
style external nav menu links
Diffstat (limited to 'templates')
-rw-r--r-- | templates/style.css | 7 |
1 files changed, 7 insertions, 0 deletions
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; +} |