From 3153b437ea5469c343a1e157ccd95d831eccbe2f Mon Sep 17 00:00:00 2001 From: Juwan Jouma <144624787+The5TiM@users.noreply.github.com> Date: Wed, 17 Apr 2024 22:17:36 +0200 Subject: [PATCH] Refactor index.html and enhance style.css with glassmorphism effect for opening hours section --- Styles/style.css | 31 ++++++++++++++++++++++++++++++- index.html | 12 ++++++------ 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/Styles/style.css b/Styles/style.css index dee8606..4480902 100644 --- a/Styles/style.css +++ b/Styles/style.css @@ -3,8 +3,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 { @@ -15,3 +40,7 @@ footer { .swiper-pagination-bullet { background-color: rgba(0, 0, 0, 1) !important } + +@keyframes fade-in { + to { scale: 1; opacity: 1;} +} diff --git a/index.html b/index.html index 8ef8f83..381c2ed 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@