From dd217a858eccd2574648f159e32fa715332ce8b6 Mon Sep 17 00:00:00 2001 From: Mu-An Chiou Date: Wed, 20 Nov 2024 15:46:42 +0800 Subject: [PATCH] I am probably going to hate this --- assets/new.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/assets/new.scss b/assets/new.scss index d8c02a68..9aa7c117 100644 --- a/assets/new.scss +++ b/assets/new.scss @@ -61,6 +61,22 @@ a { text-underline-position: under; } +a[href^='http']:not([href^='https://muan']):not(.hidden-link):not(:has(img)) { + &:after { + content: '(External)'; + margin-right: 6px; + font-size: 0.01em; + padding: 0; + border-bottom: 3px solid transparent; + border-left: 3px solid transparent; + line-height: 0; + text-decoration: none; + box-shadow: 5em -4em 0 4em var(--linkColor); + color: transparent; + vertical-align: text-top; + } +} + a, u { text-decoration-thickness: 0.5px; } @@ -789,6 +805,7 @@ nav { display: flex; flex-wrap: wrap; column-gap: .8em; + align-items: center; margin: .6em 0; }