summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-19 13:41:22 +0200
committerVolpeon <git@volpeon.ink>2022-06-19 13:41:22 +0200
commit4fe6ced2f0e1657969ab87966baf740f2fea2fc7 (patch)
tree8798fee614fc3c5198155c00408654cc4f99c41a /assets
parentUpdate (diff)
downloadvolpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.tar.gz
volpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.tar.bz2
volpeon.ink-4fe6ced2f0e1657969ab87966baf740f2fea2fc7.zip
Improved lightbox
Diffstat (limited to 'assets')
-rw-r--r--assets/css/components/_exhibit.scss27
1 files changed, 2 insertions, 25 deletions
diff --git a/assets/css/components/_exhibit.scss b/assets/css/components/_exhibit.scss
index 6122206..9ef013b 100644
--- a/assets/css/components/_exhibit.scss
+++ b/assets/css/components/_exhibit.scss
@@ -3,31 +3,8 @@
3@use 'include-media/dist/include-media' as media; 3@use 'include-media/dist/include-media' as media;
4 4
5@include iro.props-namespace('exhibit') { 5@include iro.props-namespace('exhibit') {
6 @include iro.props-store((
7 --colors: (
8 --footer: (
9 --bg: fn.global-color(--bg-hi),
10 ),
11 )
12 ), 'colors');
13
14 @include iro.bem-component(iro.props-namespace()) { 6 @include iro.bem-component(iro.props-namespace()) {
15 display: grid; 7 height: 100vh;
16 grid-template-rows: 1fr auto; 8 height: 100dvh;
17 grid-template-areas: 'content' 'footer';
18 box-sizing: border-box;
19 height: 100vh;
20 height: 100dvh;
21
22 @include iro.bem-elem('content') {
23 grid-area: content;
24 height: auto;
25 overflow: hidden;
26 }
27
28 @include iro.bem-elem('footer') {
29 grid-area: footer;
30 background-color: fn.color(--footer --bg);
31 }
32 } 9 }
33} 10}