From 75493ed80eeb138bbcec1d713247bf774c4476cf Mon Sep 17 00:00:00 2001 From: Mattias Thall Date: Tue, 26 May 2026 21:18:24 +0200 Subject: [PATCH] Center and style video subtitles via ::cue Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/index.css b/frontend/src/index.css index fb7e732..909d011 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -17,6 +17,14 @@ } } +video::cue { + text-align: center; + background: rgba(0, 0, 0, 0.75); + color: #ffffff; + font-size: 1rem; + line-height: 1.4; +} + @layer utilities { .line-clamp-2 { display: -webkit-box;