Switch to Astro #4
2 changed files with 12 additions and 1 deletions
|
@ -18,6 +18,17 @@ import { SITE_TITLE } from '../consts';
|
||||||
background: white;
|
background: white;
|
||||||
box-shadow: 0 2px 8px rgba(var(--black), 50%);
|
box-shadow: 0 2px 8px rgba(var(--black), 50%);
|
||||||
}
|
}
|
||||||
|
@media (max-width: 720px) {
|
||||||
|
header{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 720px) {
|
||||||
|
nav{
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
h2 {
|
h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
@ -31,7 +42,6 @@ import { SITE_TITLE } from '../consts';
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-flow: column wrap;
|
flex-flow: column wrap;
|
||||||
height: 100vh;
|
|
||||||
width: 200px;
|
width: 200px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
|
@ -130,6 +130,7 @@ hr {
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
body {
|
body {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
Loading…
Add table
Reference in a new issue