This commit is contained in:
Jonas Heinrich 2022-03-07 14:00:49 +01:00
parent 8c81d1646a
commit 46f7d34caa
3 changed files with 18 additions and 4 deletions

3
files/jquery-3.js vendored

File diff suppressed because one or more lines are too long

View file

@ -78,7 +78,17 @@
</div> </div>
</div> </div>
</footer> </footer>
<script type="text/javascript" src="<?php echo get_stylesheet_directory_uri().'/files/jquery-3.js'; ?>"></script> <script language="javascript">
document.getElementsByClassName('navbar-burger')[0].onclick = function(){
console.log('ready');
var x = document.getElementById("mainNavbar");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
};
</script>
</body> </body>
</html> </html>

View file

@ -141,6 +141,12 @@ a.no-underline {
color: white !important; color: white !important;
} }
@media (max-width: 1024px) {
.rentButton {
margin: 5px 10px;
}
}
.rentButton:hover { .rentButton:hover {
background-color: #FFAA48 !important; background-color: #FFAA48 !important;
} }
@ -286,6 +292,7 @@ html.has-navbar-fixed-top {
text-shadow: 1px 1px #515151; text-shadow: 1px 1px #515151;
max-height: 760px; max-height: 760px;
min-height: 600px; min-height: 600px;
background-position: 70% 0%;
} }
@media (min-width: 1024px) { @media (min-width: 1024px) {