gestion footeré
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit

This commit is contained in:
2023-09-13 17:21:06 +02:00
parent 3908287e78
commit 66fd7e275d
12 changed files with 3898 additions and 3620 deletions

View File

@ -44,6 +44,8 @@ $( window ).resize(function() {
function resize() {
console.log("resize");
if($("#header").is(":visible")){
$(".navbar-logo").hide();
$("#menulink").hide();
@ -55,8 +57,13 @@ function resize() {
$("#header").show();
}
$("main").css("height",$(window).height()-$(".header").height());
$("#page").css("height",$(window).height()-$(".header").height());
var footerheight=$("footer").height();
if(footerheight) footerheight=footerheight+10;
else footerheight=0;
console.log(footerheight);
$("main").css("height",$(window).height()-$(".header").height()-footerheight);
$("#page").css("height",$(window).height()-$(".header").height()-footerheight);
$("#sidebar").css("min-height",$("body").height()-$(".header").height());
}

View File

@ -219,4 +219,33 @@ border-width: 1px;
#page {
overflow-y: auto;
width:100%;
}
/* FOOTER */
footer {
padding:5px 30px;
background-color: var(--colorbgbodydark);
color: var(--colorftbodydark) !important;
position:absolute;
bottom: 0px;
left:0px;
width: 100%;
}
.footer-adress {
font-size:80%;
width:50%;
}
.footer-adress p {
margin:0px;
}
.footer-social {
text-align: right;
width:50%;
}
footer a {
color: var(--colorftbodydark) !important;
}