mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
48 lines
740 B
SCSS
48 lines
740 B
SCSS
/* Layout */
|
|
|
|
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-size: 18px;
|
|
line-height: 27px;
|
|
|
|
/* To prevent the white flash */
|
|
background: #000000;
|
|
}
|
|
|
|
#root {
|
|
height: 100%;
|
|
}
|
|
|
|
.app {
|
|
min-height: 100%;
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
color: var(--main-color);
|
|
background-color: var(--bg-color);
|
|
|
|
/* Fix for Jumping Scrollbar Issue */
|
|
@media (min-width: 800px) {
|
|
padding-left: calc(100vw - 100%);
|
|
}
|
|
|
|
& > main {
|
|
flex: 1 1 auto;
|
|
|
|
height: 100%;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
@media (min-width: 800px) {
|
|
margin: 5vh 0;
|
|
max-width: 800px;
|
|
}
|
|
}
|
|
}
|