Members choose per kind: replies to them (daily digest, instant or off), new posts in followed threads (daily or off), private messages and requests (instant or off). The forum service queues the instant e-mails (none while online, at most one per thread an hour); the worker's new forum task makes the evening digest of what is unread. Every forum e-mail greets by the nickname and has a one-click unsubscribe (RFC 8058). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
506 lines
30 KiB
CSS
506 lines
30 KiB
CSS
/* The forum: phones first (most members write from a phone), big touch
|
|
targets and text for the 50+ readers. Light by default, dark on request
|
|
(data-theme on .forum, from a cookie): both redefine the site's colour
|
|
tokens for the forum's part of the page, so the shared .btn, .inp, .hint
|
|
and links follow. */
|
|
|
|
/* --- themes --- */
|
|
.forum {
|
|
--f-hover: rgba(255, 255, 255, 0.04);
|
|
--f-tint: rgba(217, 180, 106, 0.1);
|
|
--f-tint-strong: rgba(217, 180, 106, 0.14);
|
|
--f-nav-bg: rgba(13, 18, 32, 0.97);
|
|
--f-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
|
|
--f-border-hover: #5a6790;
|
|
--f-online: #9fd8b0;
|
|
--f-blue-tint: rgba(127, 176, 224, 0.12);
|
|
--f-orange-tint: rgba(240, 163, 94, 0.12);
|
|
--f-red-tint: rgba(242, 160, 160, 0.08);
|
|
--f-green-tint: rgba(159, 216, 176, 0.12);
|
|
color: var(--ink);
|
|
}
|
|
.forum[data-theme="light"] {
|
|
--bg: #f6f3ed;
|
|
--panel: #ffffff;
|
|
--panel-2: #faf8f4;
|
|
--line: #e6dfd2;
|
|
--line-2: #d3c9b6;
|
|
--ink: #1b2236;
|
|
--ink-2: #3a4259;
|
|
--muted: #5c6376;
|
|
--gold: #8a6a24;
|
|
--gold-hover: #6e5419;
|
|
--gold-ink: #ffffff;
|
|
--danger: #b03a3a;
|
|
--ok: #2d7a4c;
|
|
--harmonic: #2c66a0;
|
|
--square: #9c520e;
|
|
--f-hover: rgba(27, 34, 54, 0.04);
|
|
--f-tint: rgba(167, 128, 47, 0.09);
|
|
--f-tint-strong: rgba(167, 128, 47, 0.14);
|
|
--f-nav-bg: rgba(255, 255, 255, 0.97);
|
|
--f-shadow: 0 12px 32px rgba(27, 34, 54, 0.14);
|
|
--f-border-hover: #a99d86;
|
|
--f-online: #2fa865;
|
|
--f-blue-tint: rgba(44, 102, 160, 0.09);
|
|
--f-orange-tint: rgba(156, 82, 14, 0.09);
|
|
--f-red-tint: rgba(176, 58, 58, 0.07);
|
|
--f-green-tint: rgba(45, 122, 76, 0.1);
|
|
color-scheme: light;
|
|
}
|
|
/* The light forum takes the whole page between the (dark) header and footer
|
|
(the body rule; the background here is for browsers without :has). */
|
|
.forum[data-theme="light"] { background: var(--bg); min-height: 70vh; }
|
|
body:has(.forum[data-theme="light"]) { background: #f6f3ed; }
|
|
body:has(.forum[data-theme="light"]) .night-sky { display: none; }
|
|
body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; }
|
|
.forum[data-theme="light"] .inp:focus { background-color: var(--panel); box-shadow: 0 0 0 3px rgba(167, 128, 47, 0.22); }
|
|
.forum[data-theme="light"] .inp::placeholder { color: #8b8f9c; }
|
|
.forum[data-theme="light"] .btn:hover { border-color: var(--f-border-hover); background: var(--f-hover); }
|
|
.forum[data-theme="light"] .moon-phase-icon .moon-dark { fill: #ebe5d8; stroke: #b99550; }
|
|
.forum[data-theme="light"] .moon-phase-icon .moon-lit { fill: #d9b46a; }
|
|
|
|
/* --- frame --- */
|
|
.forum-inner { max-width: 1180px; margin: 0 auto; padding: 8px 16px 104px; }
|
|
.forum-main { display: flex; flex-direction: column; }
|
|
.forum h1, .forum h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
|
|
.forum-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-bottom: 8px; }
|
|
.forum-mark { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
|
|
.forum-mark:hover { color: var(--gold); }
|
|
.forum-theme {
|
|
display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; justify-content: center;
|
|
border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--ink-2);
|
|
font: 500 14px var(--font-body); cursor: pointer;
|
|
}
|
|
.forum-theme:hover { color: var(--gold); border-color: var(--f-border-hover); }
|
|
.forum-theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.forum-theme-label { display: none; }
|
|
|
|
/* The forum's menu: a bar at the bottom on phones, tabs in the forum bar on wider screens. */
|
|
.forum-nav {
|
|
position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
|
|
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
background: var(--f-nav-bg); border-top: 1px solid var(--line);
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
|
|
}
|
|
.fn-item {
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
|
|
min-height: 62px; color: var(--ink-2); text-decoration: none; font-size: 12px;
|
|
}
|
|
.fn-item[aria-current="page"] { color: var(--gold); font-weight: 600; }
|
|
.fn-item:hover { color: var(--gold); }
|
|
.fn-icon-wrap { position: relative; display: inline-flex; }
|
|
.fn-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fn-badge {
|
|
position: absolute; top: -6px; right: -11px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
|
|
border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
|
|
}
|
|
@media (min-width: 760px) {
|
|
.forum-inner { padding: 20px 24px 64px; }
|
|
.forum-bar {
|
|
gap: 16px; margin-bottom: 24px; padding: 6px 6px 6px 18px;
|
|
background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
|
|
}
|
|
.forum-nav {
|
|
position: static; flex: 1; display: flex; gap: 4px; padding: 0;
|
|
background: none; border: 0; box-shadow: none;
|
|
}
|
|
.fn-item { flex-direction: row; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; }
|
|
.fn-item[aria-current="page"] { background: var(--f-tint); }
|
|
.fn-icon { width: 20px; height: 20px; }
|
|
.forum-theme { padding: 0 14px; }
|
|
.forum-theme-label { display: inline; }
|
|
}
|
|
|
|
/* --- avatars and the author line --- */
|
|
.av { position: relative; display: inline-flex; flex: none; }
|
|
.av svg { display: block; }
|
|
/* The night-coloured avatars keep the bright gold in both themes. */
|
|
.av-glyph { fill: none; stroke: #d9b46a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.av-glyph .av-fill { fill: #d9b46a; stroke: none; }
|
|
.av-online {
|
|
position: absolute; right: -1px; bottom: -1px; width: 28%; height: 28%; min-width: 9px; min-height: 9px;
|
|
border-radius: 50%; background: var(--f-online); border: 2px solid var(--panel); box-sizing: border-box;
|
|
}
|
|
.fa-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
|
|
.fa-avatar { display: inline-flex; }
|
|
.fa-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
.fa-names { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
|
|
.fa-name { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
|
|
.fa-name:hover { color: var(--gold); }
|
|
.fa-rank { font-size: 12px; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 0 6px; }
|
|
.fa-badge { font-size: 12px; border-radius: 6px; padding: 0 6px; }
|
|
.fa-badge-mod { color: var(--ok); background: var(--f-green-tint); }
|
|
.fa-badge-starter { color: var(--gold); border: 1px solid var(--line-2); }
|
|
.fa-badge-new { color: var(--gold-ink); background: var(--gold); font-weight: 600; }
|
|
.fa-sub { font-size: 13px; color: var(--muted); }
|
|
|
|
/* --- cards, banners, sections --- */
|
|
.fh { display: flex; flex-direction: column; gap: 22px; }
|
|
.fh-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
|
|
.forum[data-theme="light"] .fh-card { box-shadow: 0 1px 2px rgba(27, 34, 54, 0.04); }
|
|
.fh-flush { padding: 0; overflow: hidden; }
|
|
.fh-empty { color: var(--muted); }
|
|
.fh-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
|
|
.fh-intro { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
|
|
.fh-intro h1 { font-size: 36px; }
|
|
.fh-banner {
|
|
display: flex; align-items: center; gap: 12px; justify-content: space-between;
|
|
min-height: 52px; padding: 12px 14px; border-radius: 12px;
|
|
background: var(--f-tint); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none;
|
|
}
|
|
.fh-banner strong { color: var(--gold); font-weight: 600; }
|
|
.fh-banner:hover { color: var(--ink); background: var(--f-tint-strong); }
|
|
.fh-banner-warn { background: var(--f-red-tint); border-color: var(--danger); }
|
|
.fh-section { display: flex; flex-direction: column; gap: 12px; }
|
|
.fh-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
|
|
.fh-section-head h2 { font-size: 24px; }
|
|
.fh-sky-body { display: flex; gap: 16px; align-items: flex-start; }
|
|
.fh-moon .moon-phase-icon { width: 56px; height: 56px; }
|
|
.fh-sky-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
|
|
.fh-sky-text h2 { font-size: 24px; line-height: 1.15; }
|
|
.fh-sky-text p { color: var(--ink-2); font-size: 16px; }
|
|
.fh-sky-link, .fh-side-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 15px; }
|
|
.fh-waiting-grid { display: grid; gap: 12px; }
|
|
@media (min-width: 760px) { .fh-waiting-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
|
|
.fh-me { display: flex; flex-direction: column; gap: 14px; }
|
|
.fh-me-head { display: flex; align-items: center; gap: 12px; }
|
|
.fh-me-names { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
|
|
.fh-me-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
|
|
/* Front page: one column on phones in reading order (the two columns'
|
|
blocks interleave), main column and sidebar from 1024 px. */
|
|
.fh-home .fh-col { display: contents; }
|
|
.o-1 { order: 1; } .o-2 { order: 2; } .o-3 { order: 3; } .o-4 { order: 4; }
|
|
.o-5 { order: 5; } .o-6 { order: 6; } .o-7 { order: 7; } .o-8 { order: 8; }
|
|
@media (min-width: 1024px) {
|
|
.fh-home { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
|
|
.fh-home .fh-col { display: flex; flex-direction: column; gap: 22px; }
|
|
.fh-home .fh-col-side { position: sticky; top: 88px; }
|
|
}
|
|
|
|
/* --- topics --- */
|
|
.fh-topics { list-style: none; margin: 0; }
|
|
.fh-topics li + li { border-top: 1px solid var(--line); }
|
|
.fh-topic { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px; color: var(--ink); text-decoration: none; }
|
|
.fh-topic:hover { color: var(--ink); background: var(--f-hover); }
|
|
.fh-topic-icon {
|
|
flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--f-tint);
|
|
display: inline-flex; align-items: center; justify-content: center;
|
|
}
|
|
.topic-icon { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fh-topic-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
|
|
.fh-topic-name { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
|
|
.fh-lock { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
|
|
.fh-topic-desc { font-size: 14px; color: var(--muted); }
|
|
.fh-topic-last { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
|
|
.fh-topic-count { display: none; flex: none; font-size: 14px; color: var(--muted); text-align: right; min-width: 64px; }
|
|
.fh-topic-count strong { color: var(--ink); font-weight: 600; }
|
|
@media (min-width: 640px) { .fh-topic-count { display: block; } }
|
|
|
|
/* --- thread lists: a meta line on phones, columns on wider screens --- */
|
|
.ft-list { list-style: none; margin: 0; padding: 0; }
|
|
.ft-list li + li { border-top: 1px solid var(--line); }
|
|
.ft-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; color: var(--ink); text-decoration: none; }
|
|
.ft-row:hover { color: var(--ink); background: var(--f-hover); }
|
|
.ft-main { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
|
|
.ft-title { font-size: 17px; font-weight: 600; line-height: 1.35; }
|
|
.ft-row:hover .ft-title { color: var(--gold); }
|
|
.ft-excerpt { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
.ft-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
|
|
.ft-col { display: none; }
|
|
.ft-new {
|
|
flex: none; font-size: 13px; font-weight: 600; color: var(--gold-ink); background: var(--gold);
|
|
border-radius: 999px; padding: 2px 9px; white-space: nowrap;
|
|
}
|
|
.ft-read { flex: none; font-size: 13px; color: var(--muted); }
|
|
@media (min-width: 760px) {
|
|
.ft-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px 72px; gap: 16px; padding: 14px 20px; }
|
|
.ft-m-narrow { display: none; }
|
|
.ft-col { display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; color: var(--muted); }
|
|
.ft-col strong { color: var(--ink); font-weight: 600; font-size: 16px; }
|
|
.ft-col-replies { flex-direction: row; gap: 4px; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; }
|
|
.ft-col-replies .hint { flex-basis: 100%; text-align: right; }
|
|
.ft-new, .ft-read { justify-self: end; }
|
|
}
|
|
.ft-pin {
|
|
display: inline-block; margin-right: 8px; vertical-align: 2px; font-size: 12px; font-weight: 500;
|
|
color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 0 6px;
|
|
}
|
|
.ft-intent { align-self: flex-start; font-size: 13px; font-weight: 500; border-radius: 999px; padding: 3px 10px; }
|
|
.ft-intent-listen { color: var(--harmonic); background: var(--f-blue-tint); }
|
|
.ft-intent-advice { color: var(--square); background: var(--f-orange-tint); }
|
|
.ft-waiting {
|
|
display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px;
|
|
background: var(--panel); border: 1px solid var(--line);
|
|
}
|
|
.ft-waiting-title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); text-decoration: none; }
|
|
.ft-waiting-title:hover { color: var(--gold); }
|
|
.ft-answer { align-self: flex-start; min-height: 44px; border-color: var(--gold); color: var(--gold); margin-top: auto; }
|
|
|
|
/* --- topic page and the other headings --- */
|
|
.forum-crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
|
|
.forum-crumbs a { color: var(--ink-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
|
|
.forum-crumbs a:hover { color: var(--gold); }
|
|
.ftopic-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
|
|
.ftopic-head h1, .fpage-title { font-size: 34px; line-height: 1.1; }
|
|
.ftopic-head > div { display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
|
|
.forum-pager { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
|
|
|
|
/* --- thread view --- */
|
|
.ftv { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 980px; margin: 0 auto; }
|
|
.ftv-toolbar { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
|
|
.ftv-toolbar:empty { display: none; }
|
|
.ftv-mod { position: relative; }
|
|
.ftv-mod summary { list-style: none; cursor: pointer; }
|
|
.ftv-mod summary::-webkit-details-marker { display: none; }
|
|
.ftv-mod-menu {
|
|
position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 200px; padding: 6px;
|
|
display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px;
|
|
box-shadow: var(--f-shadow);
|
|
}
|
|
.ftv-mod-menu button {
|
|
min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink);
|
|
font: inherit; font-size: 15px; text-align: left; cursor: pointer;
|
|
}
|
|
.ftv-mod-menu button:hover { background: var(--f-hover); color: var(--gold); }
|
|
.ftv-mod-menu button.danger { color: var(--danger); }
|
|
.ftv-intent {
|
|
display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px;
|
|
background: var(--f-blue-tint); font-size: 14px; line-height: 1.45; color: var(--ink-2);
|
|
}
|
|
.ftv-intent strong { color: var(--harmonic); font-weight: 600; }
|
|
.ftv-intent-advice { background: var(--f-orange-tint); }
|
|
.ftv-intent-advice strong { color: var(--square); }
|
|
.ftv-title { font-size: 30px; line-height: 1.12; }
|
|
.ftv-count { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
|
|
.ftv .ftv-count h2 { font-family: var(--font-body); font-size: 15px; color: var(--ink-2); }
|
|
.ftv-branch { display: flex; flex-direction: column; }
|
|
.ftv-children { margin-left: 17px; padding-left: 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; }
|
|
.ftv-marker { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; color: var(--gold); font-size: 13px; font-weight: 600; }
|
|
.ftv-marker::before, .ftv-marker::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.5; }
|
|
.ftv-incoming {
|
|
position: sticky; bottom: 84px; align-self: center; z-index: 5;
|
|
display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
|
|
background: var(--gold); color: var(--gold-ink); font: 600 15px var(--font-body); cursor: pointer;
|
|
box-shadow: var(--f-shadow);
|
|
}
|
|
.ftv-compose { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
|
|
.ftv-hint { font-size: 14px; color: var(--harmonic); }
|
|
.ftv-replyto { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
|
|
.ftv-gate { padding: 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
|
|
|
|
/* --- posts: author on top on phones, the old forums' author column on wide screens --- */
|
|
.fp { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
|
|
.fp-content { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
.fp-author, .fp-when { display: none; }
|
|
.ftv-children .fp:last-child { border-bottom: 0; }
|
|
.fp-opening { padding-top: 6px; padding-bottom: 20px; }
|
|
.fp-body { font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; color: var(--ink); }
|
|
.fp-body p + p { margin-top: 10px; }
|
|
.fp-removed {
|
|
gap: 4px; margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--line-2);
|
|
border-radius: 12px; color: var(--ink-2); font-size: 15px;
|
|
}
|
|
.fp-mod-note { font-size: 13px; color: var(--danger); }
|
|
.fp-collapsed {
|
|
align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted);
|
|
font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer;
|
|
}
|
|
.fp-helped { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ok); }
|
|
.fp-helped svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fp-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.fp-spacer { flex: 1; }
|
|
.fp-link {
|
|
min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--gold);
|
|
font: 500 15px var(--font-body); cursor: pointer;
|
|
}
|
|
.fp-link:hover { color: var(--gold-hover); }
|
|
.fp-tools { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
|
|
.fp-tools:empty { display: none; }
|
|
.fp-tool {
|
|
min-height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--muted);
|
|
font: 400 14px var(--font-body); cursor: pointer;
|
|
}
|
|
.fp-tool:hover { color: var(--ink); background: var(--f-hover); }
|
|
.fp-tool[aria-pressed="true"] { color: var(--ok); }
|
|
.fp-tool-mod { color: var(--danger); }
|
|
@media (min-width: 900px) {
|
|
.forum-inner .ftv { gap: 14px; }
|
|
.fp { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 24px; padding: 20px 0; }
|
|
.fp.fp-removed { display: flex; flex-direction: column; }
|
|
.fp-head { display: none; }
|
|
.fp-author { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
|
|
.fp-author-name { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; margin-top: 2px; }
|
|
.fp-author-name:hover { color: var(--gold); }
|
|
.fp-author-signs { display: flex; flex-direction: column; gap: 1px; font-size: 13px; color: var(--muted); margin-top: 2px; }
|
|
.fp-when { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
|
|
.ftv-children { margin-left: 40px; padding-left: 20px; }
|
|
.ftv-children .fp { grid-template-columns: 120px minmax(0, 1fr); }
|
|
.fr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
|
|
.ftv-incoming { bottom: 20px; }
|
|
}
|
|
|
|
/* --- reactions --- */
|
|
.fr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.fr-big {
|
|
display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 12px;
|
|
border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 500 15px var(--font-body); cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.fr-big:hover:not(:disabled) { border-color: var(--f-border-hover); }
|
|
.fr-big[aria-pressed="true"] { border-color: var(--gold); background: var(--f-tint-strong); }
|
|
.fr-big:disabled { cursor: default; }
|
|
.fr-big-label { flex: 1; min-width: 0; }
|
|
.fr-count { color: var(--muted); }
|
|
.fr-big[aria-pressed="true"] .fr-count { color: var(--gold); font-weight: 600; }
|
|
.fr-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.fr-chip {
|
|
min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
|
|
background: none; color: var(--ink); font: 500 14px var(--font-body); cursor: pointer;
|
|
}
|
|
.fr-chip:disabled { cursor: default; }
|
|
.fr-chip:hover:not(:disabled) { border-color: var(--f-border-hover); }
|
|
.fr-chip[aria-pressed="true"] { border-color: var(--gold); background: var(--f-tint-strong); }
|
|
.fr-add { border-style: dashed; color: var(--muted); font-size: 18px; }
|
|
.fr-down { color: var(--muted); font-size: 18px; }
|
|
.fr-down[aria-pressed="true"] { background: var(--f-hover); color: var(--ink); }
|
|
.fr-more { position: relative; }
|
|
.fr-pop {
|
|
position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 10; min-width: 210px; padding: 6px;
|
|
display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px;
|
|
box-shadow: var(--f-shadow);
|
|
}
|
|
.fr-pop-item {
|
|
display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px;
|
|
background: none; color: var(--ink); font: 400 15px var(--font-body); text-align: left; cursor: pointer;
|
|
}
|
|
.fr-pop-item:hover { background: var(--f-hover); }
|
|
|
|
/* --- composer --- */
|
|
.fc { display: flex; flex-direction: column; gap: 8px; }
|
|
.fc-text {
|
|
width: 100%; min-height: 96px; box-sizing: border-box; padding: 12px 14px; border-radius: 12px;
|
|
border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 400 16px/1.45 var(--font-body);
|
|
resize: vertical; caret-color: var(--gold);
|
|
}
|
|
.fc-text::placeholder { color: var(--muted); }
|
|
.fc-text:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--f-tint-strong); background: var(--panel); }
|
|
.fc-actions { display: flex; align-items: center; gap: 8px; }
|
|
.fc-spacer { flex: 1; }
|
|
.fc-icon-btn {
|
|
width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center;
|
|
border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer;
|
|
}
|
|
.fc-icon-btn:hover, .fc-icon-btn[aria-expanded="true"] { color: var(--gold); background: var(--f-tint); }
|
|
.fc-icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
|
|
.fc-tray {
|
|
display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 2px; padding: 8px;
|
|
border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2);
|
|
}
|
|
.fc-emoji {
|
|
width: 100%; height: 42px; border: 0; border-radius: 8px; background: none; color: var(--ink);
|
|
font-size: 22px; cursor: pointer; font-family: var(--font-symbols), sans-serif;
|
|
}
|
|
.fc-emoji:hover { background: var(--f-hover); }
|
|
|
|
/* --- new thread and profile forms --- */
|
|
.fnew, .fprof { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 760px; }
|
|
.fnew-set { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
|
.fnew-set legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
|
|
.fnew-topics, .fnew-intents { display: grid; gap: 8px; }
|
|
@media (min-width: 640px) { .fnew-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
.fnew-topic, .fnew-intent, .fprof-check {
|
|
display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2);
|
|
border-radius: 12px; cursor: pointer; background: var(--panel);
|
|
}
|
|
.fnew-topic:has(input:checked), .fnew-intent:has(input:checked) { border-color: var(--gold); background: var(--f-tint); }
|
|
.fnew-topic > span, .fnew-intent > span, .fprof-check > span { display: flex; flex-direction: column; gap: 2px; }
|
|
.fnew-topic input, .fnew-intent input, .fprof-check input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
|
|
.fprof-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
|
|
.fprof-avatar {
|
|
display: inline-flex; align-items: center; justify-content: center; padding: 3px; border-radius: 50%;
|
|
border: 2px solid transparent; cursor: pointer; justify-self: center;
|
|
}
|
|
.fprof-avatar:has(input:checked) { border-color: var(--gold); }
|
|
.fprof-avatar:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
|
|
.fprof-rank { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
|
|
|
|
/* --- member page (two columns on wide screens) and moderation --- */
|
|
.fmember { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
|
|
.fmember-head { display: flex; align-items: center; gap: 16px; }
|
|
.fmember-names { display: flex; flex-direction: column; gap: 4px; }
|
|
.fmember-names h1 { font-size: 30px; line-height: 1.1; }
|
|
.fmember-badges { display: flex; gap: 6px; flex-wrap: wrap; }
|
|
.fmember-signs { color: var(--ink-2); }
|
|
@media (min-width: 900px) {
|
|
.fh-member { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
|
|
.fh-member .fmember { position: sticky; top: 88px; }
|
|
}
|
|
.fban { align-self: stretch; }
|
|
.fban summary { list-style: none; cursor: pointer; display: inline-flex; }
|
|
.fban summary::-webkit-details-marker { display: none; }
|
|
.fban-body { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; }
|
|
.fmodlog { list-style: none; margin: 0; }
|
|
.fmodlog li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; }
|
|
.fmodlog li + li { border-top: 1px solid var(--line); }
|
|
|
|
/* --- reports --- */
|
|
.frep { flex-basis: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); }
|
|
.frep-kind { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; cursor: pointer; }
|
|
.frep-kind input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
|
|
.frep-crisis { padding: 10px 12px; border-radius: 10px; background: var(--f-blue-tint); color: var(--ink); font-size: 15px; line-height: 1.45; }
|
|
.frep-crisis strong { color: var(--harmonic); }
|
|
.forum-modchip {
|
|
display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
|
|
background: var(--f-red-tint); border: 1px solid var(--danger); color: var(--danger); font-size: 14px; font-weight: 600;
|
|
text-decoration: none; white-space: nowrap;
|
|
}
|
|
.forum-modchip:hover { color: var(--danger); background: var(--f-tint); }
|
|
@media (max-width: 759px) { .forum-bar { flex-wrap: wrap; } .forum-modchip { order: 3; } }
|
|
|
|
/* --- moderation page --- */
|
|
.fmod-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); align-self: flex-start; }
|
|
.fmod-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
|
|
.fmod-tabs a[aria-current="page"] { background: var(--f-tint-strong); color: var(--gold); }
|
|
.fmod-report { display: flex; flex-direction: column; gap: 10px; }
|
|
.fmod-crisis { border-color: var(--harmonic); box-shadow: 0 0 0 1px var(--harmonic); }
|
|
.fmod-report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
|
|
.fmod-note { color: var(--ink-2); font-style: italic; }
|
|
.fmod-target { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
|
|
.fmod-target .fp-body { font-size: 15px; }
|
|
.fmod-chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
|
|
.fmod-chat-reported { padding: 4px 8px; border-radius: 6px; background: var(--f-red-tint); }
|
|
|
|
/* --- private messages --- */
|
|
.fmsg-h { font-family: var(--font-body) !important; font-size: 16px; font-weight: 600; color: var(--ink-2); }
|
|
.fmsg-request { display: flex; flex-direction: column; gap: 12px; }
|
|
.fmsg-intro { font-style: italic; color: var(--ink-2); }
|
|
.fmsg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.ft-row.fmsg-row { display: flex; }
|
|
.fmsg-when { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; color: var(--muted); flex: none; }
|
|
.freq { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
|
|
.freq label { font-size: 14px; font-weight: 500; }
|
|
.fchat { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 820px; margin: 0 auto; }
|
|
.fchat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
|
|
.fchat-who { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 1; min-width: 0; }
|
|
.fchat-intro { font-size: 15px; color: var(--ink-2); font-style: italic; }
|
|
.fchat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
|
|
.fchat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 86%; }
|
|
.fchat-mine { align-self: flex-end; align-items: flex-end; }
|
|
.fchat-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--panel); border: 1px solid var(--line); }
|
|
.fchat-mine .fchat-bubble { border-radius: 16px 16px 4px 16px; background: var(--f-tint-strong); border-color: transparent; }
|
|
.fchat-bubble .fp-body { font-size: 16px; line-height: 1.5; }
|
|
.fchat-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
|
|
.fchat-report { min-height: 32px; padding: 0 6px; border: 0; background: none; color: var(--muted); font: 400 12px var(--font-body); cursor: pointer; }
|
|
.fchat-report:hover { color: var(--danger); }
|
|
.fchat-msg .frep { width: min(420px, 86vw); }
|
|
.fchat-compose { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
|
|
@media (min-width: 760px) { .forum-nav .fn-item { padding: 0 12px; } }
|
|
|
|
/* --- e-mail settings --- */
|
|
.fprof-mail { display: grid; gap: 6px; }
|
|
.fprof-mail label { font-size: 14px; font-weight: 500; margin-top: 8px; }
|
|
.fprof-mail label:first-child { margin-top: 0; }
|