{% set styling %} .lightbox-gallery { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .lightbox-gallery .lightbox-gallery__columns { display: flex; flex-wrap: wrap; margin: 0 -10px; } .lightbox-gallery .lightbox-gallery__column { width: 50%; padding: 0 10px; margin-bottom: 20px; } .lightbox-gallery img { display: block; border-radius: 5px; transition: all .2s ease-in-out; } .lightbox-gallery img:hover { filter: brightness(60%); transform: scale(1.05); } @media only screen and (min-width: 600px) { .lightbox-gallery .lightbox-gallery__column { width: calc(100% / 3); } } @media only screen and (min-width: 1000px) { .lightbox-gallery .lightbox-gallery__column { width: 25%; } } .lightbox-gallery .hidden { display: none; } {% endset %} {% do assets.addInlineCss(styling) %} {% block module_content %} {% set data = page.header.gallery %} {% set thumb_width = data.thumb.width|default(600) %} {% set thumb_height = data.thumb.height|default(450) %}
{{ item.desc|markdown(false) }}