diff --git a/css/index.css b/css/index.css index 0f14811..12232bb 100644 --- a/css/index.css +++ b/css/index.css @@ -133,11 +133,11 @@ header .freeflow { position: absolute; } -#info-menu button { +#info-menu button, #info-mobile-menu button { background-color: transparent; } -#info-menu button a { +#info-menu button a, #info-mobile-menu button a { color: #1a1a1a; } @@ -154,12 +154,12 @@ footer .freeflow img { width: 200px; margin-bottom: 20px; } -#info-menu > div.freeflow { +#info-menu > div.freeflow , #info-mobile-menu{ padding-top: 0px !important; padding-bottom: 0px !important; } -header .freeflow div, #info-menu div { +header .freeflow div, #info-menu div, #info-mobile-menu div { box-shadow: none; text-transform: uppercase; font-weight: 700 !important; @@ -358,7 +358,7 @@ a:hover{ } } -header #menu button, #info-menu button{ +header #menu button, #info-menu button, #info-mobile-menu button{ @apply lg:text-lg px-6 diff --git a/static/js/custom.js b/static/js/custom.js index 1af8ac1..0abfffc 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -82,7 +82,7 @@ function hideMenu(menuName) { function showHamburger() { document.getElementById('header-container').className = "overflow-hidden"; - document.getElementById('hamburger').className = "fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; + document.getElementById('hamburger').className = "fixed mt-28 z-20 top-0 inset-x-0 transition transform origin-top-right"; document.getElementById('hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; document.getElementById('close-hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; } @@ -129,7 +129,6 @@ window.onload = function () { } document.getElementById("filter-btn").addEventListener('click', toggleFilter); - document.getElementById("mobile-learn-btn").addEventListener('click', toggleMenu); } function openInNewTab(url) { diff --git a/templates/_default/base.html b/templates/_default/base.html index b486a15..7745070 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -1,10 +1,10 @@ {% include "partials/head.html" %} +{% include "partials/header.html" %}
- {% include "partials/header.html" %}