BetterMobileMenu

This commit is contained in:
brausjonas
2023-03-26 18:31:19 +02:00
parent f82a45241a
commit beae0bf3fd
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -62,7 +62,7 @@
<workItem from="1679674448294" duration="3278000" /> <workItem from="1679674448294" duration="3278000" />
<workItem from="1679754546660" duration="3762000" /> <workItem from="1679754546660" duration="3762000" />
<workItem from="1679776338023" duration="11768000" /> <workItem from="1679776338023" duration="11768000" />
<workItem from="1679841996008" duration="4797000" /> <workItem from="1679841996008" duration="5865000" />
</task> </task>
<servers /> <servers />
</component> </component>
+1 -1
View File
@@ -3,7 +3,7 @@ var menuActive = false;
function showMobileMenuBar() function showMobileMenuBar()
{ {
if(!menuActive) { if(!menuActive) {
document.getElementById("mobileMenuBar").style.display = "block"; document.getElementById("mobileMenuBar").style.display = "inline-block";
document.getElementById("mobileMenuBarButton").style.backgroundColor = "#B6E2A1"; document.getElementById("mobileMenuBarButton").style.backgroundColor = "#B6E2A1";
menuActive = true; menuActive = true;
} }
+4 -2
View File
@@ -72,9 +72,10 @@ nav > button {
} }
menu { menu {
position: absolute;
right: 0px;
display: none; display: none;
margin-top: 95px;
position: fixed;
right: 0;
} }
/* /*
@@ -139,6 +140,7 @@ Mobile
{ {
background-color: #B6E2A1; background-color: #B6E2A1;
} }
} }
header img header img