From d0e4c65c8ec4a81fd13b25aa1acb163ec18885ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?l=C3=B3menoir=C3=AB=20mortecc=2E?= <38693485+chaosarium@users.noreply.github.com> Date: Thu, 9 May 2024 16:18:36 -0400 Subject: [PATCH] external link --- assets/styles/base.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/assets/styles/base.scss b/assets/styles/base.scss index f836bac..2583fb0 100644 --- a/assets/styles/base.scss +++ b/assets/styles/base.scss @@ -165,6 +165,23 @@ article { cursor: not-allowed; } } + + &:not(.internal-link)[rel="noopener"] { + &::after { + // content: "↗"; + font-family: var(--font-header); + font-weight: 400; + opacity: 50%; + } + transition: all 0.2s ease; + } + &:not(.internal-link)[rel="noopener"]:hover { + &::after { + opacity: 100%; + } + text-decoration: underline; + transition: all 0.2s ease; + } } & p {