change how the transitions are handled
This commit is contained in:
parent
5114ed70a0
commit
4f5b4dc52c
1 changed files with 66 additions and 60 deletions
|
@ -42,6 +42,7 @@ import "../styles/main.css";
|
||||||
<Intro />
|
<Intro />
|
||||||
|
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
|
<div class="container">
|
||||||
<main
|
<main
|
||||||
data-vtbot-replace="main"
|
data-vtbot-replace="main"
|
||||||
transition:name="main"
|
transition:name="main"
|
||||||
|
@ -49,7 +50,10 @@ import "../styles/main.css";
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
</body><style is:global>
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
<style is:global>
|
||||||
body {
|
body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: min-content auto;
|
grid-template-columns: min-content auto;
|
||||||
|
@ -66,7 +70,7 @@ import "../styles/main.css";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
.container {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
275deg,
|
275deg,
|
||||||
#f38ba8,
|
#f38ba8,
|
||||||
|
@ -92,6 +96,9 @@ import "../styles/main.css";
|
||||||
transparent 0%),
|
transparent 0%),
|
||||||
#181818;
|
#181818;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -102,4 +109,3 @@ import "../styles/main.css";
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</html>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue