Commit 6769ff11 authored by Jonas Heinrich's avatar Jonas Heinrich

css grid toggle menu on mobile devices

parent 16e8109c
......@@ -167,10 +167,21 @@ h1, h2, h3, h4, h5, h6 {
;
}
.logo {
width: 250px;
}
content {
overflow-y: inherit;
}
navigation {
height: 0px;
overflow: hidden;
transition: all 1s;
padding: 0 20px 0 0;
}
.burger_menu {
display: block;
float:right;
......
......@@ -13,3 +13,11 @@ $("#video_item").mouseenter(function() {
$("#video_item").mouseleave(function() {
$(".video_overlay").show();
});
$( "logo" ).click(function() {
if ($("navigation").css("height") == "0px"){
$("navigation").css("height","50px");
} else {
$("navigation").css("height","0px");
}
});
......@@ -8,8 +8,8 @@ var bounds = [
mapboxgl.accessToken = 'pk.eyJ1Ijoib25ueSIsImEiOiJjajhvdnc1eTgwOTM3MnFudG81MXlpZGJrIn0.lDC0PwJDf704okmeI6w61g';
var map = new mapboxgl.Map({
container: 'map',
//style: 'mapbox://styles/mapbox/light-v9',
style: 'mapbox://styles/onny/cjbgb2xyfbqwt2sp6qm2vu3yi',
style: 'mapbox://styles/mapbox/light-v9',
//style: 'mapbox://styles/onny/cjbgb2xyfbqwt2sp6qm2vu3yi',
center: [8.404, 49.0150],
zoom: 14,
pitch: 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment