Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion app/assets/stylesheets/partials/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

}

// Adjust styles for navigation when on smaller screens
// Adjust styles for navigation when on tablet-sized screens
@media (max-width: $bp-screen-md) {
.wrap-footer.footer-slim .identity {
margin-bottom: 0;
Expand Down Expand Up @@ -113,4 +113,24 @@
}
}

}

// Adjust layout when on phone portrait sized screens
@media (max-width: $bp-screen-xs) {

.wrap-footer.footer-slim .wrap-middle .wrap-policies nav {
flex-direction: column;
gap: 16px;
}

.wrap-footer-institute .footer-info-institute {
flex-direction: column;
align-items: flex-start;
gap: 12px;

.license {
margin-left: 0;
}
}

}
3 changes: 3 additions & 0 deletions app/assets/stylesheets/partials/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ $lh-base: 1.2;
// Container max-width
$container-max-width: 1280px;

// Additional breakpoints over mitlib-style
$bp-screen-xs: 410px;

// Left/Right Edge Padding
$edge-padding-desktop: 32px;
$edge-padding-tablet: 24px;
Expand Down