2023-06-19 20:38:45 +02:00
|
|
|
<script>
|
|
|
|
import "$lib/components/nordtheme.css"
|
|
|
|
</script>
|
|
|
|
<style>
|
2023-06-21 19:50:27 +02:00
|
|
|
:global(*){
|
2023-06-19 20:38:45 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2023-06-21 19:50:27 +02:00
|
|
|
:global(body){
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
|
|
|
}
|
2023-06-19 20:38:45 +02:00
|
|
|
li{
|
|
|
|
list-style-type:none;
|
|
|
|
transition: 100ms;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
li>a{
|
|
|
|
text-decoration: none;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: inherit
|
|
|
|
}
|
2023-06-21 19:50:27 +02:00
|
|
|
li:hover,
|
|
|
|
li:focus-within
|
|
|
|
{
|
2023-06-19 20:38:45 +02:00
|
|
|
cursor: pointer;
|
|
|
|
color: var(--red);
|
|
|
|
transform: scale(1.1,1.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-block: 2rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 1rem;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
max-width: 1000px;
|
2023-06-21 19:50:27 +02:00
|
|
|
margin: 0;
|
2023-06-19 20:38:45 +02:00
|
|
|
margin-inline: auto;
|
|
|
|
}
|
|
|
|
nav{
|
|
|
|
background-color: var(--nord0);
|
|
|
|
}
|
|
|
|
.wrapper{
|
|
|
|
display:flex;
|
|
|
|
flex-direction: column;
|
2023-06-21 19:50:27 +02:00
|
|
|
min-height: 100svh;
|
2023-06-19 20:38:45 +02:00
|
|
|
}
|
|
|
|
footer{
|
|
|
|
padding-block: 1rem;
|
|
|
|
text-align: center;
|
2023-06-21 19:50:27 +02:00
|
|
|
margin-top: auto;
|
2023-06-19 20:38:45 +02:00
|
|
|
}
|
|
|
|
</style>
|
2023-06-21 19:50:27 +02:00
|
|
|
<div class=wrapper style="">
|
2023-06-19 20:38:45 +02:00
|
|
|
<div>
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><a href="/">Home</a></li>
|
|
|
|
<li><a href="/rezepte">Alle Rezepte</a></li>
|
|
|
|
<li><a href="/rezepte/season">In Saison</a></li>
|
|
|
|
<li><a href="/rezepte/category">Nach Kategorie</a></li>
|
|
|
|
<li><a href="/rezepte/tag">Stichwörter</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<slot></slot>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
Ad maiorem Dei gloriam
|
|
|
|
</footer>
|
|
|
|
</div>
|