Skip to content

Commit

Permalink
Merge pull request #246 from philwebb/external-link-updates
Browse files Browse the repository at this point in the history
External link updates
  • Loading branch information
rwinch authored May 17, 2024
2 parents 6f7d82c + cc45ff4 commit deead96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,19 @@ html.is-clipped--nav {
}

.nav-list a.link-external::after {
content: url(../img/octicons-16.svg#view-link-external);
width: 16px;
height: 16px;
content: url(../img/link-external.svg);
width: 14px;
height: 14px;
display: inline-block;
vertical-align: middle;
margin: 0 0 2px 5px;
margin: 0 0 6px 5px;
filter: opacity(0.5);
}

.dark-theme .nav-list a.link-external::after {
filter: invert() opacity(0.4);
}

.nav-menu > .nav-list + .nav-list {
margin-top: 0.5rem;
}
Expand Down
1 change: 1 addition & 0 deletions src/img/link-external.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit deead96

Please sign in to comment.