Skip to content

Commit

Permalink
example site - accessibility - add new window icon to tel and mailto …
Browse files Browse the repository at this point in the history
…links
  • Loading branch information
andis-sprinkis committed Nov 12, 2023
1 parent 8520d33 commit 8bf2a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/documents/index/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ a:hover {
text-decoration-thickness: var(--thickness-underline-hover);
}

a[target='_blank']::after {
a[target='_blank']::after, a[href^='mailto:']::after, a[href^='tel:']::after {
content: '';
background: var(--url-icon-new-tab);
background-size: 3em;
Expand All @@ -105,7 +105,7 @@ a[target='_blank']::after {
}

@media print {
a[target='_blank']::after {
a[target='_blank']::after, a[href^='mailto:']::after, a[href^='tel:']::after {
content: none;
}
}
Expand Down

0 comments on commit 8bf2a86

Please sign in to comment.