Skip to content

Commit

Permalink
Merge pull request #15 from Wolf2323/relativePaths
Browse files Browse the repository at this point in the history
use relative paths for loading the external link icons
  • Loading branch information
Wolf2323 authored Dec 4, 2024
2 parents b0a2b89 + ced9aca commit a855924
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_webCode/css/externalLinkIcon.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
body .md-content__inner a.external-link:not(.md-button,.noExternalLinkIcon) {
background-image: url("/_media/content/linkExternalWhite.svg");
background-image: url("../../_media/content/linkExternalWhite.svg");
background-repeat: no-repeat;
background-position: top right;
padding-right: 0.7em;
background-size: 0.6em;

&[data-md-color-scheme="slate"] {
background-image: url("/_media/content/linkExternalDark.svg");
background-image: url("../../_media/content/linkExternalDark.svg");
}

&:hover {
background-image: url("/_media/content/linkExternalHover.svg");
background-image: url("../../_media/content/linkExternalHover.svg");
}
}

0 comments on commit a855924

Please sign in to comment.