web badge even smaller

This commit is contained in:
2026-08-05 16:59:37 +02:00
parent a08482dfd0
commit 082a7c5b38
2 changed files with 17 additions and 22 deletions
+7 -10
View File
@@ -89,16 +89,13 @@
display: inline-block; display: inline-block;
padding: 0.1rem 0.4rem; padding: 0.1rem 0.4rem;
border-radius: 3px; border-radius: 3px;
font-size: 0.65rem; font-size: 0.6rem;
font-weight: 500; font-weight: 400;
text-transform: uppercase; text-transform: none;
letter-spacing: 0.5px; letter-spacing: 0;
white-space: nowrap; white-space: nowrap;
} color: #888;
background: #f0f0f0;
.badge-account {
background: #d1ecf1;
color: #0c5460;
margin-top: 0.35rem; margin-top: 0.35rem;
} }
@@ -213,7 +210,7 @@
</div> </div>
{% endif %} {% endif %}
{% if show_all and contact.account %} {% if show_all and contact.account %}
<span class="badge badge-account">{{ contact.account }}</span> <span class="badge">Account: {{ contact.account }}</span>
{% endif %} {% endif %}
</div> </div>
{% if contact.photo_url %} {% if contact.photo_url %}
+10 -12
View File
@@ -143,16 +143,13 @@
display: inline-block; display: inline-block;
padding: 0.1rem 0.4rem; padding: 0.1rem 0.4rem;
border-radius: 3px; border-radius: 3px;
font-size: 0.65rem; font-size: 0.6rem;
font-weight: 500; font-weight: 400;
text-transform: uppercase; text-transform: none;
letter-spacing: 0.5px; letter-spacing: 0;
white-space: nowrap; white-space: nowrap;
} color: #888;
background: #f0f0f0;
.badge-account {
background: #d1ecf1;
color: #0c5460;
} }
.contact-photo { .contact-photo {
@@ -201,9 +198,10 @@
<div class="contact-organization">{{ c.organization }}</div> <div class="contact-organization">{{ c.organization }}</div>
{% endif %} {% endif %}
{% if c.birthday %} {% if c.birthday %}
<div class="contact-birthday">{% if show_all and c.account %}<span class="badge badge-account">{{ c.account }}</span> {% endif %}{{ c.birthday }}</div> <div class="contact-birthday">{{ c.birthday }}</div>
{% elif show_all and c.account %} {% endif %}
<div class="contact-birthday"><span class="badge badge-account">{{ c.account }}</span></div> {% if show_all and c.account %}
<div class="contact-birthday"><span class="badge">Account: {{ c.account }}</span></div>
{% endif %} {% endif %}
</div> </div>
{% if c.photo_url %} {% if c.photo_url %}