diff --git a/sass/_utils.scss b/sass/_utils.scss index fb8e41c8628407d5490ed5b99ffaac3c3ebfc2f1..197169824266641a9edc5aae50e29a2abedb2b57 100644 --- a/sass/_utils.scss +++ b/sass/_utils.scss @@ -9,3 +9,7 @@ figure.image > figcaption { width: 100%; opacity: 75%; } + +.content .gallery figure { + margin: 0; +} diff --git a/templates/shortcodes/gallery.html b/templates/shortcodes/gallery.html index 2786f98bad8d252a56cbb83c55eb566d51f1ec49..3a9476fc11f3324123c4d41425cc2832c9470cdf 100644 --- a/templates/shortcodes/gallery.html +++ b/templates/shortcodes/gallery.html @@ -1,4 +1,4 @@ -<section class="section"> +<section class="section gallery"> <div class="columns is-multiline is-same-height is-centered is-mobile"> {% for picture in page.extra.gallery[name] %} <div class="column is-one-third is-half-mobile">