1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 13:05:32 -04:00

more sensical twemoji-in-js w/ svgr

This commit is contained in:
2021-12-11 08:47:13 -05:00
parent daffcb924b
commit 8fe68b009b
6 changed files with 193 additions and 32 deletions

View File

@@ -130,7 +130,6 @@ main {
margin-top: 0;
letter-spacing: -0.005em;
// stylelint-disable-next-line no-descending-specificity
a {
// disable fancy underline without `.no-underline`
color: inherit !important;
@@ -142,7 +141,8 @@ main {
// make SVG twemojis relative to surrounding text
// https://github.com/twitter/twemoji#inline-styles
img.emoji {
img.emoji,
svg.emoji {
height: 1.2em;
width: 1.2em;
margin: 0 0.05em;
@@ -155,7 +155,7 @@ img.emoji {
}
// need to manually unset text cursor above when emoji's within a link
a img.emoji {
a .emoji {
cursor: inherit;
}

View File

@@ -87,7 +87,7 @@ div.layout-contact {
);
}
img.emoji {
svg.emoji {
margin-left: 0;
margin-right: 0.4em;
cursor: inherit;