Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RalphOrland committed Sep 3, 2023
1 parent 8bfad65 commit b9b58b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
5 changes: 5 additions & 0 deletions src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ addEventListener("submit", (event) => {
});



let toggleNav = () => {
var nav = document.getElementById("mobile-nav");
if (nav.className.indexOf("show") == -1) {
Expand All @@ -76,3 +77,7 @@ let toggleNav = () => {
};






21 changes: 9 additions & 12 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,13 @@ form > span {
.modal {
padding-top: 50px;
}
#nav-challenges {
display:none
}
#nav-signup {
display:none
}

}
@media (min-width: 993px) {
.modal-content {
Expand All @@ -724,6 +731,8 @@ form > span {
.sidebar.collapse {
display: block !important;
}


}
@media (max-width: 992px) and (min-width: 601px) {
.hide-medium {
Expand Down Expand Up @@ -1479,15 +1488,3 @@ form > span {
color: green;
}

@media screen and (max-width: 768px) {
#nav-challenges {
display: none;
}
}

@media screen and (max-width: 768px) {
#nav-signup {
display: none;
}
}

0 comments on commit b9b58b1

Please sign in to comment.