Skip to content
Snippets Groups Projects
Commit 282cac7d authored by Taras Lazariv's avatar Taras Lazariv
Browse files

Merge branch '321-fix-internal-links' into 'preview'

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

Closes #321

See merge request !561
parents c3f10350 055cddf9
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,16 @@ 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^="\.\./"],
[href^="misc/"],
/* 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