Something went wrong. Try again.
Send a link from your phone's share sheet and have it open automatically on another device.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374/* * linkport web client. * * Every color, radius and font family here comes from a var() defined in * @linkport/design/theme.css, which is generated from the DTCG token documents. * Don't write a literal color in this file — put it in the tokens. * * The layout is deliberately web-native rather than a reproduction of the iOS * app: one centered column, comfortable on a desktop, collapsing cleanly to a * phone. Same brand, different medium. */
/* Body UI font, matching the extension. */@font-face { font-family: "Inter"; src: url("/vendor/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap;}@font-face { font-family: "Newsreader"; src: url("/vendor/newsreader.woff2") format("woff2"); font-weight: 200 700; font-display: swap;}
:root { --column: 46rem; --gap: 1rem;}
* { box-sizing: border-box;}
body { margin: 0; padding: 0 1rem 4rem; background: var(--bg); color: var(--fg); font: 16px/1.5 "Inter", system-ui, sans-serif; /* -webkit- prefix included: Safari still needs it. */ -webkit-text-size-adjust: 100%;}
button { font: inherit; cursor: pointer;}
/* --- masthead ----------------------------------------------------------- */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); max-width: var(--column); margin: 0 auto; padding: 1.5rem 0 1rem;}
.wordmark { font-family: var(--font-brand); font-size: 1.75rem; font-weight: 700; letter-spacing: 0.01em; flex: none;}
/* The identity button carries whatever the user typed — which may be a long handle, or a full `did:plc:…`. Let it ellipsize rather than push the page wider than the viewport. */.masthead .ghost { min-width: 0; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
/* --- shared controls ---------------------------------------------------- */
.primary { border: none; border-radius: var(--radius-pill); background: var(--ink); color: var(--cream); font-weight: 600; padding: 0.7rem 1.5rem;}.primary:disabled { opacity: 0.4; cursor: default;}
.ghost { border: 1px solid var(--border); border-radius: var(--radius-pill); background: none; color: var(--accent); font-weight: 600; padding: 0.4rem 1rem;}.ghost:hover { background: var(--chip);}
.error { color: var(--error); font-size: 0.9rem;}
/* --- sign-in ------------------------------------------------------------ */
.signin { max-width: 26rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem;}
.signin-lede { margin: 0; font-family: var(--font-brand); font-size: 1.4rem; line-height: 1.3;}
.signin-note { margin: 0; color: var(--fg-dim); font-size: 0.85rem;}
.field { display: flex; flex-direction: column; gap: 0.35rem;}
.field-label { color: var(--fg-dim); font-size: 0.8rem; font-weight: 500;}
.field input { font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-control); padding: 0.6rem 0.75rem; width: 100%;}.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px;}
/* --- notices ------------------------------------------------------------ */
.notice { max-width: var(--column); margin: 3rem auto; text-align: center; color: var(--fg-dim);}.notice-sub { font-size: 0.9rem;}.notice-error p { color: var(--error);}
/* --- destination filter ------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: var(--column); margin: 0 auto 1.25rem;}
.pill { border: none; border-radius: var(--radius-pill); background: var(--chip); color: var(--fg-dim); font-size: 0.85rem; font-weight: 500; padding: 0.3rem 0.8rem;}.pill-active { background: var(--ink); color: var(--cream);}.pill-count { opacity: 0.65; font-variant-numeric: tabular-nums;}
/* --- rows --------------------------------------------------------------- */
.rows { list-style: none; margin: 0 auto; padding: 0; max-width: var(--column); display: flex; flex-direction: column; gap: 0.75rem;}
.row-link { display: block; position: relative; background: var(--card); border-radius: var(--radius-card); padding: 1rem; color: inherit; text-decoration: none;}.row-link:hover { /* The app dims on press; a pointer gets a lift instead, which is the gesture the medium actually has. */ box-shadow: 0 1px 3px rgb(0 0 0 / 0.09);}.row-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px;}
/* Destination tab, flush into the card's top-right corner — the arrow reads as the link being routed → there. Ink fill for a specific device; the quiet chip for the everyone-broadcast default. */.dest { position: absolute; top: 0; right: 0; border-radius: 0 var(--radius-card); background: var(--ink); color: var(--cream); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem;}.dest-broadcast { background: var(--chip); color: var(--fg-dim);}
.row-title { margin: 0 5.5rem 0.4rem 0; /* Titles are scraped from arbitrary pages; a long unbroken token must wrap rather than widen the card. Same for the description and URL below. */ overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 600; line-height: 1.35;}
.row-body { display: flex; gap: 0.75rem; align-items: flex-start;}
.row-meta { flex: 1; min-width: 0;}
.row-desc { margin: 0; overflow-wrap: anywhere; color: var(--fg-dim); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.thumb { width: 5.5rem; height: 5.5rem; flex: none; object-fit: cover; border-radius: var(--radius-control); /* A light og:image (white on white) still holds its shape against the card. */ border: 1px solid var(--border); background: var(--chip);}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.5rem 0 0; padding: 0;}
.tag { background: var(--chip); color: var(--fg-dim); border-radius: var(--radius-pill); font-size: 0.75rem; padding: 0.1rem 0.5rem;}
.row-foot { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; color: var(--fg-dim); font-size: 0.8rem; min-width: 0;}
.favicon { width: 1.25rem; height: 1.25rem; flex: none; display: grid; place-items: center; border-radius: 0.3rem; background: var(--chip); font-size: 0.7rem; font-weight: 600;}.favicon img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain;}
.row-url { /* Without min-width a flex item refuses to shrink below its content. */ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.row-ago { margin-left: auto; flex: none;}
/* --- narrow ------------------------------------------------------------- */
@media (max-width: 30rem) { .row-title { /* The destination tab needs less clearance once it's the only thing on the line. */ margin-right: 4.5rem; } .thumb { width: 4rem; height: 4rem; }}