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) mNo edit summary |
||
| Line 2: | Line 2: | ||
.emoji-img { | .emoji-img { | ||
vertical-align: middle; | vertical-align: middle; | ||
height: 1em; | /* Force size regardless of file resolution */ | ||
width: auto; | height: 1em !important; | ||
margin: 0 0.15em; /* | width: auto !important; | ||
margin: 0 0.15em; | |||
display: inline-block; | |||
} | |||
/* Strip any default image borders/backgrounds */ | |||
.emoji-wrapper a.image, | |||
.emoji-wrapper figure { | |||
display: inline-block !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
Revision as of 14:23, 19 April 2026
/* Template:Emoji/styles.css */
.emoji-img {
vertical-align: middle;
/* Force size regardless of file resolution */
height: 1em !important;
width: auto !important;
margin: 0 0.15em;
display: inline-block;
}
/* Strip any default image borders/backgrounds */
.emoji-wrapper a.image,
.emoji-wrapper figure {
display: inline-block !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
}