Skip to content

Commit

Permalink
chore: fix layouts to look nicer on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: thisisobate <[email protected]>
  • Loading branch information
thisisobate committed Dec 10, 2024
1 parent 7a69ed2 commit afbc6ad
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/assets/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ figure {
width: 100%;
height: 100%;
object-fit: contain;
object-position: right;
}

.bg-blue {
Expand Down Expand Up @@ -286,6 +287,10 @@ figure {
margin-top: 1rem;
}

.md-footer-meta {
background-color: transparent;
}

.md-footer-social {
padding-top: 20px;
}
Expand Down Expand Up @@ -344,7 +349,14 @@ figure {
width: 200px;
height: 100px;
}
}

@media (max-width: 960px) {
.feature-image-container > img,
.feature-image-container--vertical > img {
object-position: center;
}
}

@media (max-width: 1300px) {
.mdx-hero__content,
Expand Down Expand Up @@ -402,6 +414,12 @@ figure {
}
}

@media screen and (max-width: 40em) {
.bg-default {
height: 100vh;
}
}

@media screen and (min-width: 60em) {
.md-sidebar--secondary {
display: none;
Expand Down Expand Up @@ -485,4 +503,8 @@ figure {
.md-nav--primary .md-nav__title .md-nav__icon {
display: none !important;
}

.md-footer-meta {
padding: 0px 30px;
}
}

0 comments on commit afbc6ad

Please sign in to comment.