Mercurial > hg > MPIWGWeb
diff css/mpiwg.css @ 151:6bdf54b67fca
nicer slider on homepage.
author | casties |
---|---|
date | Mon, 03 Jun 2013 15:22:26 +0200 |
parents | 7771cdd95398 |
children | c115a18dbbe1 |
line wrap: on
line diff
--- 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; }