pose / holistic.css
mistpe's picture
Rename static/css/holistic.css to holistic.css
27ff93f verified
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.abs { position: absolute; }
a {
color: white;
text-decoration: none;
}
a:hover { color: lightblue; }
body {
font-family: "Titillium Web", sans-serif;
color: white;
margin: 0;
padding: 0;
background-color: #f0f0f0;
overflow-x: hidden;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
box-sizing: border-box;
max-width: 100%;
}
.card {
background-color: #596e73;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
overflow: hidden;
width: 100%;
max-width: 600px;
}
.input_video {
display: none;
}
.input_video.selfie {
transform: scale(-1, 1);
}
.input_image {
max-width: 100%;
height: auto;
}
.canvas-container {
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
position: relative;
}
.output_canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.logo {
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.logo img {
height: 30px;
margin-right: 10px;
}
.logo .title {
color: white;
font-size: 18px;
}
.control-panel {
width: 100%;
max-width: 600px;
margin-top: 20px;
}
.loading {
display: flex;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
align-items: center;
backface-visibility: hidden;
justify-content: center;
opacity: 1;
transition: opacity 1s;
background-color: rgba(0, 0, 0, 0.5);
z-index: 10;
}
.loading .message {
font-size: x-large;
}
.loading .spinner {
position: absolute;
width: 120px;
height: 120px;
animation: spin 1s linear infinite;
border: 32px solid #bebebe;
border-top: 32px solid #3498db;
border-radius: 50%;
}
.loaded .loading {
opacity: 0;
}
.shoutout {
text-align: center;
font-size: 18px;
margin-top: 20px;
padding: 10px;
background-color: #596e73;
border-radius: 5px;
}
.additional-views {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.view {
width: 30%;
height: 200px;
}
#speedChart, #accelerationChart {
width: 100%;
height: 100%;
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
.logo .title {
font-size: 16px;
}
.shoutout {
font-size: 16px;
}
}