diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-22 18:46:48 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-22 18:46:48 +0200 |
| commit | 5a6584777e42e6e3e55294d357cb0adafe2853e7 (patch) | |
| tree | 121dd5fbadf395a5f281fd99bf35c7be25ebe13a /src/components/templates/layout/layout.module.scss | |
| parent | 947a06bfdfdc5bca62c27fa2ee27f0ab9fefa0ea (diff) | |
chore: add a Layout component
It defines the different components used by all other layouts.
Diffstat (limited to 'src/components/templates/layout/layout.module.scss')
| -rw-r--r-- | src/components/templates/layout/layout.module.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/components/templates/layout/layout.module.scss b/src/components/templates/layout/layout.module.scss new file mode 100644 index 0000000..eb84c70 --- /dev/null +++ b/src/components/templates/layout/layout.module.scss @@ -0,0 +1,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); + } + } +} |
