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

19 lines
735 B
HTML
Raw Normal View History

2024-10-05 06:27:07 +00:00
<style>
2024-11-13 17:24:48 +00:00
a[href^="http://"]:not(.footnote-ref):after,
a[href^="https://"]:not(.footnote-ref):after {
content: '';
display: inline-grid;
2024-10-18 07:33:33 +00:00
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;
2024-10-05 06:27:07 +00:00
}
2024-11-13 17:24:48 +00:00
a[href^="{{.Site.BaseURL}}"]:not(.footnote-ref):after
2024-10-05 06:27:07 +00:00
{
background-image: none !important;
display: none;
2024-10-05 06:27:07 +00:00
}
</style>