owncast/web/components/layouts/Main/Main.module.scss
Nathan 3bd45d09f3
feat: floating fading footer (#3008)
Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-12 14:52:54 -07:00

38 lines
567 B
SCSS

@import '../../../styles/mixins.scss';
.layout {
// this margin is for fixed header
margin-top: var(--header-height);
background-color: var(--theme-color-main-background);
@include screen(tablet) {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
// this one is for fixed footer
margin-bottom: 30px;
}
@include screen(mobile) {
margin-bottom: 0px;
footer {
display: none;
}
}
}
.fadeIn {
animation: fadein 2s;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}