/* Spool — paper & thread. Warm paper ground, ink text, one rust accent. Plex Mono carries the chrome (meta, badges, buttons); Plex Sans carries reading. */ :root { --paper: #F3EADA; --paper-raised: #fffdf8; --ink: #211d18; --ink-soft: #6b6257; --line: #e3dacb; --thread: #b3431b; /* rust accent */ --thread-soft: #f3e2d8; --status-open: #2f7d3b; --status-in_progress: #a16207; --status-resolved: #4c5fd5; --status-closed: #8a8174; --mono: "IBM Plex Mono", ui-monospace, monospace; --sans: "IBM Plex Sans", system-ui, sans-serif; } * { box-sizing: border-box; } body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; } a { color: var(--thread); text-decoration: none; } a:hover { text-decoration: underline; } /* ---- shell ---- */ /* App-shell layout: the shell is locked to the viewport and the main area scrolls inside it — header and footer stay pinned. The threads page nests a second scroller so its composer can dock at the bottom, Discord-style. */ .shell { max-width: 980px; margin: 0 auto; padding: 0 20px; height: 100vh; height: 100dvh; /* mobile-safe viewport height */ display: flex; flex-direction: column; } .site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); } .wordmark { font-family: var(--mono); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: -0.5px; } .wordmark:hover { text-decoration: none; } .wordmark-glyph { color: var(--thread); margin-right: 6px; } .site-tabs { display: flex; gap: 4px; margin-left: 24px; margin-right: auto; } .site-tabs .tab:hover { text-decoration: none; } .site-nav { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; } .dev-auth { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); } .atproto-login { display: flex; align-items: center; gap: 6px; } .atproto-login input { font-family: var(--mono); font-size: 12.5px; width: 130px; padding: 6px 10px; } .search-form input { font-family: var(--mono); font-size: 12.5px; width: 150px; padding: 6px 10px; margin-right: 16px; } .nav-user { margin-left: 12px; display: inline-flex; align-items: center; gap: 7px; } .avatar { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); } .site-main { padding-top: 32px; flex: 1; /* Flex items refuse to shrink below their content size by default; without this, overflow never kicks in and nothing scrolls. */ min-height: 0; overflow-y: auto; /* Reserve the scrollbar gutter even when nothing overflows, so the scrollbar never appears on top of content or shifts the layout. */ scrollbar-gutter: stable; } .site-footer { flex-shrink: 0; padding: 12px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-soft); } /* ---- type & page furniture ---- */ h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.3px; margin: 0 0 4px; } .page-head { margin-bottom: 28px; } .page-sub { color: var(--ink-soft); margin: 4px 0; } .meta { font-family: var(--mono); font-size: 12.5px; margin: 2px 0 0; } .meta-dim { color: var(--ink-soft); } .state-line { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); } /* ---- rows (projects, issues) ---- */ .row-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-raised); } .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 16px; } .row + .row { border-top: 1px solid var(--line); } .row:hover { background: var(--thread-soft); } .row-title { color: var(--ink); font-weight: 600; } .row-title:hover { color: var(--thread); } .row-desc { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; } .row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; } .repo-sync-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; width: 100%; } .repo-sync-label input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; } /* ---- status badges ---- */ .status-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; } .status-open { color: var(--status-open); } .status-in_progress { color: var(--status-in_progress); } .status-resolved { color: var(--status-resolved); } .status-closed { color: var(--status-closed); } /* ---- buttons, tabs, forms ---- */ .btn { font-family: var(--mono); font-size: 13px; background: var(--ink); color: var(--paper); border: none; border-radius: 4px; padding: 7px 14px; cursor: pointer; white-space: nowrap; } .btn:hover { background: var(--thread); color: var(--paper); text-decoration: none; } .btn-quiet { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); } .btn-quiet:hover { background: transparent; color: var(--thread); border-color: var(--thread); } .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .row-list + .toolbar { margin-top: 16px; } .filter-tabs { display: flex; gap: 4px; } .tab { font-family: var(--mono); font-size: 12.5px; background: transparent; border: none; border-radius: 4px; padding: 5px 9px; color: var(--ink-soft); cursor: pointer; } .tab:hover { color: var(--ink); } .tab-active { background: var(--ink); color: var(--paper); } .tab-active:hover { color: var(--paper); } input:not([type="checkbox"]), textarea, .status-select { font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--paper-raised); border: 1px solid var(--line); border-radius: 4px; padding: 9px 11px; width: 100%; } input:focus, textarea:focus { outline: 2px solid var(--thread); outline-offset: -1px; } textarea { resize: vertical; } textarea:disabled, input:disabled, button:disabled { opacity: 0.55; cursor: not-allowed; } .status-select { font-family: var(--mono); font-size: 12.5px; width: auto; padding: 4px 8px; } .issue-form, .comment-form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; padding: 16px; border: 1px dashed var(--line); border-radius: 6px; } .field { display: flex; flex-direction: column; gap: 4px; width: 100%; } .field-label { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); } .settings-actions { display: flex; align-items: center; gap: 12px; } /* ---- spool layout (header + tabs above each spool's pages) ---- */ .spool-layout { height: 100%; display: flex; flex-direction: column; } .spool-head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); } .spool-name { font-size: 20px; margin: 0; } .spool-body { flex: 1; min-height: 0; } /* ---- threads ---- */ /* The anchored-page pattern (threads, issues list, issue detail): .pinned-page fills its parent exactly (100% of its content height), so the outer scroller never engages — only the inner .page-scroll scrolls. Everything outside .page-scroll (headers, toolbars, docks) stays anchored via flex-shrink: 0. */ .pinned-page { height: 100%; display: flex; flex-direction: column; } .page-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; padding-bottom: 16px; } .pinned-page .toolbar, .pinned-page .issue-form { flex-shrink: 0; } .threads-dock { flex-shrink: 0; border-top: 1px solid var(--line); padding: 12px 0 10px; } .threads-dock .composer { margin-top: 0; } .threads-dock .state-line { margin: 6px 0; } .threads { list-style: none; margin: 0; padding: 0; } .threads > .msg { padding: 14px 0; } .threads > .msg + .msg { border-top: 1px solid var(--line); } .msg-body { margin: 4px 0 0; white-space: pre-wrap; } .msg-replies { list-style: none; margin: 10px 0 0 4px; padding: 0 0 0 16px; border-left: 2px solid var(--line); } .msg-replies .msg { padding: 8px 0; } .msg-actions { display: flex; gap: 14px; margin: 8px 0 0; } .msg-act { font-family: var(--mono); font-size: 12px; background: none; border: none; padding: 0; color: var(--ink-soft); cursor: pointer; } .msg-act:hover { color: var(--thread); } .msg-cut { font-family: var(--mono); font-size: 12px; color: var(--thread); } .msg:target { background: var(--thread-soft); outline: 4px solid var(--thread-soft); } .composer { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; } .composer textarea { flex: 1; } /* ---- issue page ---- */ .h1-edit { margin-left: 12px; vertical-align: middle; } .title-edit { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; } .title-edit input { font-size: 18px; font-weight: 600; } .issue-meta-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; } .issue-body { white-space: pre-wrap; background: var(--paper-raised); border: 1px solid var(--line); border-left: 3px solid var(--thread); border-radius: 6px; padding: 16px 18px; margin-bottom: 32px; } .thread-head { font-family: var(--mono); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 8px; } .comment-list { list-style: none; margin: 0 0 24px; padding: 0; } .comment { padding: 14px 0; } .comment + .comment { border-top: 1px solid var(--line); } .comment-body { margin: 6px 0 0; white-space: pre-wrap; }