Spaces:
Running
Running
Update index.html
Browse files- index.html +70 -3
index.html
CHANGED
|
@@ -30,11 +30,78 @@
|
|
| 30 |
<script type="module" crossorigin src="https://gradio.s3-us-west-2.amazonaws.com/3.0.9b12/assets/index.8eca4ae7.js"></script>
|
| 31 |
<link rel="stylesheet" href="https://gradio.s3-us-west-2.amazonaws.com/3.0.9b12/assets/index.cbea297d.css">
|
| 32 |
<style>
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
.container > div > div {
|
| 37 |
-
padding: 0.5rem;
|
| 38 |
}
|
| 39 |
footer a {
|
| 40 |
color: rgb(156 163 175) !important;
|
|
|
|
| 30 |
<script type="module" crossorigin src="https://gradio.s3-us-west-2.amazonaws.com/3.0.9b12/assets/index.8eca4ae7.js"></script>
|
| 31 |
<link rel="stylesheet" href="https://gradio.s3-us-west-2.amazonaws.com/3.0.9b12/assets/index.cbea297d.css">
|
| 32 |
<style>
|
| 33 |
+
body {
|
| 34 |
+
min-height: 100vh;
|
| 35 |
+
margin: 0;
|
| 36 |
+
padding: 0;
|
| 37 |
+
display: flex;
|
| 38 |
+
flex-direction: column;
|
| 39 |
+
flex-grow: 1;
|
| 40 |
+
font-family: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif;
|
| 41 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 42 |
+
}
|
| 43 |
+
#root {
|
| 44 |
+
display: flex;
|
| 45 |
+
flex-direction: column;
|
| 46 |
+
flex-grow: 1;
|
| 47 |
+
align-items: center;
|
| 48 |
+
justify-content: center;
|
| 49 |
+
min-height: 100vh;
|
| 50 |
+
}
|
| 51 |
+
.container {
|
| 52 |
+
background: #fff;
|
| 53 |
+
border-radius: 18px;
|
| 54 |
+
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
| 55 |
+
padding: 2.5rem 2rem 2rem 2rem;
|
| 56 |
+
max-width: 800px;
|
| 57 |
+
margin: 2rem auto;
|
| 58 |
+
width: 100%;
|
| 59 |
+
}
|
| 60 |
+
input[type="text"], textarea {
|
| 61 |
+
width: 100%;
|
| 62 |
+
padding: 0.75rem 1rem;
|
| 63 |
+
border: 1px solid #e0e0e0;
|
| 64 |
+
border-radius: 8px;
|
| 65 |
+
font-size: 1rem;
|
| 66 |
+
margin-bottom: 1rem;
|
| 67 |
+
background: #f9fafb;
|
| 68 |
+
transition: border 0.2s;
|
| 69 |
+
}
|
| 70 |
+
input[type="text"]:focus, textarea:focus {
|
| 71 |
+
border: 1.5px solid #7b61ff;
|
| 72 |
+
outline: none;
|
| 73 |
+
}
|
| 74 |
+
button, #screenshot {
|
| 75 |
+
background: linear-gradient(90deg, #7b61ff 0%, #5eead4 100%);
|
| 76 |
+
color: #fff;
|
| 77 |
+
border: none;
|
| 78 |
+
border-radius: 8px;
|
| 79 |
+
padding: 0.75rem 1.5rem;
|
| 80 |
+
font-size: 1.1rem;
|
| 81 |
+
font-weight: 600;
|
| 82 |
+
cursor: pointer;
|
| 83 |
+
box-shadow: 0 2px 8px rgba(123,97,255,0.08);
|
| 84 |
+
transition: background 0.2s, transform 0.1s;
|
| 85 |
+
margin-bottom: 1rem;
|
| 86 |
+
}
|
| 87 |
+
button:hover, #screenshot:hover {
|
| 88 |
+
background: linear-gradient(90deg, #5eead4 0%, #7b61ff 100%);
|
| 89 |
+
transform: translateY(-2px) scale(1.03);
|
| 90 |
+
}
|
| 91 |
+
.gallery {
|
| 92 |
+
display: grid;
|
| 93 |
+
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
| 94 |
+
gap: 1.2rem;
|
| 95 |
+
margin-top: 1.5rem;
|
| 96 |
+
}
|
| 97 |
+
.gallery img {
|
| 98 |
+
width: 100%;
|
| 99 |
+
border-radius: 12px;
|
| 100 |
+
box-shadow: 0 2px 8px rgba(0,0,0,0.07);
|
| 101 |
+
background: #f3f4f6;
|
| 102 |
}
|
| 103 |
.container > div > div {
|
| 104 |
+
padding: 0.5rem;
|
| 105 |
}
|
| 106 |
footer a {
|
| 107 |
color: rgb(156 163 175) !important;
|