リンクアイコンの表示方法を変更

This commit is contained in:
moris 2025-02-23 15:54:40 +09:00
parent 481f733855
commit dd42d06ff5

View File

@ -40,13 +40,13 @@
} }
& a[target="_blank"]:after { & a[target="_blank"]:after {
content: '■'; content: '';
font-size: 1em;
line-height: 1em;
width: 1em;
height: 1em;
display: inline-block; display: inline-block;
mask-image: url('data:image/svg+xml;utf-8,<svg viewBox="0 -960 960 960" xmlns="http://www.w3.org/2000/svg"><path d="m293.3-240q-22 0-37.67-15.67-15.67-15.67-15.67-37.67v-373.3q0-22 15.67-37.67 15.67-15.67 37.67-15.67h186.7v53.33h-186.7v373.3h373.3v-186.7h53.33v186.7q0 22-15.67 37.67-15.67 15.67-37.67 15.67zm125.3-141.3-37.33-37.33 248-248h-96v-53.33h186.7v186.7h-53.33v-96z"/></svg>'); width: .5em;
height: .5em;
margin-left: 2px;
background-color: currentColor;
mask-image: url('data:image/svg+xml;utf-8,<svg viewBox="0 0 480 480" xmlns="http://www.w3.org/2000/svg"><path d="m52 480q-22 0-37-15t-15-37v-376q0-22 15-37t37-15h188v53h-187v374h374v-187h53v187q0 22-15 37t-37 15zm126-142l-37-37l248-248h-96v-53h187v187h-53v-96z"/></svg>');
vertical-align: super; vertical-align: super;
} }