50 lines
695 B
CSS
50 lines
695 B
CSS
/* global defaults */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font: 13pt Helvetica, Arial;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* footer */
|
|
footer {
|
|
flex: 0 1 auto;
|
|
justify-self: flex-end;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* central display */
|
|
.central {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 10px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
@media screen and (min-width: 480px) {
|
|
.central {
|
|
margin: 0 15%;
|
|
}
|
|
}
|
|
|
|
/* panels */
|
|
.panel {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|