Skip to content

Commit

Permalink
Homepage mobile support [docs]
Browse files Browse the repository at this point in the history
  • Loading branch information
bboonstra committed Oct 21, 2024
1 parent 694cc68 commit 634cab6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ body {
align-items: center;
flex-direction: column;
scroll-snap-align: start; /* Align sections for snapping */
padding: 20px;
text-align: center;
}

.section * {
max-width: 80%;
min-width: 300px;
}

.section h2 {
Expand Down
14 changes: 11 additions & 3 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,19 @@ a:hover {
}

.banner-logo {
width: 80vw;
max-width: 80vw;
height: auto;
padding: 0px;
margin: 0px;
padding: 0;
margin: 0;
}

@media (max-width: 768px) {
.banner-logo {
width: 100vw !important;
max-width: 100vw !important;
}
}

#sidebarToggle {
background: none;
border: none;
Expand Down

0 comments on commit 634cab6

Please sign in to comment.