Zwischenstand 3107 1348

This commit is contained in:
astosic 2025-07-31 13:48:18 +02:00
parent a4639d351b
commit 9ade80d024
5 changed files with 114 additions and 20 deletions

View file

@ -1,17 +1,114 @@
<section class="page-title"
style="background-image: url('{{ .Params.bg_image | relURL }}'); padding: 28px 0 12px;">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<div class="services-title">
<h2 style="margin:0 0 6px 0; font-weight:600;">{{ .Title }}</h2>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Title mit GIF</title>
<style>
.page-title {
position: relative;
padding: 80px 0 60px;
background: white;
overflow: hidden;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.gif-background::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('/images/hero-wave.gif'); /* Hier deine GIF-URL einfügen */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0.15; /* Macht das GIF dezent sichtbar */
z-index: 1;
}
.container {
position: relative;
z-index: 3;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.title-custom {
color: #333;
font-size: 3.5rem;
font-weight: 700;
margin: 0 0 20px 0;
text-align: center;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
animation: fadeInUp 1s ease-out;
}
.subtitle-custom {
color: #666;
font-size: 1.4rem;
font-weight: 400;
margin: 0;
text-align: center;
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
animation: fadeInUp 1s ease-out 0.3s both;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.title-custom {
font-size: 2.5rem;
}
.subtitle-custom {
font-size: 1.2rem;
}
.page-title {
padding: 60px 0 40px;
}
}
@media (max-width: 480px) {
.title-custom {
font-size: 2rem;
}
.subtitle-custom {
font-size: 1rem;
}
}
</style>
</head>
<body>
<section class="page-title gif-background">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="services-title">
<h1 class="title-custom">Dein Seitentitel</h1>
</div>
<div class="services-description">
<h2 class="subtitle-custom">Deine Beschreibung hier</h2>
</div>
</div>
</div>
{{ with .Params.description }}
<div class="services-description">
<h3 style="margin:0; font-weight:400;">{{ . | markdownify }}</h3>
</div>
{{ end }}
</div>
</div>
</div>
</section>
</body>
</html>