Files
Daybreak/Daybreak.Core/Views/App.razor.css

52 lines
924 B
CSS

/* Content Area */
.content-area {
flex: 1;
display: flex;
flex-direction: column;
position: relative;
height: 100%;
width: 100%;
}
.page-content {
flex: 1;
background: transparent;
box-sizing: border-box;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
}
/* Main Content */
.main-content {
flex: 1;
position: relative;
overflow: hidden;
max-height: 100%;
width: 100%;
}
/* Video Background */
#video-background {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: -2;
overflow: hidden;
pointer-events: none;
}
#video-background video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
}