Forum: the sky card's and the companions' links as rows too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -192,7 +192,6 @@ body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; }
|
||||
.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 { 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; }
|
||||
@@ -624,8 +623,6 @@ a.fh-online-item:hover { color: var(--gold); }
|
||||
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
|
||||
}
|
||||
.fanswer-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
|
||||
.fh-me-waiting { font-size: 14px; color: var(--harmonic); text-decoration: none; }
|
||||
.fh-me-waiting:hover { text-decoration: underline; }
|
||||
|
||||
/* The reply box at the bottom of a branch, where the answers to that post go. */
|
||||
.ftv-inline {
|
||||
@@ -660,3 +657,6 @@ a.fh-online-item:hover { color: var(--gold); }
|
||||
.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; }
|
||||
|
||||
@@ -77,8 +77,18 @@ function SkyCard({ sky }: { sky: SkyNow }) {
|
||||
<p>{MOON_IN_SIGN[sign]}</p>
|
||||
</div>
|
||||
</div>
|
||||
<Link href="/holdnaptar" className="fh-sky-link">
|
||||
Holdnaptár és a következő holdfázisok
|
||||
<Link href="/holdnaptar" className="fh-link fh-link-foot">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<rect x="4" y="5.5" width="16" height="14.5" rx="2" />
|
||||
<path d="M4 10h16M8.5 3.5v4M15.5 3.5v4" />
|
||||
</svg>
|
||||
<span className="fh-link-text">
|
||||
Holdnaptár
|
||||
<span className="hint">A következő holdfázisok</span>
|
||||
</span>
|
||||
<span className="fh-link-arrow" aria-hidden="true">
|
||||
›
|
||||
</span>
|
||||
</Link>
|
||||
</section>
|
||||
);
|
||||
@@ -268,10 +278,20 @@ export default async function ForumHomePage() {
|
||||
</span>
|
||||
</div>
|
||||
{waiting !== null && waiting > 0 && (
|
||||
<Link href="#varnak" className="fh-me-waiting">
|
||||
{waiting === 1
|
||||
? "1 meghallgatást kérő szál vár válaszra"
|
||||
: `${waiting} meghallgatást kérő szál vár válaszra`}
|
||||
<Link href="#varnak" className="fh-link fh-link-boxed">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<circle cx="8" cy="6.5" r="2.5" />
|
||||
<circle cx="16" cy="6.5" r="2.5" />
|
||||
<path d="M3.5 20v-3.5a4.5 4.5 0 0 1 9 0V20" />
|
||||
<path d="M11.5 20v-3.5a4.5 4.5 0 0 1 9 0V20" />
|
||||
</svg>
|
||||
<span className="fh-link-text">
|
||||
{waiting === 1 ? "1 szál vár első válaszra" : `${waiting} szál vár első válaszra`}
|
||||
<span className="hint">Meghallgatást kérnek, még senki nem válaszolt</span>
|
||||
</span>
|
||||
<span className="fh-link-arrow" aria-hidden="true">
|
||||
›
|
||||
</span>
|
||||
</Link>
|
||||
)}
|
||||
<div className="fh-me-actions">
|
||||
|
||||
Reference in New Issue
Block a user