aboutsummaryrefslogtreecommitdiff
path: root/templates/userlistitem.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
committerr <r@freesoftwareextremist.com>2023-12-28 13:27:30 +0000
commit1d61f1aa27376e778b7a517fdd5739a8c1976d2e (patch)
treeb4dba8253afbb159a3782d900ad8d43bd6148b24 /templates/userlistitem.tmpl
parentf4881e72675e87a9eae716436c3ac18a788d596d (diff)
downloadbloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.tar.gz
bloat-1d61f1aa27376e778b7a517fdd5739a8c1976d2e.zip
Update the default theme
This uses better color contrast and component spacing to improve legibility. The updated HTML also has better compatibility with browsers with limited/no CSS support.
Diffstat (limited to 'templates/userlistitem.tmpl')
-rw-r--r--templates/userlistitem.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/userlistitem.tmpl b/templates/userlistitem.tmpl
index ed53b2e..dd50aa8 100644
--- a/templates/userlistitem.tmpl
+++ b/templates/userlistitem.tmpl
@@ -2,14 +2,14 @@
<div class="user-list-item">
<div class="user-list-profile-img">
<a class="img-link" href="/user/{{.ID}}">
- <img class="status-profile-img" src="{{.Avatar}}" title="@{{.Acct}}" alt="avatar" height="48" />
+ <img class="status-profile-img" src="{{.Avatar}}" title="@{{.Acct}}" alt="@{{.Acct}}" height="48">
</a>
</div>
<div class="user-list-name">
- <div class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</div>
- <a class="img-link" href="/user/{{.ID}}">
- <div class="status-uname">@{{.Acct}}</div>
- </a>
+ <bdi class="status-dname">{{EmojiFilter (HTML .DisplayName) .Emojis | Raw}}</bdi>
+ <br>
+ <a class="img-link" href="/user/{{.ID}}"><span class="status-uname">@{{.Acct}}</span></a>
</div>
+ <br class="hidden">
</div>
{{end}}