💄 (external link) add a svg after every external …
This commit is contained in:
6
src/assets/icons/external-link.svg
Normal file
6
src/assets/icons/external-link.svg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-external-link" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="#3b7e70" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||||
|
<path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" />
|
||||||
|
<line x1="10" y1="14" x2="20" y2="4" />
|
||||||
|
<polyline points="15 4 20 4 20 9" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 446 B |
@@ -42,4 +42,10 @@ body {
|
|||||||
|
|
||||||
a.external-link {
|
a.external-link {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
margin-left: 0.2rem;
|
||||||
|
vertical-align: text-top;
|
||||||
|
content: url('assets/icons/external-link.svg');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user