This commit is contained in:
Sergej Jahne 2024-04-17 23:22:10 +02:00
commit 668297a1a4
2 changed files with 50 additions and 24 deletions

View File

@ -59,8 +59,33 @@ section {
height: 100vh;
}
#openingHours {
background: linear-gradient(90deg, rgb(0, 159, 155), rgb(157, 254, 175));
}
.glass {
padding: 30px;
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
/* Animation */
scale: .8;
opacity: 0;
animation: fade-in linear forwards;
animation-timeline: view();
animation-range: entry;
}
.table>:not(caption)>*>* {
background-color: transparent !important;
border-bottom-width: 0 !important;
}
footer {
height: 240px;
height: 160px;
}
.swiper {
@ -71,3 +96,7 @@ footer {
.swiper-pagination-bullet {
background-color: rgba(0, 0, 0, 1) !important
}
@keyframes fade-in {
to { scale: 1; opacity: 1;}
}

View File

@ -11,24 +11,21 @@
<body>
<!-- Navbar -->
<nav class="navbar sticky-top navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="Src/zoowebseite-high-resolution-logo-transparent.png" alt="Logo" width="170" height="auto" class="d-inline-block align-text-top">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ms-auto">
<a class="nav-link" aria-current="page" href="#ueberUns">Über uns</a>
<a class="nav-link" href="#openingHours">Öffnungszeiten</a>
<a class="nav-link" href="#">Patenshop</a>
</div>
</div>
</div>
</nav>
<nav class="navbar sticky-top navbar-expand-lg bg-body-tertiary bg-dark border-bottom border-body" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="#"><img src="Src/zoowebseite-high-resolution-logo-transparent.png" alt="Logo" width="120" height="120" class="d-inline-block align-text"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-link active" aria-current="page" href="#">Über uns</a>
<a class="nav-link" href="#openingHours">Öffnungszeiten</a>
<a class="nav-link" href="#">Patenshop</a>
</div>
</div>
</div>
</nav>
<!-- Über Uns Section -->
<section class="container" id="ueberUns">
@ -56,11 +53,11 @@
</section>
<!-- Öffnungszeiten Section -->
<section class="container d-flex" id="openingHours">
<div class="row justify-content-center align-self-center">
<h1 class="text-center">Öffnungszeiten</h1>
<section class="position-relative" id="openingHours">
<div class="position-absolute top-50 start-50 translate-middle w-50 glass text-white text-center">
<h1>Öffnungszeiten</h1>
<br>
<table class="table">
<table class="table table-dark">
<thead>
<tr>
<th>Tag</th>
@ -93,7 +90,7 @@
<!-- Footer -->
<footer class="container-fluid d-flex bg-dark">
<img src="Src/zoowebseite-high-resolution-logo-transparent.png" height="200" class="align-self-center">
<img src="Src/zoowebseite-high-resolution-logo-transparent.png" width="200" class="align-self-center">
<div>
<li></li>
<li></li>