aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 9b5f5d9..422e51a 100644
--- a/src/style.css
+++ b/src/style.css
@@ -292,6 +292,14 @@ textarea.send-dest::placeholder { font-family: var(--sans); }
font-family: var(--mono); font-size: 15px; color: var(--ink); background: var(--surface2); border: 1px dashed var(--line-strong);
border-radius: 11px; padding: 12px 14px; word-break: break-all; text-align: center;
}
+/* the profile's npub: solid frame, copy icon beside the key */
+.npub-box {
+ display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer;
+ text-align: left; font-size: 13px; line-height: 1.45; border-style: solid;
+}
+.npub-box .npub-text { flex: 1; min-width: 0; }
+.npub-box .npub-copy { flex: none; display: flex; color: var(--muted); }
+.npub-box:hover .npub-copy { color: var(--ink); }
/* quiet edit/copy affordances living inside the address box */
.addr-editable { position: relative; padding-right: 62px; }
.addr-actions {