Spaces:
Running
Running
Upload holistic.css
Browse files- static/css/holistic.css +147 -0
static/css/holistic.css
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@keyframes spin {
|
| 2 |
+
0% { transform: rotate(0deg); }
|
| 3 |
+
100% { transform: rotate(360deg); }
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
.abs { position: absolute; }
|
| 7 |
+
|
| 8 |
+
a {
|
| 9 |
+
color: white;
|
| 10 |
+
text-decoration: none;
|
| 11 |
+
}
|
| 12 |
+
a:hover { color: lightblue; }
|
| 13 |
+
|
| 14 |
+
body {
|
| 15 |
+
font-family: "Titillium Web", sans-serif;
|
| 16 |
+
color: white;
|
| 17 |
+
margin: 0;
|
| 18 |
+
padding: 0;
|
| 19 |
+
background-color: #f0f0f0;
|
| 20 |
+
overflow-x: hidden;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.container {
|
| 24 |
+
display: flex;
|
| 25 |
+
flex-direction: column;
|
| 26 |
+
align-items: center;
|
| 27 |
+
padding: 20px;
|
| 28 |
+
box-sizing: border-box;
|
| 29 |
+
max-width: 100%;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.card {
|
| 33 |
+
background-color: #596e73;
|
| 34 |
+
border-radius: 10px;
|
| 35 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 36 |
+
margin-bottom: 20px;
|
| 37 |
+
overflow: hidden;
|
| 38 |
+
width: 100%;
|
| 39 |
+
max-width: 600px;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.input_video {
|
| 43 |
+
display: none;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.input_video.selfie {
|
| 47 |
+
transform: scale(-1, 1);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.input_image {
|
| 51 |
+
max-width: 100%;
|
| 52 |
+
height: auto;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.canvas-container {
|
| 56 |
+
width: 100%;
|
| 57 |
+
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
| 58 |
+
position: relative;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.output_canvas {
|
| 62 |
+
position: absolute;
|
| 63 |
+
top: 0;
|
| 64 |
+
left: 0;
|
| 65 |
+
width: 100%;
|
| 66 |
+
height: 100%;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.logo {
|
| 70 |
+
display: flex;
|
| 71 |
+
align-items: center;
|
| 72 |
+
justify-content: center;
|
| 73 |
+
padding: 10px;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.logo img {
|
| 77 |
+
height: 30px;
|
| 78 |
+
margin-right: 10px;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.logo .title {
|
| 82 |
+
color: white;
|
| 83 |
+
font-size: 18px;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.control-panel {
|
| 87 |
+
width: 100%;
|
| 88 |
+
max-width: 600px;
|
| 89 |
+
margin-top: 20px;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.loading {
|
| 93 |
+
display: flex;
|
| 94 |
+
position: fixed;
|
| 95 |
+
top: 0;
|
| 96 |
+
right: 0;
|
| 97 |
+
bottom: 0;
|
| 98 |
+
left: 0;
|
| 99 |
+
align-items: center;
|
| 100 |
+
backface-visibility: hidden;
|
| 101 |
+
justify-content: center;
|
| 102 |
+
opacity: 1;
|
| 103 |
+
transition: opacity 1s;
|
| 104 |
+
background-color: rgba(0, 0, 0, 0.5);
|
| 105 |
+
z-index: 10;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.loading .message {
|
| 109 |
+
font-size: x-large;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.loading .spinner {
|
| 113 |
+
position: absolute;
|
| 114 |
+
width: 120px;
|
| 115 |
+
height: 120px;
|
| 116 |
+
animation: spin 1s linear infinite;
|
| 117 |
+
border: 32px solid #bebebe;
|
| 118 |
+
border-top: 32px solid #3498db;
|
| 119 |
+
border-radius: 50%;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.loaded .loading {
|
| 123 |
+
opacity: 0;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.shoutout {
|
| 127 |
+
text-align: center;
|
| 128 |
+
font-size: 18px;
|
| 129 |
+
margin-top: 20px;
|
| 130 |
+
padding: 10px;
|
| 131 |
+
background-color: #596e73;
|
| 132 |
+
border-radius: 5px;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
@media (max-width: 768px) {
|
| 136 |
+
.container {
|
| 137 |
+
padding: 10px;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.logo .title {
|
| 141 |
+
font-size: 16px;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.shoutout {
|
| 145 |
+
font-size: 16px;
|
| 146 |
+
}
|
| 147 |
+
}
|