Spaces:
Running
Running
Update app.py (#2)
Browse files- Update app.py (869eee81f56c28eb5ffed77366b262c201fbecbe)
Co-authored-by: Tyler Kessler <[email protected]>
app.py
CHANGED
@@ -403,14 +403,26 @@ body {
|
|
403 |
border-radius: 5px;
|
404 |
cursor: pointer;
|
405 |
transition: opacity 0.3s ease;
|
|
|
406 |
}
|
407 |
.custom-button:hover {
|
408 |
opacity: 0.8;
|
409 |
}
|
410 |
.custom-button::before {
|
|
|
411 |
background: linear-gradient(90deg, rgb(29, 161, 255) 0%, rgb(163, 44, 255) 56%, rgb(251, 156, 255) 100%);
|
412 |
-webkit-background-clip: text;
|
413 |
-webkit-text-fill-color: transparent;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
}
|
415 |
.custom-title {
|
416 |
font-size: 36px;
|
|
|
403 |
border-radius: 5px;
|
404 |
cursor: pointer;
|
405 |
transition: opacity 0.3s ease;
|
406 |
+
position: relative;
|
407 |
}
|
408 |
.custom-button:hover {
|
409 |
opacity: 0.8;
|
410 |
}
|
411 |
.custom-button::before {
|
412 |
+
content: 'Generate';
|
413 |
background: linear-gradient(90deg, rgb(29, 161, 255) 0%, rgb(163, 44, 255) 56%, rgb(251, 156, 255) 100%);
|
414 |
-webkit-background-clip: text;
|
415 |
-webkit-text-fill-color: transparent;
|
416 |
+
position: absolute;
|
417 |
+
top: 0;
|
418 |
+
left: 0;
|
419 |
+
right: 0;
|
420 |
+
bottom: 0;
|
421 |
+
display: flex;
|
422 |
+
align-items: center;
|
423 |
+
justify-content: center;
|
424 |
+
z-index: 1;
|
425 |
+
font-weight: bold;
|
426 |
}
|
427 |
.custom-title {
|
428 |
font-size: 36px;
|