From fbfc3dd4d5582d865e4d2766b6bbf4f6c930960f Mon Sep 17 00:00:00 2001 From: karim Date: Sat, 30 May 2026 16:56:08 +0200 Subject: [PATCH] =?UTF-8?q?style(hosting):=20.hosting-*=20Styles=20in=20cu?= =?UTF-8?q?stom.css=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Login/Register/Konto/Preise-Seiten waren ungestylt (linksbündig), weil die hosting-Styles nie in custom.css gelandet waren (verlorener Edit). Jetzt drin: zentrierte Karten, Inputs, Buttons, Plan-Grid im RAPPORT-Token-Set (warmes Beige, Braun-Akzent, Playfair-Titel). Im kompilierten CSS verifiziert. Co-Authored-By: Claude Opus 4.8 --- assets/css/custom.css | 87 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/assets/css/custom.css b/assets/css/custom.css index 7f50625..e937d2f 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -754,3 +754,90 @@ nav [class*="font-bold"] { justify-content: center; text-align: center; } + +/* ───────────────────────────────────────────────────────────── + HOSTING-APP — Login / Registrierung / Konto / Preise + Vanilla-JS-Seiten (layouts/hosting.html + js/hosting-app.js) + ───────────────────────────────────────────────────────────── */ +.hosting-wrap { + min-height: calc(100vh - var(--navbar-height, 64px)); + display: flex; + align-items: flex-start; + justify-content: center; + padding: 56px 20px 80px; + width: 100%; +} +.hosting-card { + background: var(--rapport-surface); + border: 1px solid var(--rapport-border); + border-radius: 16px; + padding: 36px 34px; + width: 100%; + max-width: 400px; + box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 10px 36px rgba(0,0,0,0.07); +} +.dark .hosting-card { background: #211e1a; border-color: #2d2926; } +.hosting-card.wide { max-width: 940px; } + +.hosting-title { + font-family: 'Playfair Display', Georgia, serif; + font-weight: 700; + font-size: 26px; + margin: 0 0 6px; + color: var(--rapport-text); + text-align: center; +} +.hosting-sub { text-align: center; color: var(--rapport-text-3); font-size: 13px; margin-bottom: 26px; } + +.hosting-label { + display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; + text-transform: uppercase; color: var(--rapport-text-3); margin-bottom: 6px; +} +.hosting-input { + width: 100%; box-sizing: border-box; + background: var(--rapport-surface2); border: 1.5px solid var(--rapport-border); + border-radius: 10px; padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: 14px; + color: var(--rapport-text); outline: none; margin-bottom: 16px; + transition: border-color .15s, box-shadow .15s; +} +.dark .hosting-input { background: #1a1714; border-color: #2d2926; color: #ece9e3; } +.hosting-input:focus { border-color: var(--rapport-accent); box-shadow: 0 0 0 3px rgba(176,120,72,0.15); } + +.hosting-btn { + width: 100%; box-sizing: border-box; padding: 13px; border: none; border-radius: 10px; cursor: pointer; + font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; + letter-spacing: 0.03em; transition: background .15s, transform .1s; +} +.hosting-btn-primary { background: var(--rapport-accent); color: #fff; } +.hosting-btn-primary:hover { background: var(--rapport-accent-2); } +.hosting-btn-primary:active { transform: translateY(1px); } +.hosting-btn-dark { background: var(--rapport-dark); color: #f0ede8; } +.hosting-btn:disabled { opacity: .6; cursor: default; } + +.hosting-link { background: none; border: none; color: var(--rapport-accent); + font-family: 'Inter', sans-serif; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; } +.hosting-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--rapport-text-3); } + +.hosting-msg { padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; } +.hosting-msg.err { background: #f8ece4; border: 1px solid #e0b896; color: #9a4a1e; } +.hosting-msg.ok { background: #ecefe6; border: 1px solid #c2cdb0; color: #4a5a32; } + +.hosting-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 8px; } +.hosting-plan { + position: relative; display: flex; flex-direction: column; + background: var(--rapport-surface2); border: 1px solid var(--rapport-border); + border-radius: 14px; padding: 24px; +} +.dark .hosting-plan { background: #1a1714; border-color: #2d2926; } +.hosting-plan.rec { border-color: var(--rapport-accent); box-shadow: 0 0 0 1px var(--rapport-accent); } +.hosting-plan .pbadge { position: absolute; top: -10px; right: 16px; background: var(--rapport-accent); + color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; } +.hosting-plan .pname { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rapport-text-3); } +.hosting-plan .pprice { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; margin: 8px 0 4px; color: var(--rapport-text); } +.hosting-plan ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--rapport-text-2); flex: 1; } +.hosting-plan li { padding: 6px 0; border-bottom: 1px solid var(--rapport-border); } +.hosting-plan li:last-child { border-bottom: none; } +.hosting-plan .hosting-btn { margin-top: 16px; } + +.hosting-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rapport-border); font-size: 14px; } +.hosting-row:last-child { border-bottom: none; }