trwnh.com/unified.test.hugo/layouts/partials/styles/external-links.html

20 lines
No EOL
756 B
HTML

<style>
a[href]: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,
a[href^="#"]:not(.footnote-ref):after,
a[href^="/"]:not(.footnote-ref):after
{
background-image: none !important;
display: none;
}
</style>