quymao commited on
Commit
44879d1
·
verified ·
1 Parent(s): d91eb22

Upload style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. style.css +276 -17
style.css CHANGED
@@ -1,28 +1,287 @@
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
  .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
  body {
8
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
9
+ line-height: 1.6;
10
+ color: #333;
11
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
12
+ min-height: 100vh;
13
+ }
14
+
15
+ .container {
16
+ max-width: 800px;
17
+ margin: 0 auto;
18
+ padding: 20px;
19
+ }
20
+
21
+ header {
22
+ text-align: center;
23
+ margin-bottom: 40px;
24
+ color: white;
25
+ }
26
+
27
+ header h1 {
28
+ font-size: 2.5rem;
29
+ margin-bottom: 10px;
30
+ text-shadow: 0 2px 4px rgba(0,0,0,0.3);
31
+ }
32
+
33
+ .subtitle {
34
+ font-size: 1.1rem;
35
+ opacity: 0.9;
36
+ margin-bottom: 15px;
37
  }
38
 
39
+ .built-with {
40
+ color: white;
41
+ text-decoration: none;
42
+ font-size: 0.9rem;
43
+ opacity: 0.8;
44
+ transition: opacity 0.3s;
45
  }
46
 
47
+ .built-with:hover {
48
+ opacity: 1;
 
 
 
49
  }
50
 
51
  .card {
52
+ background: white;
53
+ border-radius: 12px;
54
+ padding: 30px;
55
+ margin-bottom: 20px;
56
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1);
57
+ backdrop-filter: blur(10px);
58
+ }
59
+
60
+ .card h2 {
61
+ color: #4a5568;
62
+ margin-bottom: 20px;
63
+ font-size: 1.5rem;
64
+ }
65
+
66
+ .model-info {
67
+ background: #f7fafc;
68
+ padding: 20px;
69
+ border-radius: 8px;
70
+ margin-top: 15px;
71
+ }
72
+
73
+ .model-info ul {
74
+ list-style: none;
75
+ }
76
+
77
+ .model-info li {
78
+ padding: 5px 0;
79
+ border-bottom: 1px solid #e2e8f0;
80
+ }
81
+
82
+ .model-info li:last-child {
83
+ border-bottom: none;
84
+ }
85
+
86
+ .installation-controls {
87
+ display: flex;
88
+ gap: 15px;
89
+ margin-bottom: 20px;
90
+ flex-wrap: wrap;
91
+ }
92
+
93
+ .btn {
94
+ padding: 12px 24px;
95
+ border: none;
96
+ border-radius: 8px;
97
+ font-size: 1rem;
98
+ font-weight: 600;
99
+ cursor: pointer;
100
+ transition: all 0.3s ease;
101
+ text-decoration: none;
102
+ display: inline-block;
103
+ text-align: center;
104
+ }
105
+
106
+ .btn-primary {
107
+ background: #4299e1;
108
+ color: white;
109
+ }
110
+
111
+ .btn-primary:hover:not(:disabled) {
112
+ background: #3182ce;
113
+ transform: translateY(-2px);
114
+ }
115
+
116
+ .btn-secondary {
117
+ background: #e2e8f0;
118
+ color: #4a5568;
119
+ }
120
+
121
+ .btn-secondary:hover:not(:disabled) {
122
+ background: #cbd5e0;
123
+ transform: translateY(-2px);
124
+ }
125
+
126
+ .btn-small {
127
+ padding: 8px 16px;
128
+ font-size: 0.9rem;
129
+ }
130
+
131
+ .btn:disabled {
132
+ opacity: 0.6;
133
+ cursor: not-allowed;
134
+ transform: none;
135
+ }
136
+
137
+ .progress-container {
138
+ margin-top: 20px;
139
  }
140
 
141
+ .progress-info {
142
+ display: flex;
143
+ justify-content: space-between;
144
+ margin-bottom: 10px;
145
+ font-size: 0.9rem;
146
+ color: #4a5568;
147
  }
148
+
149
+ .progress-bar {
150
+ width: 100%;
151
+ height: 8px;
152
+ background: #e2e8f0;
153
+ border-radius: 4px;
154
+ overflow: hidden;
155
+ }
156
+
157
+ .progress-fill {
158
+ height: 100%;
159
+ background: linear-gradient(90deg, #4299e1, #38b2ac);
160
+ width: 0%;
161
+ transition: width 0.3s ease;
162
+ }
163
+
164
+ .status-message {
165
+ margin-top: 15px;
166
+ padding: 12px;
167
+ border-radius: 6px;
168
+ font-size: 0.9rem;
169
+ }
170
+
171
+ .status-success {
172
+ background: #c6f6d5;
173
+ color: #22543d;
174
+ border: 1px solid #9ae6b4;
175
+ }
176
+
177
+ .status-error {
178
+ background: #fed7d7;
179
+ color: #742a2a;
180
+ border: 1px solid #feb2b2;
181
+ }
182
+
183
+ .status-info {
184
+ background: #bee3f8;
185
+ color: #1a365d;
186
+ border: 1px solid #90cdf4;
187
+ }
188
+
189
+ .generation-controls textarea {
190
+ width: 100%;
191
+ padding: 15px;
192
+ border: 2px solid #e2e8f0;
193
+ border-radius: 8px;
194
+ font-size: 1rem;
195
+ resize: vertical;
196
+ margin-bottom: 15px;
197
+ font-family: inherit;
198
+ }
199
+
200
+ .generation-controls textarea:focus {
201
+ outline: none;
202
+ border-color: #4299e1;
203
+ }
204
+
205
+ .params {
206
+ display: grid;
207
+ grid-template-columns: 1fr 1fr;
208
+ gap: 15px;
209
+ margin-bottom: 20px;
210
+ }
211
+
212
+ .params label {
213
+ font-weight: 600;
214
+ color: #4a5568;
215
+ margin-bottom: 5px;
216
+ }
217
+
218
+ .params input {
219
+ padding: 10px;
220
+ border: 2px solid #e2e8f0;
221
+ border-radius: 6px;
222
+ font-size: 1rem;
223
+ }
224
+
225
+ .params input:focus {
226
+ outline: none;
227
+ border-color: #4299e1;
228
+ }
229
+
230
+ .result-container {
231
+ margin-top: 30px;
232
+ padding-top: 20px;
233
+ border-top: 2px solid #e2e8f0;
234
+ }
235
+
236
+ .audio-player {
237
+ width: 100%;
238
+ margin: 20px 0;
239
+ border-radius: 8px;
240
+ }
241
+
242
+ .examples {
243
+ display: grid;
244
+ gap: 10px;
245
+ }
246
+
247
+ .example-item {
248
+ display: flex;
249
+ justify-content: space-between;
250
+ align-items: center;
251
+ padding: 15px;
252
+ background: #f7fafc;
253
+ border-radius: 8px;
254
+ border-left: 4px solid #4299e1;
255
+ }
256
+
257
+ .example-item p {
258
+ margin: 0;
259
+ font-style: italic;
260
+ color: #4a5568;
261
+ }
262
+
263
+ .hidden {
264
+ display: none;
265
+ }
266
+
267
+ @media (max-width: 768px) {
268
+ .container {
269
+ padding: 15px;
270
+ }
271
+
272
+ header h1 {
273
+ font-size: 2rem;
274
+ }
275
+
276
+ .card {
277
+ padding: 20px;
278
+ }
279
+
280
+ .installation-controls {
281
+ flex-direction: column;
282
+ }
283
+
284
+ .params {
285
+ grid-template-columns: 1fr;
286
+ }
287
+ }