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 |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* Template:Emoji/styles.css */ | /* Template:Emoji/styles.css */ | ||
.emoji-img { | .emoji-img { | ||
display: inline-block; | |||
vertical-align: middle; | vertical-align: middle; | ||
height: 1em; /* | height: 1em !important; | ||
width: auto !important; | |||
margin: 0 0.15em; | /* Adjust this value to nudge the emoji up or down */ | ||
margin-top: -0.5em; | |||
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; | |||
} | } | ||
Revision as of 14:28, 19 April 2026
/* Template:Emoji/styles.css */
.emoji-img {
display: inline-block;
vertical-align: middle;
height: 1em !important;
width: auto !important;
/* Adjust this value to nudge the emoji up or down */
margin-top: -0.5em;
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;
}