diff --git a/src/api/templates/contact.html b/src/api/templates/contact.html index b14dc23..28224e9 100644 --- a/src/api/templates/contact.html +++ b/src/api/templates/contact.html @@ -89,16 +89,13 @@ display: inline-block; padding: 0.1rem 0.4rem; border-radius: 3px; - font-size: 0.65rem; - font-weight: 500; - text-transform: uppercase; - letter-spacing: 0.5px; + font-size: 0.6rem; + font-weight: 400; + text-transform: none; + letter-spacing: 0; white-space: nowrap; - } - - .badge-account { - background: #d1ecf1; - color: #0c5460; + color: #888; + background: #f0f0f0; margin-top: 0.35rem; } @@ -213,7 +210,7 @@ {% endif %} {% if show_all and contact.account %} - {{ contact.account }} + Account: {{ contact.account }} {% endif %} {% if contact.photo_url %} diff --git a/src/api/templates/index.html b/src/api/templates/index.html index 264510f..e43dd84 100644 --- a/src/api/templates/index.html +++ b/src/api/templates/index.html @@ -143,16 +143,13 @@ display: inline-block; padding: 0.1rem 0.4rem; border-radius: 3px; - font-size: 0.65rem; - font-weight: 500; - text-transform: uppercase; - letter-spacing: 0.5px; + font-size: 0.6rem; + font-weight: 400; + text-transform: none; + letter-spacing: 0; white-space: nowrap; - } - - .badge-account { - background: #d1ecf1; - color: #0c5460; + color: #888; + background: #f0f0f0; } .contact-photo { @@ -201,9 +198,10 @@
{{ c.organization }}
{% endif %} {% if c.birthday %} -
{% if show_all and c.account %}{{ c.account }} {% endif %}{{ c.birthday }}
- {% elif show_all and c.account %} -
{{ c.account }}
+
{{ c.birthday }}
+ {% endif %} + {% if show_all and c.account %} +
Account: {{ c.account }}
{% endif %} {% if c.photo_url %}