Fix home page identifier style
Committed fc303a
--- a/canopy/static/screen.css
+++ b/canopy/static/screen.css
line-height: 1.15; }
.namedesc > p {
margin: 0; }
+.h-card a {
+ color: #2aa198;
+ text-decoration: none; }
a.p-name {
color: #586e75;
font-size: 2em;
- font-weight: 600;
- text-decoration: none; }
+ font-weight: 600; }
+.identifiers {
+ color: #586e75; }
p.p-note {
margin-top: .25em; }
#search {
--- a/canopy/templates/template.html
+++ b/canopy/templates/template.html
<a class=p-name href=/><strong>$owner["name"][0]</strong></a><br>
$if "note" in owner:
<span class=p-note>$owner["note"][0]</span><br>
-<small>
+<small class=identifiers>
$if onion := get_onion():
$ _stripped_onion = onion.lstrip("x")
$ _prefix_length = len(onion) - len(_stripped_onion)
$if email := get_first(owner, "email"):
• <a class=u-email href=mailto:$owner["email"][0]><code>$owner["email"][0]</code></a>
• <a href=/owner/actor><code>@$owner["nickname"][0]@$tx.host.name</code></a>
-</small>
$if key := get_key():
• <a class=p-key href=/owner/keyring><code>$:"–".join(key.split()[:2])</code></a>
+</small>
</div>
</div>
<div>