Fix target attribute on homepage external links

This commit is contained in:
Lewis Dale 2023-08-25 08:16:37 +01:00
parent 26bdc77b9a
commit a59e9abb7f
2 changed files with 13 additions and 13 deletions

View File

@ -45,6 +45,18 @@ a {
&:visited { &:visited {
color: inherit; 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 { nav {
@ -80,15 +92,3 @@ aside {
max-width: 50ch; max-width: 50ch;
padding: var(--space-size-xs); 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;
}

View File

@ -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. 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.
</p> </p>
<p> <p>
You can find also find me on <a href="https://social.lewisdale.dev/@lewis" rel="me" target="blank">the Fediverse</a>, follow my reading on <a href="https://bookrastinating.com/user/lewisdaleuk">Bookwyrm</a>, subscribe to my <a href="/feed.xml">RSS feed</a>, or email me at <a href="mailto:hello@lewiswrites.software">hello@lewiswrites.software</a>. You can find also find me on <a href="https://social.lewisdale.dev/@lewis" rel="me" target="_blank">the Fediverse</a>, follow my reading on <a href="https://bookrastinating.com/user/lewisdaleuk" target="_blank">Bookwyrm</a>, subscribe to my <a href="/feed.xml">RSS feed</a>, or email me at <a href="mailto:hello@lewiswrites.software">hello@lewiswrites.software</a>.
</p> </p>
</section> </section>