diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 02:01:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 02:01:35 +0200 |
| commit | e8ae228988cc1256387ffaa96bf9a160c8268db9 (patch) | |
| tree | f7e0757c8167ffe28bbab684ad2337eb8dc86fe9 /public | |
| parent | 4e79eee06ab3eee2f5c25f7815217102b5630248 (diff) | |
carousellll
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css.css | 7 | ||||
| -rw-r--r-- | 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() }) |
