Redeifine mini size for when we let sitename slide over the logo #114

This commit is contained in:
benjamin melançon 2025-07-19 22:08:36 -04:00
parent 018dd5a6a6
commit bcb559caa6
3 changed files with 14 additions and 5 deletions

View file

@ -7,9 +7,18 @@
// Center logo & sitename when they stack on tiny screens.
@include mixins.until(local.$mini) {
.sitename.column,
.logo.column {
width: 100%;
.geo-logo-name .sitename {
position: absolute;
left: calc(100vw - 14rem);
top: 0.5rem;
}
// .logo.column {
// width: 100%;
// }
.navigation.column .hamburger {
position: absolute;
right: 0;
top: 0.5rem;
}
}

View file

@ -22,7 +22,7 @@ $gleaning: $yellow;
// Update Bulma's global variables.
$primary: $geo-green;
$mini: 363px;
$mini: 448px;
// Font family
$family-geo: "Ocan", "Ubuntu", "Arial Narrow", "Helvetica", "Arial", "Lucida", sans-serif !default;

View file

@ -14,7 +14,7 @@
@forward "elements";
@forward "../../node_modules/bulma/sass/form/_index";
@forward "form";
$navbar-breakpoint: calc($mini/2);
// $navbar-breakpoint: calc($mini/2);
@forward "../../node_modules/bulma/sass/components/_index";
@forward "components";
@forward "../../node_modules/bulma/sass/grid/_index";