summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-29 19:16:35 +0100
committerVolpeon <git@volpeon.ink>2021-12-29 19:16:35 +0100
commitbcee1a0f4615d90bd714adf8bea79baffe006579 (patch)
tree2cd6b6cd74a47420a4b4a5b0eedb5ae185d91a05 /templates
parentInitial gallery macro (diff)
downloadvolpeon.ink-bcee1a0f4615d90bd714adf8bea79baffe006579.tar.gz
volpeon.ink-bcee1a0f4615d90bd714adf8bea79baffe006579.tar.bz2
volpeon.ink-bcee1a0f4615d90bd714adf8bea79baffe006579.zip
Added lightbox
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html27
1 files changed, 26 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 22ff913..0690ee1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -81,7 +81,32 @@ ${layouts/page()}
81 </div> 81 </div>
82 </footer> 82 </footer>
83 83
84 <script src="/script.js"></script> 84 <div class="c-lightbox">
85 <div class="c-lightbox__bg"></div>
86
87 <button class="c-lightbox__close">
88 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
89 <use href="/symbols.svg#icon-x"></use>
90 </svg>
91 </button>
92
93 <button class="c-lightbox__prev">
94 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
95 <use href="/symbols.svg#icon-chevron-left"></use>
96 </svg>
97 </button>
98
99 <button class="c-lightbox__next">
100 <svg class="c-card__block o-icon" width="1em" height="1em" aria-hidden="true">
101 <use href="/symbols.svg#icon-chevron-right"></use>
102 </svg>
103 </button>
104
105 <img class="c-lightbox__img" />
106 </div>
107
108 <script src="/lightbox.js"></script>
109 <script src="/snow.js"></script>
85</body> 110</body>
86 111
87</html> 112</html>