Forum: thread cards with the start of the opening post, latest threads and pinned threads on the front page
- Every thread card shows the start of the opening post (two lines on a computer, three on a phone), its topic with the icon (a lock for members-only and restricted ones), pinned and the wish; the replies, the last activity and what is new on the right (in the bottom line on a phone). The same card in topics, search and followed threads. - The front page: "Legutóbbi szálak" below the topics, from every topic the viewer may read (not the archived ones), the latest activity first, 20 a page with a pager; pinned threads in "Kitűzve" above the topics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -786,3 +786,22 @@ a.fh-online-item:hover { color: var(--gold); }
|
||||
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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user