set up initial styling and structure
This commit is contained in:
@@ -1,22 +1,25 @@
|
||||
<script>
|
||||
import Nav from '../components/Nav.svelte';
|
||||
|
||||
import Footer from '../components/Footer.svelte';
|
||||
export let segment;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
position: relative;
|
||||
max-width: 56em;
|
||||
background-color: white;
|
||||
max-width: 60em;
|
||||
background-color: #252526 !important;
|
||||
padding: 2em;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
margin-top: 1em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<Nav {segment}/>
|
||||
<Nav {segment}></Nav>
|
||||
|
||||
<main>
|
||||
<main class="shadow p-3 mb-5 bg-white rounded">
|
||||
<slot></slot>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<Footer></Footer>
|
||||
Reference in New Issue
Block a user