generated at
特定のリンクにアイコンをつけるUserCSS

style.css
div.line span:not(.modal-image):not(.pointing-device-map) > a.link:not(.icon):is( [href$=".pdf"], [href^="https://twitter.com"], [href^="https://github.com"], [href^="https://raw.githubusercontent.com"], [href^="https://gist.github.com"], [href^="https://ja.wikipedia.org"], [href^="https://en.wikipedia.org"] )::after { display: none; } .line span:not(.deco-\.) > span > a.link:is( [href$=".pdf"], [href^="https://github.com"], [href^="https://raw.githubusercontent.com"], [href^="https://gist.github.com"], [href^="https://ja.wikipedia.org"], [href^="https://en.wikipedia.org"] )::before { display: inline-block; width: 1em; /*16px;*/ height: 1em; /*16px;*/ vertical-align: -1px;/*-3px;*/ text-align: center; background-size: contain; background-repeat: no-repeat; font-family:"Font Awesome 5 Free","Font Awesome 5 Brands"; /* margin-right: 2px; */ } .line a.link:not(.icon)[href$=".pdf"]::before { content: '\f1c1'; font-weight: 400; /* use Regular Style */ margin-right: 1px; } :is(.line, .line .deco) a.link:is( [href^="https://github.com"], [href^="https://raw.githubusercontent.com"], [href^="https://gist.github.com"] )::before { content: '\f09b'; font-weight: 400; margin-right: 1px; } :is(.line, .line .deco) a.link:is( [href^="https://ja.wikipedia.org"], [href^="https://en.wikipedia.org"] )::before { content: '\f266'; font-weight: 400; margin-right: 3px; } .line .deco-\. a.link:is( [href^="https://ja.wikipedia.org"], [href^="https://en.wikipedia.org"] ) span.char-index { display: inline-block; width: 0; text-indent: -9999px; } .line .deco-\. a.link:is( [href^="https://ja.wikipedia.org"], [href^="https://en.wikipedia.org"] ) span.char-index:nth-of-type(30) ~ span.char-index { display: inherit; width: inherit; text-indent: inherit; }

#2022-02-15 16:48:06 文法ミス修正
#2022-02-13 13:54:31