fix: moved scss and css to seperate file, fixed overflow

chore: added folders to gitignore

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-11-09 18:06:03 +01:00
parent 906ca7806e
commit ab864e0247
10 changed files with 250 additions and 244 deletions

View file

@ -1,5 +1,6 @@
---
import Layout from "@layouts/Layout.astro";
import '../styles/pages/index.scss';
---
<Layout>
@ -14,37 +15,3 @@ import Layout from "@layouts/Layout.astro";
</div>
</section>
</Layout>
<style lang="scss">
.section {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
.section h1 {
font-size: 4rem;
margin-top: 8rem;
}
.section h5 {
font-size: 1.5rem;
margin-top: 0.25rem;
}
.section div {
margin-top: 1.5rem;
}
.p1 {
font-size: 1rem;
}
.p2 {
font-size: 0.8rem;
}
.p2 a {
font-weight: bolder;
}
</style>