Skip to content

Commit

Permalink
example project - rm. external link icon from tel, mailto links
Browse files Browse the repository at this point in the history
  • Loading branch information
andis-sprinkis committed Feb 12, 2024
1 parent 9c0ba6a commit f33c44f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion site/documents/index/_block_layout_index_children.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 id="heading-nav-documents">Site documents</h2>
<h2 id="heading-nav-external-links">External links</h2>
<nav aria-labelledby="heading-nav-external-links">
<ul>
<li><span><a href="https://github.com/andis-sprinkis/tparts" target="_blank" rel="noreferrer noopener"><code>tparts</code> on GitHub</a></span></li>
<li><span><a href="https://github.com/andis-sprinkis/tparts"><code>tparts</code> on GitHub</a></span></li>
</ul>
</nav>
</section>
8 changes: 2 additions & 6 deletions site/documents/index/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ a:hover {
text-underline-offset: var(--underline-offset-active-focus);
}

a[target='_blank']::after,
a[href^='mailto:']::after,
a[href^='tel:']::after {
a[target='_blank']::after {
content: var(--url-icon-new-tab);
display: inline-block;
width: 1em;
Expand All @@ -154,9 +152,7 @@ a[href^='tel:']::after {
}

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

0 comments on commit f33c44f

Please sign in to comment.