From ac0843afa73cac96fe81cd00c74d69aa5a033a3d Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Wed, 22 Apr 2026 05:49:13 +0000 Subject: [PATCH] Update docs/stylesheets/extra.css --- docs/stylesheets/extra.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 4fba6fd..0782c9c 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,6 +1,12 @@ /* docs/stylesheets/extra.css */ -/* https://stackoverflow.com/questions/1899772/what-is-the-best-practice-for-showing-an-icon-next-to-text */ -.md-typeset a.plugin_open_external_links_in_new_tab::before { - content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==); - margin: 0 3px 0 5px; + +.md-typeset a:not(.md-icon) { + &[href^="//"]::after, + &[href^="http://"]::after, + &[href^="https://"]::after { + content: "↗"; + font-size: smaller; + margin-left: .2em; + vertical-align: top; + } } \ No newline at end of file