small design change

This commit is contained in:
Firq 2023-03-16 23:29:16 +01:00
parent c7017bfd24
commit 784d66bebc
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
9 changed files with 76 additions and 8 deletions

View file

@ -6,7 +6,7 @@ export interface Props {
const { title } = Astro.props
---
<section>
<section class="base">
<h1>{title}</h1>
<div>
<slot />
@ -35,4 +35,17 @@ const { title } = Astro.props
justify-content: left;
}
}
@media (min-width: 400px) {
.base {
margin-left: 3rem;
margin-right: 3rem;
}
}
@media (min-width: 1500px) {
.base {
margin-left: 10%;
margin-right: 10%;
}
}
</style>