Benutzer:Nöth: Unterschied zwischen den Versionen
Aus Stadtsprachen
Nöth (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Nöth (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
} | } | ||
.mix-blend-multiply { | .mix-blend-multiply { | ||
mix-blend-mode: multiply; | mix-blend-mode: multiply; | ||
transition: opacity 0.3s ease; | transition: opacity 0.3s ease; | ||
} | } | ||
Zeile 22: | Zeile 21: | ||
height: calc(100vh - 100px); | height: calc(100vh - 100px); | ||
width: 100%; | width: 100%; | ||
transition: transform 0.3s ease; | transition: transform 0.3s ease; | ||
} | } | ||
.hero-section:hover img { | .hero-section:hover img { | ||
transform: scale(1.05); | transform: scale(1.05); | ||
} | } | ||
.hero-section:hover .mix-blend-multiply { | .hero-section:hover .mix-blend-multiply { | ||
opacity: 0.8; | opacity: 0.8; | ||
} | } | ||
.hero-section img { | .hero-section img { | ||
transition: transform 0.3s ease; | transition: transform 0.3s ease; | ||
object-fit: cover; | |||
object-position: center; | |||
inset: 0; | |||
position: absolute; | |||
height: 100%; | |||
width: 100%; | |||
} | |||
.hero-overlay { | |||
position: absolute; | |||
height: 100%; | |||
width: 100%; | |||
inset: 0; | |||
background-color: black; | |||
opacity: 0.6; | |||
} | |||
.hero-text-container { | |||
position: relative; | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
padding: 1rem; | |||
} | |||
.hero-title { | |||
text-align: center; | |||
color: white; | |||
font-weight: bold; | |||
font-size: 4rem; | |||
line-height: 1; | |||
} | |||
.hero-subtitle { | |||
text-align: center; | |||
color: white; | |||
font-size: 1.5rem; | |||
line-height: 1; | |||
} | } | ||
Zeile 65: | Zeile 102: | ||
<img src="https://stadtsprachen.kallimachos.de/images/thumb/7/7d/Orte.png/1600px-Orte.png?20210422225226" | <img src="https://stadtsprachen.kallimachos.de/images/thumb/7/7d/Orte.png/1600px-Orte.png?20210422225226" | ||
loading="lazy" | loading="lazy" | ||
alt="Photo by Fakurian Design | alt="Photo by Fakurian Design" /> | ||
<div class="hero-overlay mix-blend-multiply"></div> | |||
<div class="hero-text-container"> | |||
<div class=" | <p class="hero-title">Historische Stadtsprachen vor Ort</p> | ||
<div class=" | <p class="hero-subtitle">Eine stadtsprachgeschichtliche Wissensplattform</p> | ||
<p class=" | |||
<p class=" | |||
</div> | </div> | ||
<div class="caret" onclick="scrollToAnchor('content-anchor')">⌄</div> | <div class="caret" onclick="scrollToAnchor('content-anchor')">⌄</div> | ||
</section> | |||
</div> | </div> | ||
<div id="content-anchor" style="padding-top: 100px;"> | <div id="content-anchor" style="padding-top: 100px;"> | ||
</div> | |||
<script> | <script> | ||
function scrollToAnchor(anchorId) { | function scrollToAnchor(anchorId) { |
Version vom 27. Februar 2025, 10:17 Uhr

Historische Stadtsprachen vor Ort
Eine stadtsprachgeschichtliche Wissensplattform
⌄