trwnh.com/unified.test.hugo/layouts/partials/styles/external-links.html
2024-11-13 11:24:48 -06:00

19 lines
No EOL
735 B
HTML

<style>
a[href^="http://"]:not(.footnote-ref):after,
a[href^="https://"]:not(.footnote-ref):after {
content: '';
display: inline-grid;
inline-size: 1rem;
block-size: 0.875rem;
font-size: 1rem;
background-color: currentColor;
mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9IndoaXRlIj48cGF0aCBkPSJNMTUuNjQgNy4wMjVoLTMuNjIydi0yaDd2N2gtMnYtMy41NWwtNC45MTQgNC45MTRsLTEuNDE0LTEuNDE0eiIvPjxwYXRoIGQ9Ik0xMC45ODIgNi45NzVoLTZ2MTJoMTJ2LTZoLTJ2NGgtOHYtOGg0eiIvPjwvZz48L3N2Zz4=');
mask-repeat: no-repeat;
}
a[href^="{{.Site.BaseURL}}"]:not(.footnote-ref):after
{
background-image: none !important;
display: none;
}
</style>