Skip to content

Commit

Permalink
Adjust layout on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Aug 20, 2024
1 parent 8339c69 commit 0676fe7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/static/styles/ohs.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ main a {
display: flex;
flex-direction: row;
width: 100%;
gap: 2rem;
gap: 3rem;
align-items: start;
margin-block: 2rem;
}
Expand Down Expand Up @@ -201,6 +201,19 @@ main a {
margin-right: 1rem;
}


@media screen and (max-width: 1023px) {
.cool-person {
flex-direction: column;
}

.cool-person img {
max-width: 75%;
max-height: unset;
margin-inline: auto;
}
}

/* Shadow magic */

.has-outlined-shadow, .has-yellow-outlined-shadow {
Expand Down Expand Up @@ -228,7 +241,7 @@ main a {
margin-block-start: 6rem;
margin-inline: auto;
padding: 3rem 1.5rem 3rem;
max-width: 800px;
max-width: min(800px, 80%);
font-size: 0.9rem;
background-color: var(--ohs-color-primary);
color: white;
Expand Down

0 comments on commit 0676fe7

Please sign in to comment.