kamcio1989 commited on
Commit
ec048d8
·
verified ·
1 Parent(s): 29d4cd9

Upload style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. style.css +294 -18
style.css CHANGED
@@ -1,28 +1,304 @@
 
 
 
 
 
 
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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
10
+ min-height: 100vh;
11
+ color: #333;
12
+ }
13
+
14
+ .container {
15
+ max-width: 1200px;
16
+ margin: 0 auto;
17
+ padding: 20px;
18
+ }
19
+
20
+ header {
21
+ text-align: center;
22
+ margin-bottom: 30px;
23
+ color: white;
24
+ }
25
+
26
+ header h1 {
27
+ font-size: 2.5rem;
28
+ margin-bottom: 10px;
29
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
30
+ }
31
+
32
+ .subtitle {
33
+ font-size: 1.1rem;
34
+ opacity: 0.9;
35
+ margin-bottom: 10px;
36
+ }
37
+
38
+ .attribution {
39
+ font-size: 0.9rem;
40
+ }
41
+
42
+ .attribution a {
43
+ color: #ffd700;
44
+ text-decoration: none;
45
+ }
46
+
47
+ .attribution a:hover {
48
+ text-decoration: underline;
49
+ }
50
+
51
+ .app-container {
52
+ background: white;
53
+ border-radius: 15px;
54
+ padding: 25px;
55
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
56
+ margin-bottom: 20px;
57
+ }
58
+
59
+ .controls {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ align-items: center;
63
+ margin-bottom: 20px;
64
+ flex-wrap: wrap;
65
+ gap: 15px;
66
+ }
67
+
68
+ .control-group {
69
+ display: flex;
70
+ align-items: center;
71
+ gap: 10px;
72
  }
73
 
74
+ .btn {
75
+ padding: 10px 20px;
76
+ border: none;
77
+ border-radius: 8px;
78
+ cursor: pointer;
79
+ font-weight: 600;
80
+ transition: all 0.3s ease;
81
  }
82
 
83
+ .btn:disabled {
84
+ opacity: 0.6;
85
+ cursor: not-allowed;
 
 
86
  }
87
 
88
+ .btn.primary {
89
+ background: #007bff;
90
+ color: white;
 
 
 
91
  }
92
 
93
+ .btn.success {
94
+ background: #28a745;
95
+ color: white;
96
  }
97
+
98
+ .btn.warning {
99
+ background: #ffc107;
100
+ color: #212529;
101
+ }
102
+
103
+ .btn.danger {
104
+ background: #dc3545;
105
+ color: white;
106
+ }
107
+
108
+ .btn:hover:not(:disabled) {
109
+ transform: translateY(-2px);
110
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
111
+ }
112
+
113
+ select {
114
+ padding: 8px 12px;
115
+ border: 2px solid #e9ecef;
116
+ border-radius: 6px;
117
+ background: white;
118
+ }
119
+
120
+ .editor-section {
121
+ display: grid;
122
+ grid-template-columns: 1fr 1fr;
123
+ gap: 20px;
124
+ margin-bottom: 20px;
125
+ }
126
+
127
+ .input-section, .code-section {
128
+ display: flex;
129
+ flex-direction: column;
130
+ }
131
+
132
+ h3 {
133
+ margin-bottom: 10px;
134
+ color: #495057;
135
+ font-size: 1.2rem;
136
+ }
137
+
138
+ h4 {
139
+ margin-bottom: 8px;
140
+ color: #6c757d;
141
+ }
142
+
143
+ textarea {
144
+ flex: 1;
145
+ padding: 15px;
146
+ border: 2px solid #e9ecef;
147
+ border-radius: 8px;
148
+ font-family: 'Consolas', 'Monaco', monospace;
149
+ font-size: 14px;
150
+ resize: vertical;
151
+ min-height: 200px;
152
+ }
153
+
154
+ textarea:focus {
155
+ outline: none;
156
+ border-color: #007bff;
157
+ }
158
+
159
+ .examples {
160
+ margin-top: 15px;
161
+ }
162
+
163
+ .example-buttons {
164
+ display: flex;
165
+ flex-wrap: wrap;
166
+ gap: 8px;
167
+ margin-top: 8px;
168
+ }
169
+
170
+ .example-btn {
171
+ padding: 6px 12px;
172
+ background: #f8f9fa;
173
+ border: 1px solid #dee2e6;
174
+ border-radius: 6px;
175
+ cursor: pointer;
176
+ font-size: 12px;
177
+ transition: all 0.2s ease;
178
+ }
179
+
180
+ .example-btn:hover {
181
+ background: #e9ecef;
182
+ transform: translateY(-1px);
183
+ }
184
+
185
+ .output-section {
186
+ margin-bottom: 20px;
187
+ }
188
+
189
+ #outputContainer {
190
+ border: 2px solid #e9ecef;
191
+ border-radius: 8px;
192
+ padding: 15px;
193
+ min-height: 120px;
194
+ background: #f8f9fa;
195
+ font-family: 'Consolas', 'Monaco', monospace;
196
+ font-size: 14px;
197
+ white-space: pre-wrap;
198
+ overflow-y: auto;
199
+ max-height: 300px;
200
+ }
201
+
202
+ .status-section {
203
+ display: flex;
204
+ justify-content: space-between;
205
+ align-items: center;
206
+ padding: 10px 0;
207
+ border-top: 1px solid #e9ecef;
208
+ }
209
+
210
+ .status {
211
+ display: flex;
212
+ align-items: center;
213
+ gap: 8px;
214
+ }
215
+
216
+ .status-dot {
217
+ width: 10px;
218
+ height: 10px;
219
+ border-radius: 50%;
220
+ background: #6c757d;
221
+ }
222
+
223
+ .status.idle .status-dot {
224
+ background: #6c757d;
225
+ }
226
+
227
+ .status.loading .status-dot {
228
+ background: #007bff;
229
+ animation: pulse 1.5s infinite;
230
+ }
231
+
232
+ .status.success .status-dot {
233
+ background: #28a745;
234
+ }
235
+
236
+ .status.error .status-dot {
237
+ background: #dc3545;
238
+ }
239
+
240
+ .progress-container {
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 10px;
244
+ width: 200px;
245
+ }
246
+
247
+ .progress-bar {
248
+ flex: 1;
249
+ height: 8px;
250
+ background: #e9ecef;
251
+ border-radius: 4px;
252
+ overflow: hidden;
253
+ }
254
+
255
+ .progress-bar::after {
256
+ content: '';
257
+ display: block;
258
+ height: 100%;
259
+ background: #007bff;
260
+ width: 0%;
261
+ transition: width 0.3s ease;
262
+ }
263
+
264
+ .features {
265
+ background: white;
266
+ border-radius: 15px;
267
+ padding: 25px;
268
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
269
+ }
270
+
271
+ .features ul {
272
+ list-style: none;
273
+ padding-left: 0;
274
+ }
275
+
276
+ .features li {
277
+ padding: 8px 0;
278
+ border-bottom: 1px solid #f8f9fa;
279
+ }
280
+
281
+ .features li:last-child {
282
+ border-bottom: none;
283
+ }
284
+
285
+ @keyframes pulse {
286
+ 0% { opacity: 1; }
287
+ 50% { opacity: 0.5; }
288
+ 100% { opacity: 1; }
289
+ }
290
+
291
+ @media (max-width: 768px) {
292
+ .editor-section {
293
+ grid-template-columns: 1fr;
294
+ }
295
+
296
+ .controls {
297
+ flex-direction: column;
298
+ align-items: stretch;
299
+ }
300
+
301
+ .control-group {
302
+ justify-content: center;
303
+ }
304
+ }