From 3b2e567573cf3215d52d7c8a70a6255d8ded35b9 Mon Sep 17 00:00:00 2001
From: Jan Frenzel <jan.frenzel@tu-dresden.de>
Date: Fri, 25 Mar 2022 12:06:39 +0100
Subject: [PATCH] Added small arrow in front of external links.

---
 .../tud_theme/stylesheets/extra.css              | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css
index 98c54afa6..bdf559828 100644
--- a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css
+++ b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css
@@ -192,7 +192,21 @@ p {
 	margin: 0.2em;
 }
 /* main */
-
+/* style external links as found on https://stackoverflow.com/questions/5379752/css-style-external-links */
+.md-content a[href]:not(:where(
+  /* exclude hash only links */
+  [href^="#"],
+  /* exclude relative but not double slash only links */
+  [href^="/"]:not([href^="//"]),
+  /* exclude page itself */
+  [href*="//doc.zih.tu-dresden.de"],
+  /* exclude buttons */
+  .md-content__button,
+  /* exclude icons */
+  .md-icon
+)):before {
+  content: '\2197 ';
+}
 /* footer */
 .md-footer * {
     justify-content: flex-start;
-- 
GitLab