A footer on every page

The root layout draws one footer for every page (the app pages, the
chart page and admin had none): the free content pages, Kapcsolat (the
feedback page when logged in, /kapcsolat otherwise), ÁSZF, Adatvédelem,
and Belépés when logged out. The pages drop their own; the home page
keeps its payment partners above it. The recommendation box sits right
before it on every page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-24 07:21:19 +00:00
co-authored by Claude Opus 5.5
parent 2eaae68271
commit 3a38518d07
14 changed files with 35 additions and 61 deletions
+6 -3
View File
@@ -1084,6 +1084,8 @@ a.pair-row:hover strong { color: var(--gold); }
.lp-emblem-outer { fill: none; stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1; }
.lp-disclaimer { max-width: 560px; }
.lp-footer { border-top: 1px solid var(--line); padding: 28px 0; }
/* The floating "Kérdezz" button must not cover the footer's last line. */
body:has(.qdock-fab) .site-footer { padding-bottom: 88px; }
.lp-footer-inner { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.lp-footer-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.lp-footer-nav a { color: var(--muted); text-decoration: none; }
@@ -1161,7 +1163,8 @@ a.pair-row:hover strong { color: var(--gold); }
}
/* Home page footer: payment and invoicing partners */
.lp-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
/* On the home page, right above the common footer (whose top line separates them). */
.lp-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 24px 16px; }
.lp-partner { height: 26px; width: auto; opacity: 0.65; transition: opacity 0.2s; }
.lp-partner:hover { opacity: 1; }
.lp-partners .hint + .lp-partner { margin-right: 18px; }
@@ -1631,9 +1634,9 @@ span.tarot-fan-card { cursor: default; }
.feedback-body { margin: 0; white-space: pre-line; color: var(--ink-2); }
.feedback-reply { padding: 10px 14px; border-left: 2px solid var(--gold); background: rgba(217, 180, 106, 0.06); border-radius: 0 8px 8px 0; }
.feedback-reply p { margin: 4px 0 0; white-space: pre-line; }
/* At the bottom of the page; the room under it keeps the "Kérdezz" button off it. */
/* At the bottom of the page, before the footer. */
.nps {
max-width: 1180px; margin: 8px auto 96px; padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start;
max-width: 1180px; margin: 8px auto 24px; padding: 12px 16px; display: flex; gap: 12px; align-items: flex-start;
background: var(--panel); border: 1px solid rgba(217, 180, 106, 0.4); border-radius: 12px; width: calc(100% - 32px);
}
.nps-main { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }