From a863cbcd9287c0dfa4b5d0e6ad9552ab13838991 Mon Sep 17 00:00:00 2001 From: deflax Date: Fri, 19 Jan 2024 05:17:48 +0200 Subject: [PATCH] pimp my gallery even harder :D --- src/scheduler/templates/gallery.html | 68 +++++++++++++++++++++------- 1 file changed, 51 insertions(+), 17 deletions(-) diff --git a/src/scheduler/templates/gallery.html b/src/scheduler/templates/gallery.html index 2758086..2b2e33b 100644 --- a/src/scheduler/templates/gallery.html +++ b/src/scheduler/templates/gallery.html @@ -2,47 +2,81 @@ - - DeflaxTV Video Gallery + .overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: flex; + justify-content: center; + align-items: center; + opacity: 0; + transition: opacity 0.3s ease; + } + + .gallery-item:hover .overlay { + opacity: 1; + } + + .overlay-content { + text-align: center; + color: #fff; + } + + DeflaxTV Video Gallery -

Video Gallery

-
- {% for thumbnail in thumbnails %} -