From 2c96d440e345f63d127bce6a9dc7ff4ed997080d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Thu, 30 Mar 2017 15:13:44 +0200 Subject: [PATCH] Overlaying a transp. bg on an embedded YT video .fullscreen.bg-blue > .embed.dark --- static/css/base.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index ad86c41..d87bc00 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -1591,18 +1591,20 @@ a#previous { } } -/*=== 5.3 Slides - Background Images === */ +/*=== 5.3 Slides - Background Images/Videos === */ .background, -[class*="background-"] { +[class*="background-"],.fullscreen > .embed { position: absolute; top: 0; right: 0; bottom: 0; left: 0; +} +.background, +[class*="background-"]{ background-repeat: no-repeat; } - .background { background-position: center; background-size: cover