From 2ec25639c945bd06cfb99c356fa3dac0e3b10a4b Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Fri, 11 Dec 2015 10:37:11 -0800 Subject: [PATCH] Improved CSS for video tags on our blog. --- www/conservancy/static/css/conservancy.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index b119e8ee..b28c453f 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -431,3 +431,22 @@ dd { .fundraiser-top-text em { font-size: 120%; } + +/* These vido controls are based on the fact that our videos often appear on +** the blog summary areas, which are in a div with class column, and in the +** main blog, which is in the body with class conservancy-blog +*/ + +div.column video { + float: right; + height:auto !important; + width:25% !important; + max-width:50%; +} + +body.conservancy-blog video { + float: right; + height:auto !important; + width:50% !important; + max-width:75%; +}