/* Guardian PWA (FEP-633c): its own calm, dark surface; the buoy orange is the accent. Standalone: this page never inherits the site theme. */ :root { --bg: #141a24; --card: #1e2632; --ink: #e8ecf2; --sub: #93a0b4; --line: #2c3646; --accent: #ff6b35; --ok: #4caf7d; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding-bottom: 48px; } .g-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; } .g-head-txt { flex: 1; } .g-head h1 { font-size: 1.15rem; margin: 0; } .g-head .g-sub { margin: 0; color: var(--sub); font-size: .78rem; } .g-buoy { font-size: 1.7rem; } .g-me { color: var(--sub); font-size: .85rem; } #site-picker { background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; } main { max-width: 640px; margin: 0 auto; padding: 8px 16px; } section { padding: 18px 0; border-bottom: 1px solid var(--line); } section:last-child { border-bottom: 0; } .g-sec-head { display: flex; align-items: center; gap: 8px; } .g-sec-head h2 { font-size: 1.02rem; margin: 0; } .g-badge { background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; text-align: center; border-radius: 10px; padding: 1px 7px; } .g-sec-sub { color: var(--sub); font-size: .84rem; margin: 4px 0 12px; } .g-empty { color: var(--sub); font-size: .9rem; margin: 6px 0 0; } .g-msg { font-size: .85rem; color: var(--ok); margin: 8px 0 0; } .g-msg.err { color: #ff7a7a; } .g-list { display: flex; flex-direction: column; gap: 8px; } .g-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; } .g-card.help { border-left: 3px solid var(--accent); } .g-card .row { display: flex; align-items: center; gap: 10px; } .g-card .row .grow { flex: 1; min-width: 0; } .g-card .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .g-card .when { color: var(--sub); font-size: .76rem; white-space: nowrap; } .g-card .body { margin-top: 8px; font-size: .92rem; overflow-wrap: anywhere; } .g-card .body img { max-width: 100%; border-radius: 8px; margin-top: 6px; } .g-link { display: inline-block; margin-top: 8px; color: var(--accent); font-size: .82rem; text-decoration: none; } .tag { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; } .tag.wait { background: #3a2f1a; color: #e8b04b; } .tag.ok { background: #17301f; color: var(--ok); } .tag.co { background: #2a1f3a; color: #c39bff; } #adopt-form { display: flex; gap: 8px; } #adopt-form input { flex: 1; min-width: 0; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; } button { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 600; cursor: pointer; } button:disabled { opacity: .5; cursor: default; } button.quiet { background: transparent; color: var(--sub); border: 1px solid var(--line); font-weight: 500; } button.quiet.is-on { color: var(--ok); border-color: var(--ok); } button.small { padding: 6px 12px; font-size: .82rem; } /* Wards' corner (v2 meekijken) */ .g-card.feed .g-when { color: var(--muted, #888); font-size: .8em; margin-left: auto; } .g-card.feed .feed-body { margin-top: 6px; line-height: 1.4; } .g-card.feed .feed-body img { max-width: 100%; border-radius: 8px; } /* ── The body of a post ──────────────────────────────────────────────────── The 🛟 card shows a real post, so it is rendered by the same partial de Krant and Berichten use (partials/note-body). These are that partial's classes, in the PWA's own colours: the dashboard is standalone and does not load the site's stylesheet. */ .g-note .tl-content { line-height: 1.5; overflow-wrap: anywhere; } .g-note .tl-content p { margin: .35rem 0; } .g-note .tl-content p:first-child { margin-top: 0; } .g-note .tl-content p:last-child { margin-bottom: 0; } .g-note .tl-content a { color: var(--accent); } .g-note img.emoji { height: 1.25em; width: auto; margin: 0 .05em; vertical-align: -.2em; display: inline-block; border-radius: 0; background: none; } /* Quote card and link preview: one card, two origins. */ .g-note .tl-quote { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2, rgba(128,128,128,.07)); } .g-note .tl-quote-head { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; min-width: 0; } .g-note .tl-quote-avatar { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; } .g-note .tl-quote-name { font-weight: 600; font-size: .82rem; white-space: nowrap; } .g-note .tl-quote-handle { color: var(--sub); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .g-note .tl-quote-body { color: var(--sub); font-size: .88rem; line-height: 1.45; max-height: 14em; overflow: hidden; } .g-note .tl-quote-media { display: block; margin: 6px 0 0; } /* The capture a 🛟 usually carries. */ .g-note .tl-media { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; } .g-note .tl-media-img { display: block; border-radius: 10px; overflow: hidden; } .g-note .tl-media-img img { width: 100%; height: auto; display: block; background: #fff; } .g-note .tl-media-video, .g-note .tl-media-audio { width: 100%; margin: 8px 0 0; border-radius: 10px; display: block; } .g-note .tl-media-video { max-height: 320px; background: #000; }