mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 04:14:25 +00:00
- On mobile, position toggle on left and logo in centre (adopt standard) - Show Search, Day/Night, and Language icons in mobile menu bar - Add option to align menu items to left, centre, or right - Add option to remove logo image/text from menu - Complete navbar SCSS redesign, making use of Bootstrap vars - Add automatic menu dropdowns on mouseover (for desktop) Also, - Apply live day/night update on system prefs change (no need for refresh) - Add Mermaid security level on init - a req. for latest Mermaid version BREAKING CHANGES: menu_align_right option removed from params.toml main_menu option added to params.toml Close #1418
24 lines
577 B
SCSS
24 lines
577 B
SCSS
/* Set Bootstrap variables */
|
|
|
|
// Set colors.
|
|
$primary: $sta-primary;
|
|
$text-muted: rgba(0,0,0,0.54);
|
|
|
|
// Container widths - override XL default of `1140px`.
|
|
$container-max-widths: (
|
|
sm: 540px,
|
|
md: 720px,
|
|
lg: 960px,
|
|
xl: 1200px
|
|
);
|
|
|
|
$navbar-toggler-padding-x: 0;
|
|
$navbar-toggler-font-size: 18px;
|
|
$navbar-brand-font-size: 1.2rem;
|
|
|
|
$navbar-light-color: $sta-menu-text;
|
|
$navbar-light-active-color: $sta-menu-text-active;
|
|
$navbar-light-brand-color: $sta-menu-title;
|
|
$navbar-light-brand-hover-color: $navbar-light-active-color;
|
|
$navbar-light-toggler-border-color: transparent;
|