Skip to content
Snippets Groups Projects
Commit 0a4b2609 authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Added rule to exclude internal links with dots from being marked with

icon.
parent c3f10350
No related branches found
No related tags found
2 merge requests!563Automated merge from preview to main,!561Added rule to exclude internal links with dots from being marked with icon.
......@@ -195,13 +195,15 @@ p {
}
/* main */
/* style external links as found on https://stackoverflow.com/questions/5379752/css-style-external-links */
.md-content a[href]:not(:where(
.md-content a[href]:where([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 relative links beginning with ../ */
[href^="\.\./"],
/* exclude buttons */
.md-content__button,
/* exclude icons */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment