Created new main card and created a container for inner element of main page.

This commit is contained in:
2023-08-31 22:27:21 +01:00
parent 0a647357b5
commit 94cc74bcdb
4 changed files with 50 additions and 14 deletions

View File

@ -1,4 +1,22 @@
<style>
.main-container {
margin-left: 10%;
margin-right: 10%;
}
nav {
position: relative;
overflow:visible;
display: flex;
justify-content: center;
gap: 1.5em;
padding: 0em 0em 1.5em 0em;
z-index: 2;
height: 1.5em;
border-radius: 4px;
}
</style>
<nav>
<a href = "test">//tab</a>
@ -6,4 +24,8 @@
<a href = "test">//tab</a>
</nav>
<slot />
<div class="main-container">
<slot />
</div>