From fa7d139ce5a0216ca3f6e63c78f818e9c028a3ab Mon Sep 17 00:00:00 2001
From: sean <146651411+tuta-amb@users.noreply.github.com>
Date: Tue, 16 Jan 2024 07:55:32 +0000
Subject: [PATCH] feat: External link icons (#697)

---
 quartz/styles/base.scss |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 607749a..16a9612 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -59,6 +59,7 @@
   text-decoration: none;
   transition: color 0.2s ease;
   color: var(--secondary);
+  display: inline-block;
 
   &:hover {
     color: var(--tertiary) !important;
@@ -76,6 +77,16 @@
       padding: 0;
     }
   }
+
+  &.external .external-icon {
+    vertical-align: bottom;
+    height: 1ex;
+    margin: 0 0.15em;
+
+    > path {
+      fill: var(--dark);
+    }
+  }
 }
 
 .desktop-only {

--
Gitblit v1.10.0