From fa993489f6f7ee125da52b101c2c5d52744f214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Wed, 17 Jun 2026 15:04:39 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=C3=9Cber-mich-Portr=C3=A4t=20mit=20Gol?= =?UTF-8?q?d-Rahmen=20und=20Graustufen-Hover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/custom/site.css | 46 +++++++++++++++++++++++++++++++++++++++++- public/über-mich.html | 6 +++++- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/public/custom/site.css b/public/custom/site.css index 3a16901..ae1921d 100644 --- a/public/custom/site.css +++ b/public/custom/site.css @@ -16,7 +16,12 @@ --akzent-gold: #c9a227; } - html { scroll-behavior: smooth; } + /* Lenis (smooth scroll) — CSS aus Framers SmoothScroll_Prod.js */ + html.lenis { height: auto; } + .lenis.lenis-smooth { scroll-behavior: auto !important; } + .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } + .lenis.lenis-stopped { overflow: hidden; } + .lenis.lenis-scrolling iframe { pointer-events: none; } * { box-sizing: border-box; margin: 0; padding: 0; } @@ -215,6 +220,45 @@ .einblenden { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; } .einblenden.sichtbar { opacity: 1; transform: none; } +/* ==================== ÜBER-MICH PORTRÄT (schwebt rechts, Graustufen → Farbe) ==================== */ +.portrait-hero { + margin: 0 0 32px; + float: right; + width: 320px; + max-width: 40%; + shape-outside: margin-box; +} +.portrait-hero img { + display: block; + width: 100%; + height: auto; + border-radius: 12px; + border: 2px solid var(--akzent-gold); + box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); + filter: grayscale(100%); + transition: filter 0.6s ease-out, transform 0.4s ease-out; +} +.portrait-hero:hover img, +.portrait-hero:focus-within img { + filter: grayscale(0%); + transform: scale(1.03); +} +.portrait-hero figcaption { + margin-top: 10px; + font-size: 12px; + letter-spacing: 0.4px; + color: var(--text-leise); + text-align: right; +} +@media (max-width: 720px) { + .portrait-hero { + float: none; + width: 100%; + max-width: 320px; + margin: 0 auto 32px; + } +} + /* ==================== SEITENÜBERGANG (Staub-Fade) ==================== */ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s ease-out; } .seite-ausgang { opacity: 0; transform: translateY(-12px); filter: blur(3px); } diff --git a/public/über-mich.html b/public/über-mich.html index e6d5ad0..3d17d4b 100644 --- a/public/über-mich.html +++ b/public/über-mich.html @@ -83,6 +83,10 @@
+
+ Leon Tonhäuser, Sportfotograf +
Foto: Panthjeet Lucky Singh – ptjtluckys_pictures
+
— 03 / Über mich
@@ -142,7 +146,7 @@
- + &