From ee695753f709b868f7ad14e843d6569261a6db67 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 29 Aug 2017 02:51:09 +0200 Subject: css --- public/assets/css.css | 6 +++++- public/assets/site.js | 6 +++--- templates/acknowledgements.liquid | 32 ++++++++++++++++++++++++++++++++ templates/entry.liquid | 36 ++++++++++++++++++++++++++++++++++++ templates/index.liquid | 4 +++- 5 files changed, 79 insertions(+), 5 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(){ diff --git a/templates/acknowledgements.liquid b/templates/acknowledgements.liquid index 0281387..d5096a3 100644 --- a/templates/acknowledgements.liquid +++ b/templates/acknowledgements.liquid @@ -1,4 +1,36 @@ + How to make a Folkestone. diff --git a/templates/entry.liquid b/templates/entry.liquid index bf1d64d..1f87ada 100644 --- a/templates/entry.liquid +++ b/templates/entry.liquid @@ -1,4 +1,36 @@ + @@ -45,6 +77,10 @@
{{ entry.body | newline_to_br }} +
{% endunless %} diff --git a/templates/index.liquid b/templates/index.liquid index fa74676..4c66ab5 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -1,3 +1,5 @@ + + -- cgit v1.2.3-70-g09d2