| … | … | @@ -643,9 +643,6 @@ main:focus{outline:none} |
| 643 | 643 | .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0} |
| 644 | 644 | /* Every interactive element gets a visible focus ring, not just the ones styled by hand. */ |
| 645 | 645 | a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent,#1a56db);outline-offset:2px;border-radius:.2rem} |
| 646 | | /* The faint grey was ~3.5:1 on white — below the 4.5:1 needed for small text. */ |
| 647 | | :root{--fg-faint:#6b7480} |
| 648 | | @media(prefers-color-scheme:dark){:root{--fg-faint:#9aa4b2}} |
| 649 | 646 | .quote{display:block;border:1px solid var(--line,#e5e5e5);border-radius:var(--r2,.625rem);padding:.5rem .6rem;margin-top:.5rem;text-decoration:none;color:inherit} |
| 650 | 647 | .quote:hover{background:var(--bg-soft,#fafafa)} |
| 651 | 648 | .qhead{display:flex;align-items:center;gap:.35rem;font-size:.85rem;color:var(--fg-dim,#666)} |
| … | … | @@ -732,7 +729,11 @@ a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible, |
| 732 | 729 | wins at equal specificity) and introduces the scale rather than restyling from scratch — the goal is a |
| 733 | 730 | consistent rhythm, not a different look for its own sake. Colours stay in the same family. */ |
| 734 | 731 | :root{ |
| 735 | | --fg:#111; --fg-dim:#5c6672; --fg-faint:#8b95a1; |
| 732 | /* --fg-faint is timestamps, handles, meta rows and card hosts — most of the secondary text in the |
| 733 | app. It must clear WCAG AA 4.5:1 on --bg for small text. #8b95a1 measured 3.04:1 and failed; it |
| 734 | had already been fixed once further up the sheet, and this block silently reverted it by being |
| 735 | defined later and winning. Measured on white: #6b7480 = 4.74:1. Do not lighten without checking. */ |
| 736 | --fg:#111; --fg-dim:#5c6672; --fg-faint:#6b7480; |
| 736 | 737 | --bg:#fff; --bg-soft:#f7f8fa; --line:#e6e8eb; --line-soft:#f0f1f3; |
| 737 | 738 | --accent:#1a56db; --like:#e0245e; --repost:#17bf63; |
| 738 | 739 | --s1:.25rem; --s2:.5rem; --s3:.75rem; --s4:1rem; --s5:1.5rem; --s6:2rem; |