Photos in posts and replies: a "Fotó" button in the new thread form and the reply boxes. The browser makes the picture small before uploading it (1600 pixels at most, WebP, JPEG where WebP cannot be made); the forum checks it is a still picture, strips its metadata and makes a square preview (forum-photos/ in the storage). Five a member a day, five a post; one taken off before sending is deleted and does not count. Under the post a row of square previews; a click opens a viewer paged with arrows, swipes and keys. Seen by whoever may read the thread (long public cache only for public topics). Unsent photos go after a day, those of removed posts after a year; removed with the account and listed in the data export. Terms and privacy notice updated. The forum's bottom menu keeps its five items in one row (the fifth wrapped to a second row). On iPhones, when the keyboard goes away without the usual tap (a photo picker opening over it), the page is put back in place instead of the menu floating mid-screen over an empty strip. The browser's own confirm() and prompt() windows (23 places: deleting, revoking, blocking, muting, moderators' reasons, admin actions) are replaced by a question window in the site's look, following the forum's light or dark theme, with named buttons and a text box for reasons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
861 lines
52 KiB
CSS
861 lines
52 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 {
|
|
/* Colour emoji wherever the system has them (no monochrome symbol fonts). */
|
|
--font-body: var(--font-inter), Inter, system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
|
|
font-family: var(--font-body);
|
|
--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);
|
|
--r-with_you: #e58aa6;
|
|
--r-thanks: #d9b46a;
|
|
--r-me_too: #7fb0e0;
|
|
--r-insight: #c3a6f0;
|
|
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);
|
|
--r-with_you: #b4466a;
|
|
--r-thanks: #8a6a24;
|
|
--r-me_too: #2c66a0;
|
|
--r-insight: #6b4fa0;
|
|
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; }
|
|
.forum-tools { display: flex; align-items: center; gap: 8px; }
|
|
.forum-search { padding: 0; width: 44px; }
|
|
|
|
/* 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;
|
|
/* One row, as many equal columns as items. */
|
|
display: grid; grid-auto-flow: column; grid-auto-columns: 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-search { padding: 0; }
|
|
.forum-theme-label { display: inline; }
|
|
}
|
|
|
|
/* --- avatars and the author line --- */
|
|
.av { position: relative; display: inline-flex; flex: none; --av-bg: #1c2540; --av-ink: #d9b46a; }
|
|
.av svg { display: block; }
|
|
.av-lila { --av-bg: #2a2342; }
|
|
.av-tenger { --av-bg: #1d3038; }
|
|
.av-borostyan { --av-bg: #33291c; }
|
|
.av-rozsa { --av-bg: #3a2230; }
|
|
.av-erdo { --av-bg: #1f3326; }
|
|
/* Light theme: a pale tint and a darker glyph (a night circle read as a black blot). */
|
|
.forum[data-theme="light"] .av-ejkek { --av-bg: #e4e8f3; --av-ink: #2f3d6b; }
|
|
.forum[data-theme="light"] .av-lila { --av-bg: #ece6f5; --av-ink: #5b4691; }
|
|
.forum[data-theme="light"] .av-tenger { --av-bg: #e0eff0; --av-ink: #2a6670; }
|
|
.forum[data-theme="light"] .av-borostyan { --av-bg: #f5ead7; --av-ink: #8a6a24; }
|
|
.forum[data-theme="light"] .av-rozsa { --av-bg: #f6e3ea; --av-ink: #9b3f5f; }
|
|
.forum[data-theme="light"] .av-erdo { --av-bg: #e2efe4; --av-ink: #3d6b47; }
|
|
.av-bg { fill: var(--av-bg); }
|
|
.av-glyph { fill: none; stroke: var(--av-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.av-glyph .av-fill { fill: var(--av-ink); 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-rank, .fa-badge { display: inline-flex; align-items: center; gap: 3px; line-height: 18px; white-space: nowrap; }
|
|
.fa-icon {
|
|
width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2;
|
|
stroke-linecap: round; stroke-linejoin: round;
|
|
}
|
|
.fa-badge-new .fa-icon { display: none; }
|
|
/* The higher ranks: a golden icon. */
|
|
.fa-rank-fono .fa-icon, .fa-rank-csillagfono .fa-icon, .fa-rank-sorsfono .fa-icon { color: var(--gold); }
|
|
.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-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-intent-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: -4px; font-size: 14px; color: var(--muted); }
|
|
.ftv-intent-line .ft-intent { align-self: center; padding: 1px 10px; font-weight: 600; }
|
|
.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: a one-line head (avatar, name, rank, signs, time), the text, a
|
|
small action row; on wide screens the text lines up under the name --- */
|
|
.fp {
|
|
display: grid; grid-template-columns: auto minmax(0, 1fr);
|
|
grid-template-areas: "av head" "body body" "actions actions" "report report";
|
|
column-gap: 10px; row-gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px;
|
|
}
|
|
.fp-av { grid-area: av; display: inline-flex; align-self: center; }
|
|
.fp-av a { display: inline-flex; }
|
|
.fp-head { grid-area: head; display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.fp-names { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; flex: 1; min-width: 0; }
|
|
.fp-names .fa-name { font-size: 15px; }
|
|
.fp-signs { font-size: 13px; color: var(--muted); letter-spacing: 0.5px; }
|
|
.fp-time { flex: none; font-size: 13px; color: var(--muted); }
|
|
.fp-content { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.fp-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.fp-report { grid-area: report; }
|
|
/* The question (the opening post) stands apart: a card; the replies sit on the page. */
|
|
.fp.fp-opening {
|
|
margin: 6px 0 10px; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: 16px;
|
|
background: var(--panel);
|
|
}
|
|
.forum[data-theme="light"] .fp.fp-opening { box-shadow: 0 1px 3px rgba(27, 34, 54, 0.06); }
|
|
.fp-opening .fp-body { font-size: 17px; }
|
|
.fp-opening .fp-names .fa-name { font-size: 16px; }
|
|
.ftv-children .fp:last-child { border-bottom: 0; }
|
|
.fp-nested { padding: 8px 0; row-gap: 4px; }
|
|
.fp-nested .fp-body { font-size: 15px; }
|
|
.fp-body { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; color: var(--ink); }
|
|
.fp-body p + p { margin-top: 8px; }
|
|
.fp.fp-removed { display: flex; flex-direction: column; }
|
|
.fp-removed {
|
|
gap: 4px; margin: 10px 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: 40px; padding: 0; border: 0; background: none; color: var(--muted);
|
|
font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer;
|
|
}
|
|
.fp-helped { display: inline-flex; align-items: center; gap: 4px; margin-right: 2px; font-size: 12px; font-weight: 500; color: var(--ok); }
|
|
.fp-helped svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fp-spacer { flex: 1; }
|
|
.fp-reply {
|
|
display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px;
|
|
background: none; color: var(--ink-2); font: 500 13px var(--font-body); cursor: pointer;
|
|
}
|
|
.fp-reply:hover { color: var(--gold); background: var(--f-hover); }
|
|
.fp-reply svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fp-more {
|
|
display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 8px;
|
|
background: none; color: var(--muted); cursor: pointer;
|
|
}
|
|
.fp-more:hover, .fp-more[aria-expanded="true"] { color: var(--ink); background: var(--f-hover); }
|
|
.fp-more svg { width: 18px; height: 18px; fill: currentColor; }
|
|
@media (min-width: 760px) {
|
|
.fp { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "av head" ". body" ". actions" ". report"; column-gap: 14px; }
|
|
.fp-av { justify-content: center; }
|
|
.fp-nested { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
|
|
.ftv-incoming { bottom: 20px; }
|
|
}
|
|
|
|
/* --- reactions: the forum's own marks, an icon and a count --- */
|
|
.ri { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
|
|
.ri-with_you { stroke: var(--r-with_you); }
|
|
.ri-thanks { stroke: var(--r-thanks); }
|
|
.ri-me_too { stroke: var(--r-me_too); }
|
|
.ri-insight { stroke: var(--r-insight); }
|
|
.ri-filled.ri-with_you { fill: color-mix(in srgb, var(--r-with_you) 28%, transparent); }
|
|
.ri-filled.ri-thanks { fill: color-mix(in srgb, var(--r-thanks) 28%, transparent); }
|
|
.ri-filled.ri-me_too { fill: color-mix(in srgb, var(--r-me_too) 24%, transparent); }
|
|
.ri-filled.ri-insight { fill: color-mix(in srgb, var(--r-insight) 28%, transparent); }
|
|
.ri-filled .ri-line { fill: none; }
|
|
.fr-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.fr-chip {
|
|
display: inline-flex; align-items: center; gap: 5px; min-height: 32px; min-width: 32px; padding: 0 10px; box-sizing: border-box;
|
|
border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink);
|
|
font: 500 13px var(--font-body); cursor: pointer; justify-content: center;
|
|
}
|
|
.fp-nested .fr-chip { min-height: 30px; }
|
|
.fr-chip:disabled { cursor: default; }
|
|
.fr-chip:hover:not(:disabled) { border-color: var(--line-2); }
|
|
.fr-chip[aria-pressed="true"]:has(.ri-with_you) { border-color: var(--r-with_you); background: color-mix(in srgb, var(--r-with_you) 9%, var(--panel)); }
|
|
.fr-chip[aria-pressed="true"]:has(.ri-thanks) { border-color: var(--r-thanks); background: color-mix(in srgb, var(--r-thanks) 9%, var(--panel)); }
|
|
.fr-chip[aria-pressed="true"]:has(.ri-me_too) { border-color: var(--r-me_too); background: color-mix(in srgb, var(--r-me_too) 9%, var(--panel)); }
|
|
.fr-chip[aria-pressed="true"]:has(.ri-insight) { border-color: var(--r-insight); background: color-mix(in srgb, var(--r-insight) 9%, var(--panel)); }
|
|
.fr-add { padding: 0; border-style: dashed; border-color: var(--line-2); background: none; color: var(--muted); }
|
|
.fr-add svg, .fr-down svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fr-down { padding: 0; border-color: transparent; background: none; color: var(--muted); }
|
|
.fr-down svg { width: 18px; height: 18px; }
|
|
.fr-down[aria-pressed="true"] { background: var(--f-hover); color: var(--ink); }
|
|
|
|
/* --- small menus (the + of reactions, the ⋯ of a post) --- */
|
|
.fpop-wrap { position: relative; display: inline-flex; }
|
|
.fpop {
|
|
position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; 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);
|
|
}
|
|
.fpop-right { left: auto; right: 0; }
|
|
.fpop-item {
|
|
display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px;
|
|
background: none; color: var(--ink); font: 400 15px var(--font-body); text-align: left; cursor: pointer; white-space: nowrap;
|
|
}
|
|
.fpop-item:hover, .fpop-item[aria-pressed="true"] { background: var(--f-hover); }
|
|
.fpop-danger { color: var(--danger); }
|
|
|
|
/* --- 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; }
|
|
/* --- 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; }
|
|
|
|
/* --- "… gépel" --- */
|
|
.ftyping { min-height: 22px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 0; }
|
|
.ftyping-dots { display: inline-flex; gap: 3px; }
|
|
.ftyping-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: ftyping 1.2s infinite ease-in-out; }
|
|
.ftyping-dots span:nth-child(2) { animation-delay: 0.15s; }
|
|
.ftyping-dots span:nth-child(3) { animation-delay: 0.3s; }
|
|
@keyframes ftyping { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
|
|
@media (prefers-reduced-motion: reduce) { .ftyping-dots span { animation: none; opacity: 0.6; } }
|
|
.fp-link { min-height: 32px; 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); }
|
|
|
|
/* --- whom a reply answers, mentions, badges --- */
|
|
.fp-replyto { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); }
|
|
.fp-replyto svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fp-mention { color: var(--gold); font-weight: 500; text-decoration: none; background: var(--f-tint); border-radius: 4px; padding: 0 2px; }
|
|
.fp-mention:hover { color: var(--gold-hover); }
|
|
.fa-badge-listener { color: var(--harmonic); background: var(--f-blue-tint); }
|
|
.fa-badge-supporter { color: var(--gold); background: var(--f-tint); }
|
|
.fa-badge-founder { color: var(--ok); border: 1px solid var(--line-2); }
|
|
|
|
/* --- own pictures and the site's mark --- */
|
|
.av-picture img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
|
|
.av-site { --av-bg: #1c2540; }
|
|
.av-site-mark { stroke: #d9b46a; }
|
|
.forum[data-theme="light"] .av-site { --av-bg: #f5ead7; }
|
|
.forum[data-theme="light"] .av-site-mark { stroke: #8a6a24; }
|
|
|
|
/* --- "@" suggestions while typing --- */
|
|
.fc-suggest {
|
|
display: flex; flex-direction: column; align-self: flex-start; min-width: 220px; max-width: 320px; padding: 4px;
|
|
background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--f-shadow);
|
|
}
|
|
.fc-suggest-item {
|
|
display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px;
|
|
background: none; color: var(--ink); font: 400 15px var(--font-body); text-align: left; cursor: pointer;
|
|
}
|
|
.fc-suggest-item:hover, .fc-suggest-item:focus-visible { background: var(--f-hover); }
|
|
|
|
/* --- who is here, restricted topics --- */
|
|
.fh-online { display: flex; flex-direction: column; gap: 10px; }
|
|
.forum .fh-online-title { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink-2); }
|
|
.fh-online-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 12px; }
|
|
.fh-online-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); text-decoration: none; }
|
|
a.fh-online-item:hover { color: var(--gold); }
|
|
.fh-topic-closed { flex-wrap: wrap; }
|
|
.fjoin { flex-basis: 100%; display: flex; flex-direction: column; gap: 8px; }
|
|
|
|
/* --- profile form extras, the topics tab --- */
|
|
.fprof-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
|
|
.fprof-upload-btn { cursor: pointer; }
|
|
.fprof-check-plain { border: 0; padding: 6px 0 0; background: none; }
|
|
.fmodlog li.ftop-member { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
.ftop-vis { width: auto; min-height: 36px; }
|
|
|
|
/* --- members-only and restricted topics: said plainly, also to members --- */
|
|
.ftopic-private { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); }
|
|
.ftopic-private svg, .ftv-private svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
|
|
.ftv-private { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-size: 13px; color: var(--muted); }
|
|
.ftv-private svg { margin-top: 0; width: 13px; height: 13px; }
|
|
|
|
/* --- "Válaszok": answers to the member --- */
|
|
.frep-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
.fanswers { list-style: none; margin: 0; padding: 0; }
|
|
.fanswers li + li { border-top: 1px solid var(--line); }
|
|
.fanswer {
|
|
display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start;
|
|
padding: 14px 16px; color: var(--ink); text-decoration: none;
|
|
}
|
|
.fanswer:hover { background: var(--f-hover); }
|
|
.fanswer-new { background: var(--f-tint); }
|
|
.fanswer-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
.fanswer-who { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; }
|
|
.fanswer-thread { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.fanswer-excerpt {
|
|
font-size: 14px; color: var(--muted); overflow: hidden;
|
|
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
|
}
|
|
.fanswer-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
|
|
|
|
/* The reply box at the bottom of a branch, where the answers to that post go. */
|
|
.ftv-inline {
|
|
display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px 17px; padding: 8px 0 4px 14px;
|
|
border-left: 2px solid var(--gold); scroll-margin: 96px 0 120px;
|
|
}
|
|
.ftv-inline .ftv-replyto { display: flex; align-items: center; gap: 5px; margin: 0; }
|
|
.ftv-inline .ftv-replyto svg {
|
|
width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
|
}
|
|
|
|
/* Phones, while typing: the bottom menu and the floating button step aside
|
|
for the keyboard (KeyboardSafe sets kb-open), and a focused box keeps room
|
|
around it for its send button. */
|
|
@media (max-width: 759px) {
|
|
.kb-open .forum-nav, .kb-open .ftv-incoming { display: none; }
|
|
}
|
|
.forum textarea, .forum input { scroll-margin: 88px 0 96px; }
|
|
|
|
/* The small links at the bottom of the side column: rows in one card. */
|
|
.fh-links { display: flex; flex-direction: column; }
|
|
.fh-link {
|
|
display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px;
|
|
color: var(--ink); text-decoration: none;
|
|
}
|
|
.fh-link + .fh-link { border-top: 1px solid var(--line); }
|
|
.fh-link:hover { background: var(--f-hover); }
|
|
.fh-link svg {
|
|
width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8;
|
|
stroke-linecap: round; stroke-linejoin: round;
|
|
}
|
|
.fh-link-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
|
|
.fh-link-text .hint { font-size: 13px; font-weight: 400; }
|
|
.fh-link-arrow { color: var(--muted); font-size: 20px; line-height: 1; }
|
|
/* The same row at the foot of a card, or framed inside one. */
|
|
.fh-link-foot { margin: 14px -18px -18px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
|
|
.fh-link-boxed { min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
|
|
|
|
/* --- search --- */
|
|
.fsearch-form { display: flex; gap: 8px; }
|
|
.fsearch-form .inp { flex: 1; min-width: 0; }
|
|
.fsearch-results { list-style: none; margin: 0; padding: 0; }
|
|
.fsearch-results li + li { border-top: 1px solid var(--line); }
|
|
.fsearch-hit { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
|
|
.fsearch-hit:hover { background: var(--f-hover); }
|
|
.fsearch-title { font-size: 17px; font-weight: 600; }
|
|
.fsearch-meta { font-size: 13px; color: var(--muted); }
|
|
.fsearch-snippet { font-size: 15px; color: var(--ink-2); }
|
|
.fsearch-snippet mark { background: var(--f-tint-strong); color: var(--ink); border-radius: 3px; padding: 0 2px; }
|
|
|
|
/* --- muted members --- */
|
|
.fp-muted { padding: 4px 0; }
|
|
.fmute { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
.fmuted { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
.fmuted li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
|
|
/* --- archived topics --- */
|
|
.fh-archived { margin-top: 10px; }
|
|
.fh-archived summary { min-height: 44px; display: flex; align-items: center; color: var(--ink-2); font-size: 15px; cursor: pointer; }
|
|
.fh-archived .fh-links { list-style: none; margin: 0; padding: 0; }
|
|
.fh-archived li + li .fh-link { border-top: 1px solid var(--line); }
|
|
|
|
/* --- a chart shared with a question --- */
|
|
.fshare {
|
|
display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; padding: 14px 16px;
|
|
border: 1px solid var(--line-2); border-radius: 14px; background: var(--f-tint);
|
|
}
|
|
.fshare-quiet { background: none; border-style: dashed; }
|
|
.fshare-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
|
|
.fshare-title { font-size: 16px; }
|
|
.fshare-summary { font-family: var(--font-display); font-size: 19px; color: var(--ink-2); }
|
|
.fshare-points { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
|
|
.fshare-open { margin-top: 4px; }
|
|
.fnew-share { display: flex; flex-direction: column; gap: 8px; }
|
|
.fnew-share .fshare { margin-top: 0; }
|
|
|
|
/* --- link previews (YouTube) --- */
|
|
.flinks { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
|
|
.flink {
|
|
display: flex; flex-direction: column; max-width: 480px; overflow: hidden;
|
|
border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel);
|
|
}
|
|
.flink-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0e1424; }
|
|
.flink-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
.flink-noimg { display: block; width: 100%; height: 100%; }
|
|
.flink-play {
|
|
position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; transform: translate(-50%, -50%);
|
|
display: grid; place-items: center; border-radius: 12px; background: rgba(15, 15, 15, 0.78);
|
|
transition: background 0.15s;
|
|
}
|
|
.flink-play svg { width: 22px; height: 22px; fill: #fff; }
|
|
.flink-thumb:hover .flink-play, .flink-thumb:focus-visible .flink-play { background: #d32020; }
|
|
.flink-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 12px; }
|
|
.flink-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
|
|
.flink-here { align-self: flex-start; margin-top: 4px; }
|
|
.flink-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
|
|
.flink-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
|
|
.flink .fp-link { display: inline-flex; align-items: center; padding: 0; text-decoration: none; }
|
|
|
|
/* The attached chart's wheel: a fixed size, beside the details (above them on phones). */
|
|
.fshare-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
|
|
.fshare-drawn { flex-direction: column; align-items: center; }
|
|
.fshare-wheel { flex: none; width: 240px; height: 240px; }
|
|
.fshare-wheel svg { display: block; width: 100%; height: 100%; }
|
|
@media (min-width: 640px) {
|
|
.fshare-drawn { flex-direction: row; align-items: center; gap: 18px; }
|
|
}
|
|
|
|
/* --- new thread: topic labels, a wish switch, one writing surface --- */
|
|
.fnew .fnew-set legend { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
|
|
.fnew-chips { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.fnew-chip {
|
|
display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 12px;
|
|
border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--ink-2);
|
|
font-size: 15px; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
|
|
}
|
|
.fnew-chip:hover { border-color: var(--f-border-hover); color: var(--ink); }
|
|
.fnew-chip .topic-icon {
|
|
width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8;
|
|
stroke-linecap: round; stroke-linejoin: round;
|
|
}
|
|
.fnew-chip:has(input:checked) { border-color: var(--gold); background: var(--f-tint-strong); color: var(--ink); font-weight: 600; }
|
|
.fnew-chip:has(input:focus-visible), .fnew-switch-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
|
|
.fnew-note { margin: 8px 2px 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
|
|
.fnew-audience { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
|
|
.fnew-audience svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
|
|
|
|
.fnew-switch { display: grid; gap: 4px; padding: 4px; border-radius: 14px; background: var(--f-tint); border: 1px solid var(--line); }
|
|
.fnew-switch-opt {
|
|
display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 8px;
|
|
border-radius: 10px; color: var(--ink-2); font-size: 15px; text-align: center; cursor: pointer;
|
|
transition: background 0.15s, color 0.15s, box-shadow 0.15s;
|
|
}
|
|
.fnew-switch-opt svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fnew-switch-opt:hover { color: var(--ink); }
|
|
.fnew-switch-opt:has(input:checked) { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(27, 34, 54, 0.1); }
|
|
.fnew-switch-opt:has(input:checked) svg { color: var(--gold); }
|
|
@media (max-width: 479px) {
|
|
.fnew-switch-opt { flex-direction: column; gap: 3px; min-height: 58px; font-size: 13px; }
|
|
}
|
|
|
|
.fnew-paper {
|
|
display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel);
|
|
overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
.fnew-paper:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--f-tint-strong); }
|
|
.fnew-title {
|
|
border: 0; border-bottom: 1px solid var(--line); background: none; padding: 16px 18px 12px; color: var(--ink);
|
|
font: 600 21px/1.3 var(--font-display); outline: none;
|
|
}
|
|
.fnew-body {
|
|
border: 0; background: none; padding: 14px 18px; min-height: 200px; resize: vertical; color: var(--ink);
|
|
font: 400 16px/1.6 var(--font-body); outline: none;
|
|
}
|
|
.fnew-title::placeholder, .fnew-body::placeholder { color: var(--muted); }
|
|
.fnew-foot {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
|
|
padding: 10px 12px 10px 18px; border-top: 1px solid var(--line); background: var(--f-tint);
|
|
}
|
|
|
|
/* --- thread cards with the start of the opening post --- */
|
|
.ft-row { align-items: flex-start; }
|
|
.ft-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--ink-2); }
|
|
.ft-topic { display: inline-flex; align-items: center; gap: 5px; }
|
|
.ft-topic .topic-icon { width: 14px; height: 14px; }
|
|
.ft-lock { width: 11px; height: 11px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
|
|
.ft-row .ft-excerpt { font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 3; }
|
|
.ft-meta { flex-wrap: wrap; font-size: 13px; }
|
|
.ft-who { color: var(--ink); font-weight: 500; }
|
|
.ft-m-new { margin-left: auto; }
|
|
.ft-side { display: none; }
|
|
@media (min-width: 760px) {
|
|
.ft-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 0 24px; padding: 16px 20px; align-items: center; }
|
|
.ft-row .ft-excerpt { font-size: 15px; -webkit-line-clamp: 2; }
|
|
.ft-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; font-size: 15px; color: var(--ink); }
|
|
.ft-side .hint { font-size: 13px; }
|
|
.ft-side strong { font-weight: 600; }
|
|
}
|
|
|
|
/* --- photos in posts --- */
|
|
.fphoto-btn { display: inline-flex; align-items: center; gap: 6px; }
|
|
.fphoto-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.fphoto-picked { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.fnew-paper .fphoto-picked { padding: 0 18px 10px; }
|
|
.fphoto-chip { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--f-tint); }
|
|
.fphoto-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
.fphoto-busy img { opacity: 0.45; }
|
|
.fphoto-remove {
|
|
position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0;
|
|
border: 0; border-radius: 999px; background: rgba(10, 14, 24, 0.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
|
|
}
|
|
.fphoto-spinner {
|
|
position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 999px;
|
|
border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: var(--gold); animation: fphoto-spin 0.8s linear infinite;
|
|
}
|
|
@keyframes fphoto-spin { to { transform: rotate(360deg); } }
|
|
@media (prefers-reduced-motion: reduce) { .fphoto-spinner { animation: none; } }
|
|
.fnew-foot-left { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
.fnew-photo-error { margin: 0 18px 10px; }
|
|
|
|
/* One row of square previews, a fixed height; more scroll sideways. */
|
|
.fpics { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 2px; }
|
|
.fpic {
|
|
flex: none; width: 112px; height: 112px; padding: 0; border: 0; border-radius: 12px; overflow: hidden;
|
|
background: var(--f-tint); cursor: zoom-in; scroll-snap-align: start;
|
|
}
|
|
.fpic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
|
|
.fpic:hover img { transform: scale(1.04); }
|
|
@media (min-width: 760px) { .fpic { width: 136px; height: 136px; } }
|
|
|
|
/* The viewer. */
|
|
dialog.flight {
|
|
width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
|
|
background: rgba(5, 8, 16, 0.95); color: #fff; overflow: hidden;
|
|
}
|
|
dialog.flight::backdrop { background: transparent; }
|
|
.flight-figure { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; }
|
|
.flight-img { max-width: 94vw; max-height: 86dvh; width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; }
|
|
.flight-btn {
|
|
position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0;
|
|
border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
|
|
}
|
|
.flight-btn:hover, .flight-btn:focus-visible { background: rgba(255, 255, 255, 0.24); }
|
|
.flight-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; font-size: 26px; }
|
|
.flight-prev { left: 12px; top: 50%; transform: translateY(-50%); }
|
|
.flight-next { right: 12px; top: 50%; transform: translateY(-50%); }
|
|
.flight-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: 14px; opacity: 0.8; }
|
|
|
|
/* The red button of a question window keeps its colour on hover in the light theme. */
|
|
.forum[data-theme="light"] .btn-danger-solid:hover { background: #a93226; border-color: #a93226; color: #fff; }
|