<script>
const style = document.createElement('style');
style.innerHTML = `
/* Remove the template margin bottom, that normally set a blank space */
article#story {
margin-bottom: 0;
}
/* Add white background to furniture header and footer, in case of elements behind (for ex. fixed backgrounds) */
#app header:first-child {
position: sticky;
z-index: 100;
background-color: white;
}
footer[role="contentinfo"] {
position: relative;
z-index: 1;
background-color: white;
}
footer[role="contentinfo"]::after {
content: "";
width: 100vw;
height: 100%;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
background-color: white;
z-index: -1;
}
`;
document.head.appendChild(style);
</script>