:root { /* diego.codes palette: clean white with warm-neutral greys */ --ink: #383838; --muted: #666666; --rule: #e6e6e6; --page: #ffffff; --card: #ffffff; --radius: 10px; --accent: #008080; /* diego.codes teal — its link/accent colour */ /* diego.codes title face, for the header + year/month markers */ --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } * { box-sizing: border-box; } body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; } main { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 6rem; } /* Left-margin minimap navigator (hidden when there's no room for it) */ #rail { position: fixed; top: 72px; bottom: 24px; left: calc(50% - 464px); width: 80px; z-index: 4; } @media (max-width: 1060px) { #rail { display: none; } } .rail-track { position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--rule); cursor: pointer; } .rail-thumb { position: absolute; right: -3px; width: 7px; min-height: 12px; background: color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 4px; pointer-events: none; } /* Tick: a wide transparent hit area with a constant-length line via ::before */ .rail-tick { position: absolute; right: 0; width: 34px; height: 9px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(-50%); } .rail-tick::before { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 2px; border-radius: 1px; background: var(--muted); opacity: .45; } .rail-tick:hover::before { opacity: 1; height: 3px; background: var(--ink); } /* Short month, uppercase, muted like the years — centered in the gap between the year labels and the start of the ticks (translateX(50%) centers it on the x-position set by `right`, independent of its width). */ .rail-tip { position: absolute; right: 40px; top: 50%; transform: translate(50%, -50%); white-space: nowrap; font: 600 .56rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity .1s; } .rail-tick:hover .rail-tip { opacity: 1; } .rail-year { position: absolute; left: -8px; transform: translateY(-50%); border: 0; background: none; padding: 0; font: 600 .7rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .02em; color: var(--muted); cursor: pointer; } .rail-year:hover { color: var(--ink); } .rail-year.active { color: var(--ink); } a { color: inherit; } .muted { color: var(--muted); margin: .15rem 0 0; } /* Header */ #profile { margin-bottom: 2.5rem; } /* Avatar centred against the name + bio (this row only, not the description). */ #profile .profile-main { display: flex; gap: 1rem; align-items: center; } #profile .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; } #profile .profile-id { min-width: 0; } #profile h1 { margin: 0 0 .5rem; font-family: var(--mono); font-size: 1.5rem; } #profile h1 .handle { font-size: .9rem; font-weight: 400; color: var(--accent); } #profile p { margin: 0; white-space: pre-wrap; } /* Bio: a compact quote block. The page's purpose reads larger beneath it, indented to line up with the name/bio (past the avatar). */ #profile blockquote { margin: 0; padding-left: .9rem; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; white-space: pre-wrap; font-size: .85rem; } #profile .about { margin: 1.6rem 0 0 calc(72px + 1rem); color: var(--muted); font-size: 1.05rem; } #profile .about a { color: var(--accent); text-decoration: none; } #profile .about a:hover { text-decoration: underline; } /* Search/filter control — a round toggle pinned to the right end of the current-year separator line (over the thumbnail column); its `top` is set by JS to track that separator. The panel drops down as a floating card. */ main { position: relative; } /* containing block for the absolute toolbar */ /* right offset = main's horizontal padding, so the toggle lands on the content edge (the thumbnail column), not out in the page margin. */ #toolbar { position: absolute; right: 1.25rem; z-index: 6; visibility: hidden; } #toolbar-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--muted); cursor: pointer; transition: color .12s, border-color .12s; } #toolbar-toggle:hover { color: var(--ink); border-color: var(--muted); } #toolbar-toggle svg { width: 1rem; height: 1rem; } #toolbar.open #toolbar-toggle { color: var(--ink); border-color: var(--ink); } /* Dropdown panel: a floating card that fades/scales in from the top-right. */ #toolbar-panel { position: absolute; top: calc(100% + .5rem); right: 0; width: min(20rem, 78vw); padding: .85rem; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 10px 30px rgba(27, 26, 23, .12); transform-origin: top right; opacity: 0; visibility: hidden; transform: translateY(-.35rem) scale(.97); transition: opacity .15s ease, transform .15s ease, visibility .15s; } #toolbar.open #toolbar-panel { opacity: 1; visibility: visible; transform: none; } .toolbar-inner { display: flex; flex-wrap: wrap; gap: .55rem; } /* Search field and pills share a height so they read as one control. */ #search { width: 100%; height: 2.1rem; font: inherit; font-size: .85rem; color: var(--ink); padding: 0 .85rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--page); outline: none; } #search:focus { border-color: var(--muted); } #search::placeholder { color: var(--muted); } #filters { display: flex; flex-wrap: wrap; gap: .35rem; } /* Each pill is tinted by its service's verb colour (--pill); active fills. */ .filter-pill { display: inline-flex; align-items: center; height: 2.1rem; font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .01em; color: var(--pill, var(--muted)); background: var(--page); border: 1px solid color-mix(in srgb, var(--pill, var(--rule)) 45%, var(--rule)); border-radius: 999px; padding: 0 .75rem; cursor: pointer; transition: color .12s, border-color .12s, background .12s; } .filter-pill:hover { border-color: var(--pill, var(--muted)); } .filter-pill.active { color: var(--page); background: var(--pill, var(--ink)); border-color: var(--pill, var(--ink)); } #empty { color: var(--muted); text-align: center; padding: 2.5rem 0; } /* Loading skeleton — shimmering placeholders while records stream in */ .sk { background: linear-gradient(90deg, var(--rule) 25%, #f4f4f4 50%, var(--rule) 75%); background-size: 200% 100%; border-radius: 6px; animation: shimmer 1.3s ease-in-out infinite; } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } .skel-row { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; align-items: start; padding: .8rem 0; border-top: 1px solid var(--rule); } .skel-row:first-child { border-top: 0; } .skel-pill { justify-self: end; width: 4.5rem; height: 1.15rem; border-radius: 999px; } .skel-body { display: flex; flex-direction: column; gap: .5rem; padding-top: .1rem; } .skel-line { height: .75rem; } .skel-thumb { width: 54px; height: 54px; } @media (prefers-reduced-motion: reduce) { .sk { animation: none; } } /* Sticky context bar — reflects the job/degree spanning the scroll date. Collapses (not just fades) when no interval is active, so no dead strip sits over the profile at the very top. */ #contextbar { position: sticky; top: 0; z-index: 5; display: flex; flex-direction: column; gap: .25rem; max-height: 12rem; overflow: hidden; padding: .55rem 0; margin-bottom: .25rem; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .9rem; transition: max-height .18s ease, opacity .18s ease, padding .18s ease, border-color .18s ease; } #contextbar.empty { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; border-color: transparent; pointer-events: none; } #contextbar .ctx { display: flex; align-items: baseline; gap: .5rem; } #contextbar .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--verb-color); flex: 0 0 auto; transform: translateY(1px); } /* Grouped run: a
collapsing adjacent same-verb events */ .group { border: 0; } .group > summary { list-style: none; cursor: pointer; } .group > summary::-webkit-details-marker { display: none; } /* Deterministic collapse (UA
hiding is unreliable when the summary is a grid): hide the rows unless the group is open. */ .group:not([open]) > .group-items { display: none; } .group-summary .others { color: var(--verb-color); font-weight: 600; white-space: nowrap; } .group-summary .others::before { content: "▸ "; font-size: .85em; } .group[open] > .group-summary .others::before { content: "▾ "; } .group-summary:hover .others { text-decoration: underline; } /* When expanded, the summary acts as a header and the items follow directly; a dashed rule closes off the set at the bottom. */ .group[open] > .group-items { border-bottom: 1px dashed var(--rule); padding-bottom: .8rem; } .group-items > .event { padding-left: .5rem; } /* Month separators — subtle subheadings within a year */ .month-sep { font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 1.4rem 0 .5rem; padding-left: 7.5rem; } /* Year separators — prominent labeled horizontal rule */ .year-sep { display: flex; align-items: center; gap: .8rem; margin: 2.8rem 0 .3rem; color: var(--accent); font-family: var(--mono); font-size: 1.15rem; font-weight: 700; } .year-sep::after { content: ""; flex: 1; height: 2px; background: var(--rule); border-radius: 1px; } /* Stop the topmost year's rule short of the search toggle (button 2.1rem + ~.8rem gap), mirroring the gap between the year label and its rule. */ .year-sep:first-child { margin-top: 0; padding-right: 2.9rem; } /* Day separators — the same labelled-rule form as the year, but thin and muted; they carry the date, so individual entries no longer repeat it. */ .day-sep { display: flex; align-items: center; gap: .7rem; margin: 1.5rem 0 .5rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .02em; } .day-sep::after { content: ""; flex: 1; height: 1px; background: var(--rule); } /* Hover morph: the compact "25 Jun" crossfades into the full date, which overlays rightward with a page-coloured backing that masks the rule beneath it — so the line appears to recede as the date expands. */ .day-label { position: relative; display: inline-block; white-space: nowrap; } .dl-short { transition: opacity .18s ease; } .dl-full { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--ink); background: var(--page); padding-right: .5rem; opacity: 0; transition: opacity .18s ease; } .day-sep:hover .dl-short { opacity: 0; } .day-sep:hover .dl-full { opacity: 1; } /* One timeline event */ .event { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; align-items: start; padding: .55rem 0; } .when { text-align: right; } .verb { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--verb-color); border: 1px solid var(--verb-color); border-radius: 999px; padding: .05rem .45rem; white-space: nowrap; } .what h3 { margin: 0; font-size: 1rem; font-weight: 600; } .what h3 a { text-decoration: none; } .what h3 a:hover { text-decoration: underline; text-underline-offset: 2px; } .what h3 a::after { content: " ↗"; color: var(--muted); font-size: .8em; } .small { font-size: .8rem; } .note { margin: .3rem 0 0; white-space: pre-wrap; } /* preserve authored line breaks */ /* A self-thread: each post is a dot on a connector line, so the chain reads as distinct posts rather than one run-on block. Each dot links only to the next, so the line ends at the final dot instead of running past its text. */ .thread { display: flex; flex-direction: column; gap: .75rem; margin: .35rem 0 0; } .tpost { position: relative; display: grid; grid-template-columns: 1rem 1fr; align-items: start; } .tpost:not(:last-child)::before { content: ""; position: absolute; left: 3px; top: .4em; bottom: calc(-0.75rem - 0.4em); width: 2px; background: color-mix(in srgb, var(--verb-color) 30%, var(--rule)); border-radius: 1px; } .tbody { min-width: 0; } .tbody p { margin: 0; white-space: pre-wrap; } .tdot { position: relative; } .tdot::before { content: ""; position: absolute; left: 0; top: .4em; width: 8px; height: 8px; border-radius: 50%; background: var(--verb-color); box-shadow: 0 0 0 3px var(--page); /* mask the line */ } /* A thread post's own photos: one shows large, several as a uniform row. */ .tphotos { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; } .tphoto { border-radius: 8px; background: var(--rule); object-fit: cover; } .tphotos.solo .tphoto { max-width: 100%; max-height: 280px; } .tphotos.multi .tphoto { height: 140px; width: auto; max-width: 100%; } /* Series group: a collapsible entry whose episodes drop down inside its own content column (tucked under the title), threaded like a Bluesky self-thread. */ .series-toggle { display: block; width: 100%; text-align: left; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; } .series-toggle:hover .series-name { text-decoration: underline; text-underline-offset: 2px; } .series-toggle .others { color: var(--verb-color); font-weight: 600; white-space: nowrap; } .series-toggle .others::before { content: "▸ "; font-size: .85em; } .series-group.open .series-toggle .others::before { content: "▾ "; } .series-episodes { display: none; flex-direction: column; gap: .75rem; } .series-group.open .series-episodes { display: flex; margin-top: .6rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--rule); } .ep-title { margin: 0; font-size: .95rem; font-weight: 600; } .ep-title a { text-decoration: none; } .ep-title a:hover { text-decoration: underline; text-underline-offset: 2px; } .ep-title a::after { content: " ↗"; color: var(--muted); font-size: .8em; } .ep-stars { font-weight: 400; margin-left: .1rem; } .permalink { color: var(--verb-color); text-decoration: none; font-weight: 600; white-space: nowrap; } .permalink:hover { text-decoration: underline; } /* Fractional star rating: grey base + gold overlay clipped to --fill */ .stars { position: relative; display: inline-block; vertical-align: -1px; letter-spacing: 1px; } .stars::before { content: "★★★★★"; color: var(--rule); } .stars::after { content: "★★★★★"; color: #d4a017; position: absolute; left: 0; top: 0; width: var(--fill); overflow: hidden; white-space: nowrap; } .thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--rule); } /* Photo gallery: a featured (hero) image in the body, plus a clickable thumbnail column on the right — same column as Popfeed's posters. The grey background shows as a placeholder while the image streams in. */ .gallery-featured { display: block; margin-top: .5rem; max-width: 100%; max-height: 280px; border-radius: 8px; background: var(--rule); } .gallery-minis { display: flex; flex-direction: column; gap: .35rem; } .gallery-minis .mini { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--rule); cursor: pointer; opacity: .5; transition: opacity .1s; } .gallery-minis .mini:hover { opacity: .85; } .gallery-minis .mini.active { opacity: 1; box-shadow: 0 0 0 2px var(--verb-color); } @media (max-width: 560px) { /* Stack the verb pill above the body, with generous space between entries but a tight row-gap so each verb hugs its own content. */ .event { grid-template-columns: 1fr auto; gap: .4rem 1rem; padding: 1.1rem 0; } .group-items > .event { padding-top: .8rem; padding-bottom: .8rem; } #profile .about { margin-left: 0; } /* full width on narrow screens */ .when { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; text-align: left; } .month-sep { padding-left: 0; } }