parent
1bde6ebd96
commit
c01ade5951
2 changed files with 21 additions and 2 deletions
|
@ -29,7 +29,7 @@ const form = new FormGroup([
|
||||||
/>
|
/>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/"
|
<a href="/"
|
||||||
>📚 Library</a
|
>📚 Home</a
|
||||||
>
|
>
|
||||||
•
|
•
|
||||||
<a target="_blank" href="https://github.com/ayoayco/cozy"
|
<a target="_blank" href="https://github.com/ayoayco/cozy"
|
||||||
|
|
|
@ -31,8 +31,26 @@ const { title } = Astro.props;
|
||||||
<style>
|
<style>
|
||||||
#main-content {
|
#main-content {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 600px;
|
max-width: 1000px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
#library-wrapper {
|
||||||
|
flex: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
#post-wrapper {
|
||||||
|
flex: 2
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 0px) and (max-width: 700px) {
|
||||||
|
#main-content {
|
||||||
|
max-width: 600px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
@ -44,4 +62,5 @@ const { title } = Astro.props;
|
||||||
html * {
|
html * {
|
||||||
font-family: var(--system-ui);
|
font-family: var(--system-ui);
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue