# HG changeset patch # User casties # Date 1370265746 -7200 # Node ID 6bdf54b67fca139436ac2083cf2255bfd6fc16d6 # Parent 7771cdd95398c56e703c7247263a022bb7fe7549 nicer slider on homepage. diff -r 7771cdd95398 -r 6bdf54b67fca css/mpiwg.css --- a/css/mpiwg.css Mon Jun 03 13:26:25 2013 +0200 +++ b/css/mpiwg.css Mon Jun 03 15:22:26 2013 +0200 @@ -525,16 +525,21 @@ } /* book slider */ -div.main.home div.slider.row.double > div.col { - /* width is ignored in this table row, so we have to use paddding */ - width: 100px; - padding-right: 23px; +div.newbooks div.slider.row.double > div.col > div.mini { + width: 123px; } -div.main.home div.slider.row.double > div.col div.mini img { +div.newbooks div.slider.row.double > div.col > div.mini img { width: 100px; } - -div.main.home div.row.triple div.ajaxSlider div.slidebutton { +div.newbooks div.slider.row.double > div.col { + /* non-ajax version has padding-left (even first-child) */ + padding-left: 20px; +} +div.newbooks div.slidewindow > div.slider.row.double > div.col:first-child { + /* ajax version first-child has no padding-left */ + padding-left: 0; +} +div.newbooks div.slidebutton { top: 80px; }