From ff327d1886492c81cb9b89feed7585fc5b54a0fb Mon Sep 17 00:00:00 2001 From: Lanta Date: Tue, 17 Jun 2025 19:25:00 +0200 Subject: [PATCH] theathermode --- includes/styles.css | 34 ++++++++++++++++++++++++++++++++++ includes/styles_mobile.css | 12 ++++++++++++ 2 files changed, 46 insertions(+) diff --git a/includes/styles.css b/includes/styles.css index 7bd91d7..e022ed1 100644 --- a/includes/styles.css +++ b/includes/styles.css @@ -290,3 +290,37 @@ td, th { margin-top: 10px; margin-bottom: 10px; } + +.video-item.theatre-mode { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.9); + z-index: 1000; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20px; + box-sizing: border-box; +} + +.video-item.theatre-mode video { + max-width: 90%; + max-height: 80vh; + width: auto; + height: auto; +} + +.video-item.theatre-mode .video-title { + color: #fff; + order: -1; /* Display title above the video */ +} + +.video-item.theatre-mode .video-controls { + position: relative; + bottom: auto; + margin-top: 15px; +} diff --git a/includes/styles_mobile.css b/includes/styles_mobile.css index f4cda5f..dbea823 100644 --- a/includes/styles_mobile.css +++ b/includes/styles_mobile.css @@ -125,4 +125,16 @@ section h2 { font-weight: bold; margin-top: 8px; margin-bottom: 8px; +} +.video-item.theatre-mode { + padding: 10px; +} + +.video-item.theatre-mode video { + max-width: 100%; + max-height: 70vh; +} + +.video-item.theatre-mode .video-controls { + margin-top: 10px; } \ No newline at end of file