Skip to content

Commit

Permalink
feat: Annotate external links with 🔗
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Mar 28, 2024
1 parent 6fe6ab3 commit 4c26383
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/asset/style/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@
text-underline-position: under;
}

/* Relies on `hooks/external_link_in_new_tab.py` */
.md-typeset a[target="_blank"]::after {
content: "🔗";

vertical-align: super;
font-size: x-small;
word-break: keep-all;
}

.md-typeset figure>img,
.md-typeset figure>a.glightbox[data-type=image] {
width: 80%;
Expand Down

0 comments on commit 4c26383

Please sign in to comment.