Refactor CSS styles and update HTML structure for the "Über Uns" section

This commit is contained in:
Juwan Jouma 2024-04-18 15:49:17 +02:00
parent 12ab5c9c29
commit f2f41f6ecb
2 changed files with 17 additions and 8 deletions

View File

@ -1,7 +1,6 @@
/* Navigation*/
.navbar {
background-color: #212121 !important;
margin-bottom: 20px;
height: 70px;
}
@ -59,10 +58,20 @@ section {
height: 100vh;
}
#openingHours {
background: linear-gradient(90deg, rgb(0, 159, 155), rgb(157, 254, 175));
#ueberUns {
background: linear-gradient(0deg, rgb(0, 159, 155), rgb(33,33,33));
}
#openingHours {
background: linear-gradient(180deg, rgb(0, 159, 155), rgb(157, 254, 175));
}
#patenshop {
background: linear-gradient(90deg, rgb(0, 159, 155), rgb(157, 254, 175));
}
.glass {
padding: 30px;
background: rgba(255, 255, 255, 0.2);

View File

@ -30,10 +30,10 @@
</nav>
<!-- Über Uns Section -->
<section class="container" id="ueberUns">
<div class="row">
<section class="position-relative" id="ueberUns">
<div class="position-absolute top-50 start-50 translate-middle w-50 text-white">
<!-- Slider on the left -->
<div class="col-md-6">
<div class="col-6">
<div class="swiper">
<div class="swiper-wrapper">
<!-- Slides -->
@ -47,7 +47,7 @@
</div>
</div>
<!-- Text on the right -->
<div class="col-md-6">
<div class="col-6">
<h2>Text on the Right</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed gravida, justo eget sagittis malesuada, leo velit lobortis orci, ac sodales lectus ipsum in libero. Phasellus hendrerit justo et risus blandit, nec ultricies ligula facilisis. Pellentesque luctus, justo id vehicula consectetur, metus tortor auctor felis, eget eleifend lorem neque eget lectus. Cras semper, velit non gravida pellentesque, elit lectus rhoncus eros, nec malesuada est nulla eu metus.</p>
</div>