Benutzer:Nöth: Unterschied zwischen den Versionen
Aus Stadtsprachen
Nöth (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Nöth (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{DISPLAYTITLE:<span id="1" style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} | {{DISPLAYTITLE:<span id="1" style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} | ||
<html> | <html> | ||
<style> | |||
.firstHeading { | .firstHeading { | ||
display: none; | |||
} | } | ||
/* Custom CSS to match Tailwind styles */ | /* Custom CSS to match Tailwind styles */ | ||
.mix-blend-multiply { | .mix-blend-multiply { | ||
mix-blend-mode: multiply; | |||
transition: opacity 0.3s ease; /* Add transition for overlay opacity */ | |||
} | } | ||
.hero-section { | .hero-section { | ||
position: relative; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
border-radius: 0.5rem; | |||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |||
height: calc(100vh - 100px); | |||
width: 100%; | |||
transition: transform 0.3s ease; /* Add transition for zoom effect */ | |||
} | } | ||
.hero-section:hover img { | |||
transform: scale(1.05); /* Zoom in on hover */ | |||
} | |||
.hero-section:hover .mix-blend-multiply { | |||
opacity: 0.8; /* Increase overlay contrast on hover */ | |||
} | |||
.hero-section img { | |||
transition: transform 0.3s ease; /* Smooth zoom transition */ | |||
} | |||
.caret { | |||
position: absolute; | |||
bottom: 20px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
font-size: 2rem; | |||
color: white; | |||
cursor: pointer; | |||
animation: bounce 2s infinite; | |||
} | |||
@keyframes bounce { | |||
0%, 20%, 50%, 80%, 100% { | |||
transform: translateY(0) translateX(-50%); | |||
} | |||
40% { | |||
transform: translateY(-10px) translateX(-50%); | |||
} | |||
60% { | |||
transform: translateY(-5px) translateX(-50%); | |||
} | |||
} | |||
</style> | |||
<body> | |||
<div id="hero-container" class="container-fluid container-3xl"> | <div id="hero-container" class="container-fluid container-3xl"> | ||
<section class="hero-section bg-light"> | |||
<img src="https://stadtsprachen.kallimachos.de/images/thumb/7/7d/Orte.png/1600px-Orte.png?20210422225226" | |||
loading="lazy" | |||
alt="Photo by Fakurian Design" | |||
class="position-absolute h-100 w-100" | |||
style="object-fit: cover; object-position: center; inset: 0;" /> | |||
<div class="position-absolute h-100 w-100 bg-dark mix-blend-multiply" style="inset: 0; opacity: 0.6;"></div> | |||
<div class="position-relative d-flex flex-column align-items-center p-4"> | |||
<p class="text-center text-white font-weight-bold" style="font-size: 4rem;">Historische Stadtsprachen vor Ort</p> | |||
<p class="text-center text-white" style="font-size: 1.5rem;">Eine stadtsprachgeschichtliche Wissensplattform</p> | |||
</div> | |||
<div class="caret" onclick="scrollToAnchor('content-anchor')">⌄</div> | |||
</section> | |||
</div> | |||
<div id="content-anchor" style="padding-top: 100px;"> | |||
</div> | </div> | ||
<script> | |||
</ | function scrollToAnchor(anchorId) { | ||
const element = document.getElementById(anchorId); | |||
if (element) { | |||
element.scrollIntoView({ behavior: 'smooth' }); | |||
} | |||
} | |||
</script> | |||
</body> | |||
</html> | </html> |
Version vom 27. Februar 2025, 10:12 Uhr

Historische Stadtsprachen vor Ort
Eine stadtsprachgeschichtliche Wissensplattform
⌄