Spaces:
Running
on
Zero
Running
on
Zero
Update _res/_custom.css
Browse files- _res/_custom.css +273 -275
_res/_custom.css
CHANGED
|
@@ -1,275 +1,273 @@
|
|
| 1 |
-
@import url("https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&display=swap");
|
| 2 |
-
|
| 3 |
-
@font-face {
|
| 4 |
-
font-family: "Geist Mono";
|
| 5 |
-
src: url("file=_res/assets/webfonts/GeistMono-Thin.woff2") format("woff2");
|
| 6 |
-
font-weight: 100;
|
| 7 |
-
font-style: normal;
|
| 8 |
-
}
|
| 9 |
-
@font-face {
|
| 10 |
-
font-family: "Geist Mono";
|
| 11 |
-
src: url("file=_res/assets/webfonts/GeistMono-Light.woff2") format("woff2");
|
| 12 |
-
font-weight: 300;
|
| 13 |
-
font-style: normal;
|
| 14 |
-
}
|
| 15 |
-
@font-face {
|
| 16 |
-
font-family: "Geist Mono";
|
| 17 |
-
src: url("file=_res/assets/webfonts/GeistMono-Regular.woff2") format("woff2");
|
| 18 |
-
font-weight: 400;
|
| 19 |
-
font-style: normal;
|
| 20 |
-
}
|
| 21 |
-
@font-face {
|
| 22 |
-
font-family: "Geist Mono";
|
| 23 |
-
src: url("file=_res/assets/webfonts/GeistMono-SemiBold.woff2") format("woff2");
|
| 24 |
-
font-weight: 600;
|
| 25 |
-
font-style: normal;
|
| 26 |
-
}
|
| 27 |
-
@font-face {
|
| 28 |
-
font-family: "Geist Mono";
|
| 29 |
-
src: url("file=_res/assets/webfonts/GeistMono-Bold.woff2") format("woff2");
|
| 30 |
-
font-weight: 700;
|
| 31 |
-
font-style: normal;
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
@font-face {
|
| 35 |
-
font-family: "Qartella-Light";
|
| 36 |
-
src: url("file=_res/assets/webfonts/Qartella-Light.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Light.woff") format("woff");
|
| 37 |
-
font-weight: normal;
|
| 38 |
-
font-style: light;
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
@font-face {
|
| 42 |
-
font-family: "Qartella-Bold";
|
| 43 |
-
src: url("file=_res/assets/webfonts/Qartella-Bold.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Bold.woff") format("woff");
|
| 44 |
-
font-weight: normal;
|
| 45 |
-
font-style: bold;
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
::-webkit-scrollbar {
|
| 49 |
-
width: 0px;
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
body {
|
| 53 |
-
background: var(--background-fill-primary);
|
| 54 |
-
background: linear-gradient(180deg, var(--primary-800) 355px, var(--background-fill-primary) 355px);
|
| 55 |
-
}
|
| 56 |
-
|
| 57 |
-
.gradio-container-5-29-0 {
|
| 58 |
-
padding-top: 30px !important;
|
| 59 |
-
transition: opacity 0.4s linear;
|
| 60 |
-
position: relative;
|
| 61 |
-
font-family: "Geist Mono", sans-serif !important;
|
| 62 |
-
font-weight: 400;
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.md-header-wrapper,
|
| 66 |
-
.md-header > span > div {
|
| 67 |
-
width: 100%;
|
| 68 |
-
height: 200px;
|
| 69 |
-
display: flex;
|
| 70 |
-
flex-direction: column;
|
| 71 |
-
justify-content: flex-end;
|
| 72 |
-
position: relative;
|
| 73 |
-
background-
|
| 74 |
-
background-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
font-
|
| 81 |
-
font-
|
| 82 |
-
font-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
border-
|
| 127 |
-
border-
|
| 128 |
-
border-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
.
|
| 134 |
-
|
| 135 |
-
.
|
| 136 |
-
label.svelte-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
}
|
| 275 |
-
}
|
|
|
|
| 1 |
+
@import url("https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@400..800&display=swap");
|
| 2 |
+
|
| 3 |
+
@font-face {
|
| 4 |
+
font-family: "Geist Mono";
|
| 5 |
+
src: url("file=_res/assets/webfonts/GeistMono-Thin.woff2") format("woff2");
|
| 6 |
+
font-weight: 100;
|
| 7 |
+
font-style: normal;
|
| 8 |
+
}
|
| 9 |
+
@font-face {
|
| 10 |
+
font-family: "Geist Mono";
|
| 11 |
+
src: url("file=_res/assets/webfonts/GeistMono-Light.woff2") format("woff2");
|
| 12 |
+
font-weight: 300;
|
| 13 |
+
font-style: normal;
|
| 14 |
+
}
|
| 15 |
+
@font-face {
|
| 16 |
+
font-family: "Geist Mono";
|
| 17 |
+
src: url("file=_res/assets/webfonts/GeistMono-Regular.woff2") format("woff2");
|
| 18 |
+
font-weight: 400;
|
| 19 |
+
font-style: normal;
|
| 20 |
+
}
|
| 21 |
+
@font-face {
|
| 22 |
+
font-family: "Geist Mono";
|
| 23 |
+
src: url("file=_res/assets/webfonts/GeistMono-SemiBold.woff2") format("woff2");
|
| 24 |
+
font-weight: 600;
|
| 25 |
+
font-style: normal;
|
| 26 |
+
}
|
| 27 |
+
@font-face {
|
| 28 |
+
font-family: "Geist Mono";
|
| 29 |
+
src: url("file=_res/assets/webfonts/GeistMono-Bold.woff2") format("woff2");
|
| 30 |
+
font-weight: 700;
|
| 31 |
+
font-style: normal;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
@font-face {
|
| 35 |
+
font-family: "Qartella-Light";
|
| 36 |
+
src: url("file=_res/assets/webfonts/Qartella-Light.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Light.woff") format("woff");
|
| 37 |
+
font-weight: normal;
|
| 38 |
+
font-style: light;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
@font-face {
|
| 42 |
+
font-family: "Qartella-Bold";
|
| 43 |
+
src: url("file=_res/assets/webfonts/Qartella-Bold.woff2") format("woff2"), url("file=_res/assets/webfonts/Qartella-Bold.woff") format("woff");
|
| 44 |
+
font-weight: normal;
|
| 45 |
+
font-style: bold;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
::-webkit-scrollbar {
|
| 49 |
+
width: 0px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
body {
|
| 53 |
+
background: var(--background-fill-primary);
|
| 54 |
+
background: linear-gradient(180deg, var(--primary-800) 355px, var(--background-fill-primary) 355px);
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.gradio-container-5-29-0 {
|
| 58 |
+
padding-top: 30px !important;
|
| 59 |
+
transition: opacity 0.4s linear;
|
| 60 |
+
position: relative;
|
| 61 |
+
font-family: "Geist Mono", sans-serif !important;
|
| 62 |
+
font-weight: 400;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
.md-header-wrapper,
|
| 66 |
+
.md-header > span > div {
|
| 67 |
+
width: 100%;
|
| 68 |
+
height: 200px;
|
| 69 |
+
display: flex;
|
| 70 |
+
flex-direction: column;
|
| 71 |
+
justify-content: flex-end;
|
| 72 |
+
position: relative;
|
| 73 |
+
background-position: 70% bottom;
|
| 74 |
+
background-repeat: no-repeat;
|
| 75 |
+
padding: 0 10px;
|
| 76 |
+
|
| 77 |
+
h1 {
|
| 78 |
+
--sc: rgb(2, 44, 32);
|
| 79 |
+
font-optical-sizing: auto;
|
| 80 |
+
font-weight: 600;
|
| 81 |
+
font-style: normal;
|
| 82 |
+
font-size: 3rem;
|
| 83 |
+
padding: 8px;
|
| 84 |
+
text-shadow: 2px 2px 2px var(--sc), -2px 2px 2px var(--sc), -2px -2px 0 var(--sc), 2px -2px 0 var(--sc);
|
| 85 |
+
display: flex;
|
| 86 |
+
flex-direction: column;
|
| 87 |
+
text-align: right;
|
| 88 |
+
margin-right: 45%;
|
| 89 |
+
position: absolute;
|
| 90 |
+
right: 0;
|
| 91 |
+
bottom: 0;
|
| 92 |
+
|
| 93 |
+
& span {
|
| 94 |
+
font-weight: 400;
|
| 95 |
+
font-size: 2rem;
|
| 96 |
+
margin-top: -20px;
|
| 97 |
+
text-transform: uppercase;
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
p {
|
| 102 |
+
margin-top: var(--spacing-xs);
|
| 103 |
+
|
| 104 |
+
#wink,
|
| 105 |
+
#heart {
|
| 106 |
+
display: inline;
|
| 107 |
+
width: 26px;
|
| 108 |
+
margin-bottom: 8px;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
#wink {
|
| 112 |
+
animation: wink 3s ease-in-out infinite;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
#heart {
|
| 116 |
+
animation: beat 2s ease-in-out infinite;
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.row-main {
|
| 122 |
+
padding: 16px;
|
| 123 |
+
background-color: var(--neutral-900) !important;
|
| 124 |
+
border-right-width: 0px !important;
|
| 125 |
+
border-bottom-width: 0px !important;
|
| 126 |
+
border-left-width: 0px !important;
|
| 127 |
+
border-top: 8px solid var(--primary-600) !important;
|
| 128 |
+
border-radius: var(--container-radius) !important;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.primary.svelte-1ixn6qd,
|
| 132 |
+
span.svelte-g2oxp3,
|
| 133 |
+
.wrap.svelte-12ioyct,
|
| 134 |
+
label.svelte-1to105q.svelte-1to105q,
|
| 135 |
+
label.selected.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav,
|
| 136 |
+
label.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav:hover,
|
| 137 |
+
.md-header > span > div p {
|
| 138 |
+
color: var(--text-color-by-luminance, #fff);
|
| 139 |
+
transition: color 0.4s ease-in-out;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
label.svelte-1bx8sav > .svelte-1bx8sav + .svelte-1bx8sav {
|
| 143 |
+
margin-left: 0;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.app.svelte-1y320eu.svelte-1y320eu {
|
| 147 |
+
position: relative;
|
| 148 |
+
margin: auto;
|
| 149 |
+
padding: var(--size-4) var(--size-8);
|
| 150 |
+
width: 100%;
|
| 151 |
+
height: 100%;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
@media (min-width: 640px) {
|
| 155 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 156 |
+
max-width: 640px;
|
| 157 |
+
}
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
@media (min-width: 768px) {
|
| 161 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 162 |
+
max-width: 768px;
|
| 163 |
+
}
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
@media (min-width: 1024px) {
|
| 167 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 168 |
+
max-width: 1024px;
|
| 169 |
+
}
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
@media (min-width: 1280px) {
|
| 173 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 174 |
+
max-width: 1280px;
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
@media (min-width: 1536px) {
|
| 179 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 180 |
+
max-width: 1536px;
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
@media (min-width: 1920px) {
|
| 185 |
+
.fillable.svelte-1y320eu.svelte-1y320eu:not(.fill_width) {
|
| 186 |
+
max-width: 1536px !important;
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.info.svelte-1y320eu.svelte-1y320eu {
|
| 191 |
+
display: flex;
|
| 192 |
+
position: absolute;
|
| 193 |
+
bottom: 0;
|
| 194 |
+
justify-content: flex-start;
|
| 195 |
+
border-top: 1px solid var(--button-secondary-border-color);
|
| 196 |
+
padding: var(--size-1) var(--size-5);
|
| 197 |
+
width: 100%;
|
| 198 |
+
color: var(--body-text-color-subdued);
|
| 199 |
+
font-size: var(--text-md);
|
| 200 |
+
white-space: nowrap;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
.app.svelte-1y320eu.svelte-1y320eu {
|
| 204 |
+
max-width: 1536px !important;
|
| 205 |
+
position: relative;
|
| 206 |
+
margin: auto;
|
| 207 |
+
padding: var(--size-4) var(--size-8);
|
| 208 |
+
width: 100%;
|
| 209 |
+
height: 100%;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.input-image,
|
| 213 |
+
.output-slider {
|
| 214 |
+
height: 800px;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
.hidethis,
|
| 218 |
+
input.svelte-1bx8sav.svelte-1bx8sav.svelte-1bx8sav {
|
| 219 |
+
display: none;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
/* Keyframes */
|
| 223 |
+
|
| 224 |
+
@keyframes wink {
|
| 225 |
+
0%,
|
| 226 |
+
60%,
|
| 227 |
+
100% {
|
| 228 |
+
transform: rotate(0deg);
|
| 229 |
+
}
|
| 230 |
+
10%,
|
| 231 |
+
30%,
|
| 232 |
+
70%,
|
| 233 |
+
90% {
|
| 234 |
+
transform: rotate(14deg);
|
| 235 |
+
}
|
| 236 |
+
20%,
|
| 237 |
+
80% {
|
| 238 |
+
transform: rotate(-8deg);
|
| 239 |
+
}
|
| 240 |
+
40% {
|
| 241 |
+
transform: rotate(-4deg);
|
| 242 |
+
}
|
| 243 |
+
50% {
|
| 244 |
+
transform: rotate(10deg);
|
| 245 |
+
}
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
@keyframes beat {
|
| 249 |
+
0% {
|
| 250 |
+
transform: scale(1);
|
| 251 |
+
}
|
| 252 |
+
5% {
|
| 253 |
+
transform: scale(0.75);
|
| 254 |
+
}
|
| 255 |
+
20% {
|
| 256 |
+
transform: scale(1);
|
| 257 |
+
}
|
| 258 |
+
30% {
|
| 259 |
+
transform: scale(1);
|
| 260 |
+
}
|
| 261 |
+
35% {
|
| 262 |
+
transform: scale(0.75);
|
| 263 |
+
}
|
| 264 |
+
50% {
|
| 265 |
+
transform: scale(1);
|
| 266 |
+
}
|
| 267 |
+
55% {
|
| 268 |
+
transform: scale(0.75);
|
| 269 |
+
}
|
| 270 |
+
70% {
|
| 271 |
+
transform: scale(1);
|
| 272 |
+
}
|
| 273 |
+
}
|
|
|
|
|
|