fast-calorie/public/css/layout.css

38 lines
694 B
CSS

/* Page System */
.layout, .layout-app {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
height: 100vh;
width: 100vw;
max-width: 1024px;
margin: 0 auto;
}
/* https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar */
.layout-app ::-webkit-scrollbar {
display:none !important;
width:0px;
}
.layout-content {
flex-grow: 1;
overflow: auto;
min-height: 2rem;
padding-bottom: 1em;
}
.layout-header, layout-header {
z-index: 100;
box-shadow: 0px 10px 20px #F2F2F2;
}
.layout-footer, layout-footer {
z-index: 100;
box-shadow: 0px -10px 20px #F2F2F2;
}
layout-footer, layout-header {
flex-shrink: 0;
}