Template:Emoji/styles.css: Difference between revisions
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
SomebodyRum (talk | contribs) Created page with "→Template:Emoji/styles.css: .emoji-img { vertical-align: middle; height: 1em; →Scales perfectly with surrounding text: width: auto; margin: 0 0.15em; →Small breathing room: }" |
SomebodyRum (talk | contribs) No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Template:Emoji/styles.css */ | /* Template:Emoji/styles.css */ | ||
.emoji-wrapper img, | |||
.emoji-img { | .emoji-img { | ||
display: inline-block; | |||
vertical-align: middle; | vertical-align: middle; | ||
height: | height: 1.2em !important; /* Slightly larger than 1em reads better for emojis */ | ||
width: auto; | width: auto !important; | ||
margin: 0 0.15em; | /* Adjust this value to nudge the emoji up or down */ | ||
margin-top: -0.25em; | |||
margin-left: 0.15em; | |||
margin-right: 0.15em; | |||
} | |||
.emoji-wrapper a.image, | |||
.emoji-wrapper figure { | |||
display: inline-block !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
Latest revision as of 16:33, 19 April 2026
/* Template:Emoji/styles.css */
.emoji-wrapper img,
.emoji-img {
display: inline-block;
vertical-align: middle;
height: 1.2em !important; /* Slightly larger than 1em reads better for emojis */
width: auto !important;
/* Adjust this value to nudge the emoji up or down */
margin-top: -0.25em;
margin-left: 0.15em;
margin-right: 0.15em;
}
.emoji-wrapper a.image,
.emoji-wrapper figure {
display: inline-block !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}