From a59e9abb7f9dc070acd5d294a0e842a081eb03fa Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Fri, 25 Aug 2023 08:16:37 +0100 Subject: [PATCH] Fix target attribute on homepage external links --- src/css/globals.css | 24 ++++++++++++------------ src/index.html | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/css/globals.css b/src/css/globals.css index ec8f4d3..33f3a73 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -45,6 +45,18 @@ a { &:visited { color: inherit; } + + &[target="_blank"]::after { + content: " \f08e"; + font-family: "font awesome 6 free"; + font-style: normal; + font-variant: normal; + text-rendering: auto; + font-weight: 900; + -webkit-font-smoothing: antialiased; + font-size: var(--text-size-xs); + vertical-align: super; + } } nav { @@ -79,16 +91,4 @@ aside { height: fit-content; max-width: 50ch; padding: var(--space-size-xs); -} - -a[target="_blank"]::after { - content: " \f08e"; - font-family: "font awesome 6 free"; - font-style: normal; - font-variant: normal; - text-rendering: auto; - font-weight: 900; - -webkit-font-smoothing: antialiased; - font-size: var(--text-size-xs); - vertical-align: super; } \ No newline at end of file diff --git a/src/index.html b/src/index.html index 0a1eac7..fbe0630 100644 --- a/src/index.html +++ b/src/index.html @@ -17,7 +17,7 @@ layout: base.njk When I'm not working I love cycling, reading fiction (mostly sci-fi and ghost stories), and spending time with my family & our border collie.

- You can find also find me on the Fediverse, follow my reading on Bookwyrm, subscribe to my RSS feed, or email me at hello@lewiswrites.software. + You can find also find me on the Fediverse, follow my reading on Bookwyrm, subscribe to my RSS feed, or email me at hello@lewiswrites.software.