104 lines
1.2 KiB
CSS
104 lines
1.2 KiB
CSS
/* https://coolors.co/52d1dc-475b5a-8d8e8e-a3a9aa-bbbbbf */
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
#app {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
#app .loading {
|
|
position: absolute;
|
|
top: 50%;
|
|
text-align: center;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
#app .touchCanvas,
|
|
#app .content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#app .controls {
|
|
z-index: 10;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
#app .touchCanvas {
|
|
z-index: 9;
|
|
}
|
|
|
|
#app .content {
|
|
z-index: 0;
|
|
display: flex;
|
|
}
|
|
|
|
#app img {
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: 100vh;
|
|
z-index: 0;
|
|
align-self: center;
|
|
}
|
|
|
|
#app video {
|
|
height: 100vh;
|
|
max-width: 100vw;
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
|
|
#app .btn {
|
|
display: block;
|
|
width: 40px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
color: white;
|
|
text-align: center;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
#app .floatBtn {
|
|
position: fixed;
|
|
top: 50vh;
|
|
}
|
|
|
|
#app .floatBtn.left {
|
|
left: 10px;
|
|
}
|
|
|
|
#app .floatBtn.right {
|
|
right: 10px;
|
|
}
|
|
|
|
|
|
#app .floatBar {
|
|
width: 100vw;
|
|
position: fixed;
|
|
}
|
|
|
|
#app .floatBar.bottom {
|
|
bottom: 10px;
|
|
}
|
|
|
|
#app .floatBar.bottom .btn {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#app .empty {
|
|
text-align: center;
|
|
margin-top: 48vh;
|
|
}
|