Compare commits
1 Commits
0a50d0214d
...
c3935f1924
| Author | SHA1 | Date | |
|---|---|---|---|
| c3935f1924 |
@@ -20,7 +20,11 @@ Automagical css image gallery in [Hugo](https://gohugo.io/) using shortcodes. Li
|
|||||||
- CSS and JS is automatically loaded the first time you use the `{{< snap-gallery >}}` shortcode on each page
|
- CSS and JS is automatically loaded the first time you use the `{{< snap-gallery >}}` shortcode on each page
|
||||||
- Multiple galleries/slideshows per page supported, no interference
|
- Multiple galleries/slideshows per page supported, no interference
|
||||||
- Automatic rotation of slideshow with a configurable interval. Can also be disabled.
|
- Automatic rotation of slideshow with a configurable interval. Can also be disabled.
|
||||||
- Supports providing metadata such as `alt` and `title` attributes as well as captions
|
- Supports providing metadata such as `alt` and `title` attributes
|
||||||
|
|
||||||
|
### Roadmap / untested
|
||||||
|
|
||||||
|
- Captions
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|||||||
@@ -116,6 +116,13 @@ $gap: var(--gap);
|
|||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Untested
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
z-index: 810;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 767px) {
|
@media screen and (max-width: 767px) {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user