From e8ae228988cc1256387ffaa96bf9a160c8268db9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 29 Aug 2017 02:01:35 +0200 Subject: carousellll --- public/assets/css.css | 7 ++++--- public/assets/site.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/public/assets/css.css b/public/assets/css.css index 468d69f..f150c7b 100644 --- a/public/assets/css.css +++ b/public/assets/css.css @@ -49,7 +49,7 @@ a { padding: 20px 0; } #logos img { - max-height: 10vh; + max-height: 9vh; margin: 5px; } @@ -108,6 +108,7 @@ h2 { background-position: center center; } .cell { + width: 100vw; display: block; position: relative; padding: 20px; @@ -156,7 +157,7 @@ h2 { position: absolute; top: 2vw; left: 2vw; max-width: 5vw; - height: 100%; + height: 98%; max-height: 82vh; cursor: pointer; z-index: 2; @@ -165,7 +166,7 @@ h2 { position: absolute; top: 2vw; right: 2vw; max-width: 5vw; - height: 100%; + height: 98%; max-height: 82vh; cursor: pointer; z-index: 2; diff --git a/public/assets/site.js b/public/assets/site.js index fd0f181..2432bef 100644 --- a/public/assets/site.js +++ b/public/assets/site.js @@ -68,7 +68,7 @@ function bind(){ pageDots: false, setGallerySize: false, draggable: true, - autoPlay: 5000, + autoPlay: 0, }) $("#left").click(() => { postGallery.next() }) $("#right").click(() => { postGallery.previous() }) -- cgit v1.2.3-70-g09d2