Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp into master
This commit is contained in:
@@ -42,14 +42,14 @@
|
||||
</script>
|
||||
</head>
|
||||
<body onresize="setMain()" onload="setMain();">
|
||||
<header class="row align-items-center" id="header" style="position: fixed; z-index: 100; top: 0; width: calc(100% - 1.75rem - 1.75rem); background: #00788a; transition: top 0.3s;">
|
||||
<header class="row align-items-center position-fixed top-0 zindex-100 bg-sde-blue" id="header" style="width: calc(100% - 1.75rem - 1.75rem); transition: top 0.3s;">
|
||||
@if(request()->cookie("mode") == "dark")
|
||||
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" onclick="location.href = '{{ route("root.index") }}';" alt="Syddansk Erhvervsskole">
|
||||
@else
|
||||
<img class="w-50" id="sdeLogo" src="{{URL::asset('/images/logos/Logo-hvid.svg')}}" onclick="location.href = '{{ route("root.index") }}';" alt="Syddansk Erhvervsskole">
|
||||
@endif
|
||||
<button class="ml-auto btn-sde-blue" style="border: none; font-size: 20px; outline: none;" id="toggle">
|
||||
<i id="icon" class="fas fa-bars" style="color: white;"></i>
|
||||
<button class="ml-auto btn-sde-blue font-20px border-none outline-none" id="toggle">
|
||||
<i id="icon" class="fas fa-bars text-white"></i>
|
||||
</button>
|
||||
</header>
|
||||
<div class="d-none bg-sde-blue col" id="menu">
|
||||
@@ -176,7 +176,6 @@
|
||||
}
|
||||
|
||||
document.getElementsByTagName("main")[0].style.paddingTop = (10+document.getElementById("header").clientHeight) + "px";
|
||||
//document.getElementById("menu").style.paddingTop = document.getElementById("header").clientHeight + "px";
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user