# HG changeset patch # User Paul Boddie # Date 1200942633 -3600 # Node ID d6c55ab07502cbd9f0f39b57dfe99a8ea6f8dcdd # Parent 657baf9e13ab67cb4ef1f67b6027e692b0d214bb Added dirty IE hack to make images have the appropriate size on the front page. diff -r 657baf9e13ab -r d6c55ab07502 themes/ep2008/css/screen.css --- a/themes/ep2008/css/screen.css Sun Jan 20 03:07:18 2008 +0100 +++ b/themes/ep2008/css/screen.css Mon Jan 21 20:10:33 2008 +0100 @@ -630,11 +630,13 @@ .portlet-slides td.third img { max-width: 180px; width: 100%; + width: expression(document.body.clientWidth > 1280 ? 180 : 180*document.body.clientWidth/1280); } .portlet-slides td.half img { max-width: 240px; width: 100%; + width: expression(document.body.clientWidth > 1280 ? 240 : 240*document.body.clientWidth/1280); } .picture {