Display Godot version more clearly

This commit is contained in:
Yuri Sizov
2023-03-02 20:19:50 +01:00
parent 956810f61a
commit d14d924470
6 changed files with 57 additions and 37 deletions

View File

@@ -1601,6 +1601,7 @@ p + .classref-constant {
overflow-y: auto;
overflow-x: hidden;
max-height: calc(100% - 348px);
padding-bottom: 24px;
}
@media screen and (max-width: 768px) {
.wy-nav-side {

View File

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