mirror of https://gitlab.com/bashrc2/epicyon
Emoji width
parent
35b8ba9ff2
commit
99bad0d733
|
@ -246,6 +246,12 @@ input[type=text] {
|
|||
padding: 10px;
|
||||
margin: 20px 30px;
|
||||
}
|
||||
figure img.common_emoji {
|
||||
width: 5%;
|
||||
}
|
||||
figcaption {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1000px) {
|
||||
|
@ -293,6 +299,12 @@ input[type=text] {
|
|||
padding: 20px;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
figure img.common_emoji {
|
||||
width: 5%;
|
||||
}
|
||||
figcaption {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
|
@ -343,4 +355,10 @@ input[type=text] {
|
|||
padding: 20px;
|
||||
margin: 30px 40px;
|
||||
}
|
||||
figure img.common_emoji {
|
||||
width: 5%;
|
||||
}
|
||||
figcaption {
|
||||
font-size: var(--font-size);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -355,7 +355,8 @@ def _html_common_emoji(base_dir: str, no_of_emoji: int) -> str:
|
|||
# NOTE: deliberately no alt text, so that without graphics only
|
||||
# the emoji name shows
|
||||
html_str += \
|
||||
'<figure><img src="/emoji/' + emoji_name + '.png" ' + \
|
||||
'<figure><img class="common_emoji" ' + \
|
||||
'src="/emoji/' + emoji_name + '.png" ' + \
|
||||
'alt="" title="">' + \
|
||||
'<figcaption>:' + emoji_name + ':</figcaption></figure>\n'
|
||||
ctr += 1
|
||||
|
|
Loading…
Reference in New Issue