From 55f6613c572fb6d97f977ee09c28145677209fa4 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 8 Nov 2025 08:45:32 +0100 Subject: s-links: Add --mark-external --- src/scopes/_links.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/scopes') diff --git a/src/scopes/_links.scss b/src/scopes/_links.scss index 9ade0c2..40be069 100644 --- a/src/scopes/_links.scss +++ b/src/scopes/_links.scss @@ -67,6 +67,17 @@ } } + @include bem.modifier('mark-external') { + :link, + :visited { + &[href^='http'] { + &::after { + content: ' ↗'; + } + } + } + } + @each $theme in map.keys(props.get(vars.$static-themes)) { @include bem.modifier(string.slice($theme, 3)) { :link, -- cgit v1.2.3-70-g09d2