summaryrefslogtreecommitdiffstats
path: root/src/components/templates/layout/layout.module.scss
blob: eb84c705dcb27a9bf387fa52cd94033b6f971ed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/mixins" as mix;

:global {
  #__next {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
    min-height: 100vh;
  }
}

.header {
  padding: var(--spacing-sm) 0 var(--spacing-md);
  border-bottom: fun.convert-px(3) solid var(--color-border-light);
}

.main {
  flex: 1;
}

.footer {
  border-top: fun.convert-px(3) solid var(--color-border-light);
}

.noscript-spacing {
  width: 100%;
  height: fun.convert-px(75);

  @include mix.media("screen") {
    @include mix.dimensions("xs") {
      height: fun.convert-px(50);
    }
  }
}