- (wordmark(cx).await?)
- (service_trio(cx).await?)
+ (family_wordmark(cx).await?)
if person.has_photo {
diff --git a/style/main.scss b/style/main.scss
index 5ba4ea7..ea6e974 100644
--- a/style/main.scss
+++ b/style/main.scss
@@ -279,15 +279,45 @@ body:has(.auth-stage) {
padding: 4px 0 10px;
}
-// The app trio under the signed-in wordmark: lower-case marks in the
-// wordmark's mono, the home one inked, its siblings quiet links. The
-// middots are part of the mark, not decoration between cards.
-.service-trio {
+// The family behind the signed-in wordmark: the siblings' marks in the
+// wordmark's mono, middots between, in a flyout that hangs under the mark
+// and shows on hover or keyboard focus (the mark carries tabindex for it).
+// Absolutely placed so the chrome keeps the bare wordmark's height; it
+// stays in the DOM so the links are reachable by tab, which is what opens
+// it for a keyboard. No gap between mark and flyout, so the pointer can
+// travel down into it without it closing.
+.wordmark-family {
+ position: relative;
display: flex;
justify-content: center;
+
+ .wordmark { cursor: default; outline: none; }
+
+ &:hover .service-trio,
+ &:focus-within .service-trio {
+ opacity: 1;
+ transform: translate(-50%, 0);
+ pointer-events: auto;
+ }
+}
+
+.service-trio {
+ position: absolute;
+ top: 100%;
+ left: 50%;
+ z-index: 2;
+ display: flex;
align-items: baseline;
gap: 10px;
- padding: 0 0 2px;
+ padding: 6px 12px;
+ background: var(--surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ box-shadow: var(--shadow-2);
+ opacity: 0;
+ transform: translate(-50%, -4px);
+ pointer-events: none;
+ transition: opacity 120ms ease, transform 120ms ease;
}
.trio-mark {
@@ -299,11 +329,6 @@ body:has(.auth-stage) {
color: var(--muted);
&:hover { color: var(--ink); }
-
- &-on {
- color: var(--ink);
- box-shadow: inset 0 -2px 0 var(--accent);
- }
}
.trio-sep { color: var(--muted-soft); }