summaryrefslogtreecommitdiff
path: root/src/routes/+layout.svelte
blob: 777257470ade39b2ef35ef85ec0bd719314f66f7 (plain) (blame)
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
<script lang="ts">
  import Header from './Header.svelte';
  import './styles.scss';
</script>

<div class="app">
  <Header>
    <main>
      <slot />
    </main>
  </Header>
</div>

<style>
  .app {
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
      padding-top: 4em;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    box-sizing: border-box;
  }
</style>