add: 外部リンクにアイコンをつける
This commit is contained in:
parent
a29365fdb1
commit
9048c8a561
@ -43,6 +43,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& a[target="_blank"]:after {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
width: .7em;
|
||||||
|
height: .7em;
|
||||||
|
vertical-align: text-top;
|
||||||
|
mask-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"/></svg>');
|
||||||
|
background-color: var(--font-color);
|
||||||
|
}
|
||||||
|
|
||||||
& li {
|
& li {
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user