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 98c54afa6b64cd8b38b576f52ff6f8117a75cf16..bdf559828b619357d88b5a7e4ffa792be4731b8a 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;