From 5ab2480c609b3f2540f5eb840e9cf3eb0589317d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 28 Apr 2025 00:58:53 +0500 Subject: feat: display emote's author name --- public/static/style.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'public/static/style.css') diff --git a/public/static/style.css b/public/static/style.css index 0183846..ae4574f 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -303,8 +303,8 @@ button.purple:hover, } .box.emote { - width: 90px; - height: 90px; + width: 96px; + height: 96px; display: flex; flex-direction: column; @@ -316,9 +316,27 @@ button.purple:hover, overflow: hidden; } +.box.emote:has(p) h1 { + margin-top: 4px; + line-height: 0; +} + +.box.emote h1 { + font-size: 16px; + font-weight: 600; +} + .box.emote p { text-overflow: ellipsis; white-space: nowrap; + font-size: 10px; +} + +.box.emote img { + max-width: 64px; + max-height: 64px; + margin-top: auto; + margin-bottom: auto; } a.box { -- cgit v1.2.3