diff --git a/module/webroot/index.js b/module/webroot/index.js index 9f78482..7d4091b 100644 --- a/module/webroot/index.js +++ b/module/webroot/index.js @@ -231,8 +231,8 @@ const menu = document.querySelector('.menu'); window.addEventListener('scroll', () => { if (window.scrollY > lastScrollY) { title.style.transform = 'translateY(-100%)'; - searchCard.style.transform = 'translateY(-40px)'; - menu.style.transform = 'translateY(-40px)'; + searchCard.style.transform = 'translateY(-35px)'; + menu.style.transform = 'translateY(-35px)'; } else { title.style.transform = 'translateY(0)'; searchCard.style.transform = 'translateY(0)'; diff --git a/module/webroot/styles.css b/module/webroot/styles.css index f633930..9b4dcdf 100644 --- a/module/webroot/styles.css +++ b/module/webroot/styles.css @@ -8,7 +8,7 @@ body { font-size: 18px; font-weight: bold; left: 0; - padding: 7px 25px; + padding: 10px 25px; position: fixed; text-align: left; top: 0; @@ -213,7 +213,7 @@ body { .search-input { color: white; } - + .menu-options, #menu-button { background-color: #343434;