Skip to content

Commit

Permalink
style: responsiveness (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 authored Apr 8, 2024
1 parent bcee525 commit 6f5e2cd
Showing 1 changed file with 24 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,16 @@
flex-direction: column;
justify-content: center;
gap: 4rem;
max-width: 80%;

@media screen and (min-width: 640px) {
max-width: 80%;
}

@media screen and (min-width: 1280px) {
max-width: unset;
margin-top: 5rem;
gap: 8rem;
}

.polaroidHeading {
position: relative;
Expand All @@ -61,39 +70,42 @@
text-align: center;

.keynotePolaroid {
width: 70%;
background: no-repeat center;
background-size: contain;

display: grid;
place-content: center;

@media screen and (min-width: 640px) {
width: 90%;
}
.content {
margin: 0 auto;
width: 70%;
width: 80%;
}
}
}

.people {
display: grid;
grid-template-columns: repeat(2, 1fr);
row-gap: 3rem;
column-gap: 1rem;
grid-template-columns: repeat(1, 1fr);
row-gap: 2rem;
max-width: min(350px, 80%);
margin: auto;

@media screen and (min-width: 640px) {
grid-template-columns: repeat(2, 1fr);
max-width: unset;
}

@media screen and (min-width: 768px) {
column-gap: 3rem;
column-gap: 2rem;
}

@media screen and (min-width: 1280px) {
grid-template-columns: repeat(3, 1fr);
}
}

@media screen and (min-width: 1280px) {
margin-top: 5rem;
gap: 8rem;
}
}

@media screen and (min-width: 640px) {
Expand Down

0 comments on commit 6f5e2cd

Please sign in to comment.