Skip to content
Snippets Groups Projects

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

Merged Jan Frenzel requested to merge 321-fix-internal-links into preview
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -195,13 +195,16 @@ p {
@@ -195,13 +195,16 @@ p {
}
}
/* main */
/* main */
/* style external links as found on https://stackoverflow.com/questions/5379752/css-style-external-links */
/* 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 */
/* exclude hash only links */
[href^="#"],
[href^="#"],
/* exclude relative but not double slash only links */
/* exclude relative but not double slash only links */
[href^="/"]:not([href^="//"]),
[href^="/"]:not([href^="//"]),
/* exclude page itself */
/* exclude page itself */
[href*="//doc.zih.tu-dresden.de"],
[href*="//doc.zih.tu-dresden.de"],
 
/* exclude relative links beginning with ../ */
 
[href^="\.\./"],
 
[href^="misc/"],
/* exclude buttons */
/* exclude buttons */
.md-content__button,
.md-content__button,
/* exclude icons */
/* exclude icons */
Loading