diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 02:51:09 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-08-29 02:51:09 +0200 |
| commit | ee695753f709b868f7ad14e843d6569261a6db67 (patch) | |
| tree | 3f6f39004986cf3bc324844f4f44020468571269 /public | |
| parent | 426759cb1760f147f0c16af93dfe95f04b334d65 (diff) | |
css
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css.css | 6 | ||||
| -rw-r--r-- | public/assets/site.js | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/public/assets/css.css b/public/assets/css.css index f150c7b..e3ce765 100644 --- a/public/assets/css.css +++ b/public/assets/css.css @@ -18,7 +18,7 @@ body.entry, body.submit { overflow: hidden; } -a { +.readmore, a { color: #2947f3; } #header { @@ -171,6 +171,10 @@ h2 { cursor: pointer; z-index: 2; } +.readmore { + cursor: pointer; + text-decoration: underline; +} /* TESTIMONIALS */ diff --git a/public/assets/site.js b/public/assets/site.js index 2432bef..91e0c0b 100644 --- a/public/assets/site.js +++ b/public/assets/site.js @@ -33,7 +33,7 @@ function ready() { build() } function bind(){ - $('.cell').click( function(){ + $('.readmore').click( function(){ var id = $(this).data().id var entry = site.entries[id] show_entry(entry) @@ -70,8 +70,8 @@ function bind(){ draggable: true, autoPlay: 0, }) - $("#left").click(() => { postGallery.next() }) - $("#right").click(() => { postGallery.previous() }) + $("#left").click(() => { postGallery.previous() }) + $("#right").click(() => { postGallery.next() }) } function build(){ $('.cell').each( function(){ |
