aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/shim.css7
-rw-r--r--lib/xesite_templates/src/lib.rs2
2 files changed, 8 insertions, 1 deletions
diff --git a/css/shim.css b/css/shim.css
index 589dd59..2e1df90 100644
--- a/css/shim.css
+++ b/css/shim.css
@@ -83,6 +83,13 @@ figcaption {
padding: 2ch;
}
+.verified {
+ max-width: 16px;
+ max-height: 16px;
+ min-width: 16px;
+ min-height: 16px;
+}
+
@media (prefers-color-scheme: light) {
.warning {
background-color: #fbf1c7;
diff --git a/lib/xesite_templates/src/lib.rs b/lib/xesite_templates/src/lib.rs
index 5e6fee2..8171a3b 100644
--- a/lib/xesite_templates/src/lib.rs
+++ b/lib/xesite_templates/src/lib.rs
@@ -203,7 +203,7 @@ pub fn toot_embed(u: User, t: Toot) -> Markup {
.media-heading {
(u.name)
@if u.id == "https://pony.social/users/cadey" {
- img src="https://cdn.xeiaso.net/file/christine-static/blog/verified.png" style="height=1.5ch;width=1.5ch";
+ img.verified src="https://cdn.xeiaso.net/file/christine-static/blog/verified.png";
}
" "
a href=(u.url) {"@" (u.preferred_username)}