diff options
Diffstat (limited to 'assets/css/components')
| -rw-r--r-- | assets/css/components/_exhibit.scss | 27 |
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 | } |
