|
@@ -16,13 +16,13 @@ const registerOnScrollEvent = (function(){
|
|
// Configuration.
|
|
// Configuration.
|
|
|
|
|
|
// The number of pixels the user must scroll by before the logo is completely hidden.
|
|
// The number of pixels the user must scroll by before the logo is completely hidden.
|
|
- const scrollTopPixels = 234;
|
|
|
|
|
|
+ const scrollTopPixels = 84;
|
|
// The target margin to be applied to the navigation bar when the logo is hidden.
|
|
// The target margin to be applied to the navigation bar when the logo is hidden.
|
|
- const menuTopMargin = 90;
|
|
|
|
|
|
+ const menuTopMargin = 88;
|
|
// The max-height offset when the logo is completely visible.
|
|
// The max-height offset when the logo is completely visible.
|
|
- const menuHeightOffset_default = 338;
|
|
|
|
|
|
+ const menuHeightOffset_default = 180;
|
|
// The max-height offset when the logo is completely hidden.
|
|
// The max-height offset when the logo is completely hidden.
|
|
- const menuHeightOffset_fixed = 102;
|
|
|
|
|
|
+ const menuHeightOffset_fixed = 98;
|
|
// The distance between the two max-height offset values above; used for intermediate values.
|
|
// The distance between the two max-height offset values above; used for intermediate values.
|
|
const menuHeightOffset_diff = (menuHeightOffset_default - menuHeightOffset_fixed);
|
|
const menuHeightOffset_diff = (menuHeightOffset_default - menuHeightOffset_fixed);
|
|
|
|
|