1 files added
1 files modified
| | |
| | | transform-origin: 50% 50% |
| | | transform: rotate(145deg) |
| | | right: 0.45rem |
| | | |
| | | .gallery |
| | | width: 100% |
| | | column-count: 3 |
| | | column-gap: 1rem |
| | | @media screen and (max-width: 667px) |
| | | column-count: 2 |
| | | &_item |
| | | background-color: transparent |
| | | margin: 0 0 1rem |
| | | &_image |
| | | margin: 0 auto |
| New file |
| | |
| | | {{- $images := split (replace (.Get 0) ", " ",") "," }} |
| | | {{- $descriptions := split (replace (.Get 1) ":: " "::") "::" }} |
| | | <div class="gallery"> |
| | | {{ range $index, $image := $images }} |
| | | <figure class="gallery_item"> |
| | | <img src="{{ absURL $image }} " class="gallery_image"{{ with $descriptions }}{{ with (index . $index) }} alt="{{ . }}"{{ end }}{{ end }}/> |
| | | </figure> |
| | | {{ end }} |
| | | </div> |