provide a hover class for smiley emojis which renders them slightly larger on compatible devices when you single them out for inspection

This commit is contained in:
redmatrix 2016-06-04 18:10:42 -07:00
parent c1a24d44a3
commit dd6718c2cd
2 changed files with 6 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ function list_smilies() {
if(strpos($e['shortname'],':tone') === 0)
continue;
$texts[] = $e['shortname'];
$icons[] = '<img height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
$icons[] = '<img class="smiley emoji" height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
}
}

View File

@ -312,3 +312,8 @@ code.inline-code {
.overline {
text-decoration: overline;
}
img.smiley.emoji:hover {
width: 32px;
height: 32px;
}