Skip to content

Commit

Permalink
docs: add icon to external links
Browse files Browse the repository at this point in the history
  • Loading branch information
bastimeyer authored and gravyboat committed Mar 4, 2022
1 parent c436024 commit 98da60a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/_static/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ strong.command {
font: normal var(--font-size--small) var(--font-stack--monospace);
}

a[href^="http://"],
a[href^="https://"]:not([href^="https://streamlink.github.io/"]) {
display: inline-block;
word-break: break-word;
}

a[href^="http://"],
a[href^="https://"]:not([href^="https://streamlink.github.io/"])::after {
content: "\f35d";
display: inline-block;
padding-left: .4em;
font: 900 .6em "Font Awesome 5 Free";
vertical-align: middle;
text-decoration: none;
}

/*
Sidebar/Menubar and related
*/
Expand Down

0 comments on commit 98da60a

Please sign in to comment.