diff --git a/themes/intotheeast/css/style.css b/themes/intotheeast/css/style.css index 7045866..db7fd80 100644 --- a/themes/intotheeast/css/style.css +++ b/themes/intotheeast/css/style.css @@ -216,8 +216,13 @@ body::after { .journal-photo-slide { flex: 0 0 100%; scroll-snap-align: start; - aspect-ratio: 3 / 2; + aspect-ratio: 4 / 3; overflow: hidden; + cursor: zoom-in; + background: none; + border: none; + padding: 0; + display: block; } .journal-photo-slide img { @@ -225,8 +230,11 @@ body::after { height: 100%; object-fit: cover; display: block; + transition: opacity 0.15s; } +.journal-photo-slide:hover img { opacity: 0.9; } + .journal-photo-dots { display: flex; justify-content: center; diff --git a/themes/intotheeast/templates/dailies.html.twig b/themes/intotheeast/templates/dailies.html.twig index 83c3943..a1fdaa2 100644 --- a/themes/intotheeast/templates/dailies.html.twig +++ b/themes/intotheeast/templates/dailies.html.twig @@ -123,9 +123,9 @@ feedMap.on('load', function () { {% if images|length > 0 %}
No entries yet. The journey is about to begin.
{% endif %} + +