From 55c0b3bb1c690d7feaaa38595e5942a77e8faf96 2016-12-31 18:58:18 From: Brett Smith Date: 2016-12-31 18:58:18 Subject: [PATCH] css: Remove unused rules. The rationale given in the comments for these rules no longer applies: there are no divs with class column or conservancy-blog on any pages. Meanwhile, they're causing unwanted styling: we started using the column class on the front page for two-column layout, and the videos are appearing smaller than desired there. Just remove these. --- diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index 7613e847d71467fda9831a9935ddbb87e754a67f..f27957405d8c3e4ddd6b4899e8b09a21108eb544 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -472,33 +472,6 @@ dd { font-size: 110%; } -/* 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%; - margin-left: .7em; - margin-bottom: .4em; -} - -body.conservancy-blog video { - float: right; - height: auto !important; - width: 50% !important; - max-width: 75%; - margin-left: .7em; - margin-bottom: .7em; -} - -/* In older firefox/iceweasel, the above did not work. The below is a legacy -** hack, and requires you to remember to put class="small-right" and class="medium-right" -*/ - video.small-right { float: right; height: auto !important;