diff options
author | Volpeon <git@volpeon.ink> | 2021-12-30 07:41:17 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-12-30 07:41:17 +0100 |
commit | 1f57750948b4b6fea541e5ed4f473b592b66e47e (patch) | |
tree | d2ff81165f605e1d0fcdd4864963d06c9a77f9b6 /templates | |
parent | Lightbox optimizations (diff) | |
download | volpeon.ink-1f57750948b4b6fea541e5ed4f473b592b66e47e.tar.gz volpeon.ink-1f57750948b4b6fea541e5ed4f473b592b66e47e.tar.bz2 volpeon.ink-1f57750948b4b6fea541e5ed4f473b592b66e47e.zip |
Improved lightbox
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index 0690ee1..6da1065 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -84,11 +84,15 @@ ${layouts/page()} | |||
84 | <div class="c-lightbox"> | 84 | <div class="c-lightbox"> |
85 | <div class="c-lightbox__bg"></div> | 85 | <div class="c-lightbox__bg"></div> |
86 | 86 | ||
87 | <button class="c-lightbox__close"> | 87 | <div class="c-lightbox__infobar"> |
88 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> | 88 | <span class="c-lightbox__count"></span> |
89 | <use href="/symbols.svg#icon-x"></use> | 89 | |
90 | </svg> | 90 | <button class="c-lightbox__close"> |
91 | </button> | 91 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> |
92 | <use href="/symbols.svg#icon-x"></use> | ||
93 | </svg> | ||
94 | </button> | ||
95 | </div> | ||
92 | 96 | ||
93 | <button class="c-lightbox__prev"> | 97 | <button class="c-lightbox__prev"> |
94 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> | 98 | <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true"> |