diff --git a/app/root.css b/app/root.css index 652e2d58..6908da70 100644 --- a/app/root.css +++ b/app/root.css @@ -640,6 +640,16 @@ a:not(:hover, :focus-visible) { text-decoration: none; } +.contents a[target='_blank'][href^='http']:not(.icon-link, .transparent-link) { + padding-right: 12px; + background: url('/assets/Icon_External_Link.svg') no-repeat top 3px right 1px / 10px 10px; +} + +sup { + /* external link icon above looks best when line-height does not change on lines with footnotes */ + line-height: 1; +} + hr { border: 1px solid var(--colors-cool-grey-200); border-bottom: 0; diff --git a/public/assets/Icon_External_Link.svg b/public/assets/Icon_External_Link.svg new file mode 100644 index 00000000..00558966 --- /dev/null +++ b/public/assets/Icon_External_Link.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file