diff options
author | Volpeon <git@volpeon.ink> | 2022-06-19 13:41:22 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-19 13:41:22 +0200 |
commit | 4fe6ced2f0e1657969ab87966baf740f2fea2fc7 (patch) | |
tree | 8798fee614fc3c5198155c00408654cc4f99c41a /templates/layouts/exhibit.html | |
parent | Update (diff) | |
download | volpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.tar.gz volpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.tar.bz2 volpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.zip |
Improved lightbox
Diffstat (limited to 'templates/layouts/exhibit.html')
-rw-r--r-- | templates/layouts/exhibit.html | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html index 1e0f19c..7e45298 100644 --- a/templates/layouts/exhibit.html +++ b/templates/layouts/exhibit.html | |||
@@ -5,26 +5,24 @@ | |||
5 | itemtype="https://schema.org/$schema_type$" | 5 | itemtype="https://schema.org/$schema_type$" |
6 | itemid="$url.full$" | 6 | itemid="$url.full$" |
7 | > | 7 | > |
8 | <section class="c-exhibit js-lightbox js-lightbox--standalone"> | 8 | <section class="c-exhibit o-lightbox js-lightbox js-lightbox--standalone"> |
9 | <div class="c-exhibit__content o-lightbox"> | 9 | <img class="o-lightbox__img" /> |
10 | <img class="o-lightbox__img" /> | 10 | |
11 | 11 | <button class="o-lightbox__nav-btn o-lightbox__nav-btn--prev o-action-button o-action-button--quiet o-action-button--round"> | |
12 | <button class="o-lightbox__prev-btn o-action-button o-action-button--quiet o-action-button--round"> | 12 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> |
13 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> | 13 | <use href="/icons.svg#chevron-left"></use> |
14 | <use href="/icons.svg#chevron-left"></use> | 14 | </svg> |
15 | </svg> | 15 | </button> |
16 | </button> | 16 | |
17 | 17 | <button class="o-lightbox__nav-btn o-lightbox__nav-btn--next o-action-button o-action-button--quiet o-action-button--round"> | |
18 | <button class="o-lightbox__next-btn o-action-button o-action-button--quiet o-action-button--round"> | 18 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> |
19 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> | 19 | <use href="/icons.svg#chevron-right"></use> |
20 | <use href="/icons.svg#chevron-right"></use> | 20 | </svg> |
21 | </svg> | 21 | </button> |
22 | </button> | 22 | |
23 | 23 | <div class="o-lightbox__thumbnails"></div> | |
24 | <footer class="o-lightbox__footer"></footer> | ||
25 | </div> | ||
26 | 24 | ||
27 | <footer class="c-exhibit__footer"> | 25 | <footer class="o-lightbox__footer"> |
28 | <div class="l-container l-container--pad-x l-container--narrow-125"> | 26 | <div class="l-container l-container--pad-x l-container--narrow-125"> |
29 | <div class="l-media l-media--200 u-pl-0 u-pr-0"> | 27 | <div class="l-media l-media--200 u-pl-0 u-pr-0"> |
30 | <div class="l-media__block l-media__block--main"> | 28 | <div class="l-media__block l-media__block--main"> |