リンクを出典アイコンにする
参考
ありがたや〜mrsekut.icon
表記
[. <URL>]
表示例
ページ内リンク
外部リンクも含むその他
code:style.css
.line .deco-\. {
font-size: .6em;
/* font-size: .8em; */
vertical-align: super;
}
.line:not(.cursor-line) .deco-\. :is(.page-link:not(.icon), .link) span {
display: inline-block;
width: 0;
text-indent: -9999px;
}
.line:not(.cursor-line) .deco-\. .page-link:not(.icon) span.empty-char-index ~ span {
display: inherit;
width: inherit;
text-indent: inherit;
}
.line .deco-\. :is(.page-link:not(.icon), .link)::before {
display: inline-block;
min-width: 1.15em;
padding-left: 1px;
/* padding: 0 1px; */
font-family: 'Font Awesome 5 Free';
text-align: center;
vertical-align: middle;
font-weight: 900;
content: "\f02d";
}
.line .deco-\..deco-\/ {
font-style: initial;
}
.line .deco-\..deco-\/ :is(.page-link:not(.icon), .link)::before {
font-weight: 400;
content: "\f15c";
}