aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-11 17:52:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-11 17:52:51 -0800
commit4c9b0fca0a43ebc2f1435052daa89059cd6760bb (patch)
tree32f0230b93037bb5fd1e0795d18343a812dd9b18
parentf7d885529d704e0dce9708ae2e9c06baee33f7e8 (diff)
downloadadenosine-4c9b0fca0a43ebc2f1435052daa89059cd6760bb.tar.gz
adenosine-4c9b0fca0a43ebc2f1435052daa89059cd6760bb.zip
pds: inspect links in pink
-rw-r--r--adenosine-pds/templates/account.html2
-rw-r--r--adenosine-pds/templates/adenosine.css4
-rw-r--r--adenosine-pds/templates/macro.html2
3 files changed, 6 insertions, 2 deletions
diff --git a/adenosine-pds/templates/account.html b/adenosine-pds/templates/account.html
index bd015d5..7b1d426 100644
--- a/adenosine-pds/templates/account.html
+++ b/adenosine-pds/templates/account.html
@@ -10,7 +10,7 @@
{% endif %}
<span class="handle">@{{ profile.handle }}</span>
</h4>
-<a href="/at/{{ profile.did }}" class="ident">{{ profile.did }}</a>
+<a href="/at/{{ profile.did }}" class="pink">at://{{ profile.did }}</a>
{% if profile.description.is_some() %}
<p>{{ profile.description.as_ref().unwrap() }}
diff --git a/adenosine-pds/templates/adenosine.css b/adenosine-pds/templates/adenosine.css
index 136bce4..681cd86 100644
--- a/adenosine-pds/templates/adenosine.css
+++ b/adenosine-pds/templates/adenosine.css
@@ -694,3 +694,7 @@ p.counts {
overflow: auto;
font-weight: bold;
}
+.pink, a.pink, a:visited.pink, a:hover.pink {
+ color: var(--code);
+ text-decoration: none;
+}
diff --git a/adenosine-pds/templates/macro.html b/adenosine-pds/templates/macro.html
index 96fdfe3..1a8f5c5 100644
--- a/adenosine-pds/templates/macro.html
+++ b/adenosine-pds/templates/macro.html
@@ -29,7 +29,7 @@
<br>
<span class="counts">
[<a href="#">{{ item.likeCount }} like</a> / <a href="#">{{ item.repostCount }} repost</a> / <a href="#">{{ item.replyCount }} reply</a>]
- [<a href="{{ item.uri|aturi_to_path }}">inspect</a>]
+ <a href="{{ item.uri|aturi_to_path }}" class="pink">[inspect]</a>
</span>
{% if item.record.get("reply").is_some() %}