Anne-Charlotte commited on
Commit
f205181
·
verified ·
1 Parent(s): 5ed5c81

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +283 -312
style.css CHANGED
@@ -1,411 +1,382 @@
 
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, "Helvetica Neue", Arial, 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
- .hero {
16
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
17
- color: white;
18
- padding: 4rem 2rem;
19
- text-align: center;
20
- }
21
-
22
- .hero-content {
23
- max-width: 800px;
24
- margin: 0 auto;
25
- }
26
-
27
- .app-icon {
28
- font-size: 4rem;
29
- margin-bottom: 1rem;
30
- display: inline-block;
31
- }
32
-
33
- .hero h1 {
34
- font-size: 3rem;
35
- font-weight: 700;
36
- margin-bottom: 1rem;
37
- background: linear-gradient(45deg, #fff, #f0f9ff);
38
- background-clip: text;
39
- -webkit-background-clip: text;
40
- -webkit-text-fill-color: transparent;
41
- }
42
-
43
- .tagline {
44
- font-size: 1.25rem;
45
- opacity: 0.9;
46
- max-width: 600px;
47
- margin: 0 auto;
48
  }
49
 
 
50
  .container {
51
- max-width: 1200px;
52
- margin: 0 auto;
53
- padding: 0 2rem;
54
- position: relative;
55
- z-index: 2;
56
  }
57
 
58
- .main-card {
59
- background: white;
60
- border-radius: 20px;
61
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
62
- margin-top: -2rem;
63
- overflow: hidden;
64
- margin-bottom: 3rem;
65
  }
66
 
67
- .app-preview {
68
- background: linear-gradient(135deg, #1e3a8a, #3b82f6);
69
- padding: 3rem;
70
- color: white;
71
- text-align: center;
72
- position: relative;
 
 
 
 
 
73
  }
74
 
75
- .preview-image {
76
- background: #000;
77
- border-radius: 15px;
78
- padding: 2rem;
79
- max-width: 500px;
80
- margin: 0 auto;
81
- position: relative;
82
- overflow: hidden;
83
  }
84
 
85
- .camera-feed {
86
- font-size: 4rem;
87
- margin-bottom: 1rem;
88
- opacity: 0.7;
 
89
  }
90
 
91
- .detection-overlay {
92
- position: absolute;
93
- top: 50%;
94
- left: 50%;
95
- transform: translate(-50%, -50%);
96
- width: 100%;
97
  }
98
 
99
- .bbox {
100
- background: rgba(34, 197, 94, 0.9);
101
- color: white;
102
- padding: 0.5rem 1rem;
103
- border-radius: 8px;
104
- font-size: 0.9rem;
105
- font-weight: 600;
106
- margin: 0.5rem;
107
- display: inline-block;
108
- border: 2px solid #22c55e;
109
  }
110
 
111
- .app-details {
112
- padding: 3rem;
 
 
 
 
113
  }
114
 
115
- .app-details h2 {
116
- font-size: 2rem;
117
- color: #1e293b;
118
- margin-bottom: 2rem;
119
- text-align: center;
120
  }
121
 
122
- .template-info {
123
- display: grid;
124
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
125
- gap: 2rem;
126
- margin-bottom: 3rem;
 
 
 
127
  }
128
 
129
- .info-box {
130
- background: #f0f9ff;
131
- border: 2px solid #e0f2fe;
132
- border-radius: 12px;
133
- padding: 2rem;
134
  }
135
 
136
- .info-box h3 {
137
- color: #0c4a6e;
138
- margin-bottom: 1rem;
139
- font-size: 1.2rem;
140
  }
141
 
142
- .info-box p {
143
- color: #0369a1;
144
- line-height: 1.6;
 
 
 
 
145
  }
146
 
147
- .how-to-use {
148
- background: #fefce8;
149
- border: 2px solid #fde047;
150
- border-radius: 12px;
151
- padding: 2rem;
152
- margin-top: 3rem;
153
  }
154
 
155
- .how-to-use h3 {
156
- color: #a16207;
157
- margin-bottom: 1.5rem;
158
- font-size: 1.3rem;
159
- text-align: center;
160
  }
161
 
162
- .steps {
163
- display: flex;
164
- flex-direction: column;
165
- gap: 1.5rem;
166
  }
167
 
168
- .step {
169
- display: flex;
170
- align-items: flex-start;
171
- gap: 1rem;
172
  }
173
 
174
- .step-number {
175
- background: #eab308;
176
- color: white;
177
- width: 2rem;
178
- height: 2rem;
179
- border-radius: 50%;
180
- display: flex;
181
- align-items: center;
182
- justify-content: center;
183
- font-weight: bold;
184
- flex-shrink: 0;
185
  }
186
 
187
- .step h4 {
188
- color: #a16207;
189
- margin-bottom: 0.5rem;
190
- font-size: 1.1rem;
 
 
 
 
 
 
191
  }
192
 
193
- .step p {
194
- color: #ca8a04;
 
 
195
  }
196
 
197
- .download-card {
198
- background: white;
199
- border-radius: 20px;
200
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
201
- padding: 3rem;
202
- text-align: center;
 
 
 
 
 
 
203
  }
204
 
205
- .download-card h2 {
206
- font-size: 2rem;
207
- color: #1e293b;
208
- margin-bottom: 1rem;
 
 
 
 
 
 
209
  }
210
 
211
- .download-card>p {
212
- color: #64748b;
213
- font-size: 1.1rem;
214
- margin-bottom: 2rem;
215
  }
216
 
217
- .dashboard-config {
218
- margin-bottom: 2rem;
219
- text-align: left;
220
- max-width: 400px;
221
- margin-left: auto;
222
- margin-right: auto;
223
  }
224
 
225
- .dashboard-config label {
226
- display: block;
227
- color: #374151;
228
- font-weight: 600;
229
- margin-bottom: 0.5rem;
230
  }
231
 
232
- .dashboard-config input {
233
- width: 100%;
234
- padding: 0.75rem 1rem;
235
- border: 2px solid #e5e7eb;
236
- border-radius: 8px;
237
- font-size: 0.95rem;
238
- transition: border-color 0.2s;
239
  }
240
 
241
- .dashboard-config input:focus {
242
- outline: none;
243
- border-color: #667eea;
 
 
 
 
 
244
  }
245
 
246
- .install-btn {
247
- background: linear-gradient(135deg, #667eea, #764ba2);
248
- color: white;
249
- border: none;
250
- padding: 1.25rem 3rem;
251
- border-radius: 16px;
252
- font-size: 1.2rem;
253
- font-weight: 700;
254
- cursor: pointer;
255
- transition: all 0.3s ease;
256
- display: inline-flex;
257
- align-items: center;
258
- gap: 0.75rem;
259
- margin-bottom: 2rem;
260
- box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
261
  }
262
 
263
- .install-btn:hover:not(:disabled) {
264
- transform: translateY(-3px);
265
- box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
266
  }
267
 
268
- .install-btn:disabled {
269
- opacity: 0.7;
270
- cursor: not-allowed;
271
- transform: none;
 
 
 
 
 
 
 
 
272
  }
273
 
274
- .manual-option {
275
- background: #f8fafc;
276
- border-radius: 12px;
277
- padding: 2rem;
278
- margin-top: 2rem;
279
  }
280
 
281
- .manual-option h3 {
282
- color: #1e293b;
283
- margin-bottom: 1rem;
284
- font-size: 1.2rem;
285
  }
286
 
287
- .manual-option>p {
288
- color: #64748b;
289
- margin-bottom: 1rem;
290
  }
291
 
292
- .btn-icon {
293
- font-size: 1.1rem;
 
 
 
 
 
294
  }
295
 
296
- .install-status {
297
- padding: 1rem;
298
- border-radius: 8px;
299
- font-size: 0.9rem;
300
- text-align: center;
301
- display: none;
302
- margin-top: 1rem;
303
  }
304
 
305
- .install-status.success {
306
- background: #dcfce7;
307
- color: #166534;
308
- border: 1px solid #bbf7d0;
 
 
 
309
  }
310
 
311
- .install-status.error {
312
- background: #fef2f2;
313
- color: #dc2626;
314
- border: 1px solid #fecaca;
 
 
 
 
 
 
 
315
  }
316
 
317
- .install-status.loading {
318
- background: #dbeafe;
319
- color: #1d4ed8;
320
- border: 1px solid #bfdbfe;
321
  }
322
 
323
- .install-status.info {
324
- background: #e0f2fe;
325
- color: #0369a1;
326
- border: 1px solid #7dd3fc;
 
 
 
327
  }
328
 
329
- .manual-install {
330
- background: #1f2937;
331
- border-radius: 8px;
332
- padding: 1rem;
333
- margin-bottom: 1rem;
334
- display: flex;
335
- align-items: center;
336
- gap: 1rem;
337
- }
338
 
339
- .manual-install code {
340
- color: #10b981;
341
- font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
342
- font-size: 0.85rem;
343
- flex: 1;
344
- overflow-x: auto;
345
- }
346
 
347
- .copy-btn {
348
- background: #374151;
349
- color: white;
350
- border: none;
351
- padding: 0.5rem 1rem;
352
- border-radius: 6px;
353
- font-size: 0.8rem;
354
- cursor: pointer;
355
- transition: background-color 0.2s;
356
- }
357
 
358
- .copy-btn:hover {
359
- background: #4b5563;
 
360
  }
361
 
362
- .manual-steps {
363
- color: #6b7280;
364
- font-size: 0.9rem;
365
- line-height: 1.8;
 
 
 
 
 
 
366
  }
367
 
368
- .footer {
369
- text-align: center;
370
- padding: 2rem;
371
- color: white;
372
- opacity: 0.8;
373
  }
374
 
375
- .footer a {
376
- color: white;
377
- text-decoration: none;
378
- font-weight: 600;
379
  }
380
 
381
- .footer a:hover {
382
- text-decoration: underline;
383
  }
384
 
385
- /* Responsive Design */
386
- @media (max-width: 768px) {
387
- .hero {
388
- padding: 2rem 1rem;
389
- }
390
-
391
- .hero h1 {
392
- font-size: 2rem;
393
- }
394
-
395
- .container {
396
- padding: 0 1rem;
397
- }
398
-
399
- .app-details,
400
- .download-card {
401
- padding: 2rem;
402
- }
403
-
404
- .features-grid {
405
- grid-template-columns: 1fr;
406
- }
407
-
408
- .download-options {
409
- grid-template-columns: 1fr;
410
- }
411
  }
 
1
+ /* Reset and Base Styles */
2
  * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ :root {
9
+ --bg-primary: #0a0e1a;
10
+ --bg-secondary: #141824;
11
+ --bg-card: #1a1f2e;
12
+ --text-primary: #e8eaed;
13
+ --text-secondary: #9aa0a8;
14
+ --accent-blue: #3b82f6;
15
+ --accent-cyan: #06b6d4;
16
+ --accent-purple: #8b5cf6;
17
+ --border-color: rgba(255, 255, 255, 0.1);
18
+ --hover-bg: rgba(59, 130, 246, 0.1);
19
+ --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
20
+ --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
21
  }
22
 
23
  body {
24
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
25
+ background: var(--bg-primary);
26
+ color: var(--text-primary);
27
+ line-height: 1.6;
28
+ overflow-x: hidden;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
31
+ /* Container */
32
  .container {
33
+ max-width: 1200px;
34
+ margin: 0 auto;
35
+ padding: 0 1.5rem;
 
 
36
  }
37
 
38
+ /* Hero Section */
39
+ .hero {
40
+ padding: 5rem 0 4rem;
41
+ text-align: center;
42
+ position: relative;
 
 
43
  }
44
 
45
+ .hero::before {
46
+ content: '';
47
+ position: absolute;
48
+ top: -50%;
49
+ left: 50%;
50
+ transform: translateX(-50%);
51
+ width: 800px;
52
+ height: 800px;
53
+ background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
54
+ pointer-events: none;
55
+ z-index: 0;
56
  }
57
 
58
+ .hero-content {
59
+ position: relative;
60
+ z-index: 1;
 
 
 
 
 
61
  }
62
 
63
+ .hero-title {
64
+ font-size: clamp(2.5rem, 6vw, 4rem);
65
+ font-weight: 800;
66
+ margin-bottom: 1.5rem;
67
+ letter-spacing: -0.02em;
68
  }
69
 
70
+ .gradient-text {
71
+ background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
72
+ -webkit-background-clip: text;
73
+ -webkit-text-fill-color: transparent;
74
+ background-clip: text;
75
+ animation: gradient-shift 8s ease infinite;
76
  }
77
 
78
+ @keyframes gradient-shift {
79
+ 0%, 100% {
80
+ background-position: 0% 50%;
81
+ }
82
+ 50% {
83
+ background-position: 100% 50%;
84
+ }
 
 
 
85
  }
86
 
87
+ .hero-description {
88
+ font-size: clamp(1.1rem, 2vw, 1.35rem);
89
+ color: var(--text-secondary);
90
+ max-width: 700px;
91
+ margin: 0 auto 2rem;
92
+ line-height: 1.7;
93
  }
94
 
95
+ .hero-badges {
96
+ display: flex;
97
+ gap: 1rem;
98
+ justify-content: center;
99
+ flex-wrap: wrap;
100
  }
101
 
102
+ .badge {
103
+ padding: 0.5rem 1.25rem;
104
+ background: var(--bg-card);
105
+ border: 1px solid var(--border-color);
106
+ border-radius: 2rem;
107
+ font-size: 0.9rem;
108
+ font-weight: 500;
109
+ transition: all 0.3s ease;
110
  }
111
 
112
+ .badge:hover {
113
+ border-color: var(--accent-blue);
114
+ background: var(--hover-bg);
115
+ transform: translateY(-2px);
 
116
  }
117
 
118
+ /* Main Content */
119
+ .main-content {
120
+ padding: 2rem 0;
 
121
  }
122
 
123
+ .intro-section {
124
+ background: var(--bg-secondary);
125
+ border: 1px solid var(--border-color);
126
+ border-radius: 1rem;
127
+ padding: 2.5rem;
128
+ margin-bottom: 3rem;
129
+ box-shadow: var(--shadow-sm);
130
  }
131
 
132
+ .intro-section h2 {
133
+ font-size: 1.75rem;
134
+ margin-bottom: 1rem;
135
+ color: var(--text-primary);
 
 
136
  }
137
 
138
+ .intro-section p {
139
+ color: var(--text-secondary);
140
+ margin-bottom: 1rem;
141
+ font-size: 1.05rem;
 
142
  }
143
 
144
+ .cta-text {
145
+ color: var(--accent-cyan) !important;
146
+ font-weight: 600;
147
+ margin-bottom: 0 !important;
148
  }
149
 
150
+ /* Apps Section */
151
+ .apps-section {
152
+ margin-bottom: 3rem;
 
153
  }
154
 
155
+ .section-title {
156
+ font-size: 2rem;
157
+ margin-bottom: 2rem;
158
+ text-align: center;
159
+ position: relative;
160
+ display: inline-block;
161
+ width: 100%;
 
 
 
 
162
  }
163
 
164
+ .section-title::after {
165
+ content: '';
166
+ position: absolute;
167
+ bottom: -0.5rem;
168
+ left: 50%;
169
+ transform: translateX(-50%);
170
+ width: 80px;
171
+ height: 3px;
172
+ background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
173
+ border-radius: 2px;
174
  }
175
 
176
+ .apps-grid {
177
+ display: grid;
178
+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
179
+ gap: 2rem;
180
  }
181
 
182
+ /* App Cards */
183
+ .app-card {
184
+ background: var(--bg-card);
185
+ border: 1px solid var(--border-color);
186
+ border-radius: 1rem;
187
+ padding: 2rem;
188
+ transition: all 0.3s ease;
189
+ display: flex;
190
+ flex-direction: column;
191
+ box-shadow: var(--shadow-sm);
192
+ position: relative;
193
+ overflow: hidden;
194
  }
195
 
196
+ .app-card::before {
197
+ content: '';
198
+ position: absolute;
199
+ top: 0;
200
+ left: 0;
201
+ right: 0;
202
+ height: 3px;
203
+ background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
204
+ opacity: 0;
205
+ transition: opacity 0.3s ease;
206
  }
207
 
208
+ .app-card:hover {
209
+ border-color: var(--accent-blue);
210
+ transform: translateY(-5px);
211
+ box-shadow: var(--shadow-lg);
212
  }
213
 
214
+ .app-card:hover::before {
215
+ opacity: 1;
 
 
 
 
216
  }
217
 
218
+ .card-header {
219
+ margin-bottom: 1rem;
 
 
 
220
  }
221
 
222
+ .card-title {
223
+ font-size: 1.5rem;
224
+ margin-bottom: 0.75rem;
225
+ color: var(--text-primary);
 
 
 
226
  }
227
 
228
+ .author-badge {
229
+ display: inline-block;
230
+ padding: 0.25rem 0.75rem;
231
+ background: rgba(59, 130, 246, 0.2);
232
+ color: var(--accent-cyan);
233
+ border-radius: 0.5rem;
234
+ font-size: 0.85rem;
235
+ font-weight: 500;
236
  }
237
 
238
+ .card-description {
239
+ color: var(--text-secondary);
240
+ margin-bottom: 1.5rem;
241
+ flex-grow: 1;
242
+ line-height: 1.6;
 
 
 
 
 
 
 
 
 
 
243
  }
244
 
245
+ .card-footer {
246
+ margin-top: auto;
 
247
  }
248
 
249
+ .card-link {
250
+ display: inline-flex;
251
+ align-items: center;
252
+ gap: 0.5rem;
253
+ padding: 0.75rem 1.5rem;
254
+ background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
255
+ color: white;
256
+ text-decoration: none;
257
+ border-radius: 0.5rem;
258
+ font-weight: 600;
259
+ transition: all 0.3s ease;
260
+ box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
261
  }
262
 
263
+ .card-link:hover {
264
+ transform: translateX(3px);
265
+ box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
 
 
266
  }
267
 
268
+ .icon {
269
+ width: 20px;
270
+ height: 20px;
 
271
  }
272
 
273
+ /* Contribute Section */
274
+ .contribute-section {
275
+ margin-bottom: 3rem;
276
  }
277
 
278
+ .contribute-card {
279
+ background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
280
+ border: 1px solid var(--accent-blue);
281
+ border-radius: 1rem;
282
+ padding: 3rem;
283
+ text-align: center;
284
+ box-shadow: var(--shadow-sm);
285
  }
286
 
287
+ .contribute-card h2 {
288
+ font-size: 2rem;
289
+ margin-bottom: 1rem;
 
 
 
 
290
  }
291
 
292
+ .contribute-card p {
293
+ color: var(--text-secondary);
294
+ margin-bottom: 2rem;
295
+ font-size: 1.1rem;
296
+ max-width: 600px;
297
+ margin-left: auto;
298
+ margin-right: auto;
299
  }
300
 
301
+ .contribute-button {
302
+ display: inline-block;
303
+ padding: 1rem 2.5rem;
304
+ background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
305
+ color: white;
306
+ text-decoration: none;
307
+ border-radius: 0.5rem;
308
+ font-weight: 700;
309
+ font-size: 1.1rem;
310
+ transition: all 0.3s ease;
311
+ box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
312
  }
313
 
314
+ .contribute-button:hover {
315
+ transform: translateY(-3px);
316
+ box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
 
317
  }
318
 
319
+ /* Footer */
320
+ .footer {
321
+ text-align: center;
322
+ padding: 3rem 0 2rem;
323
+ color: var(--text-secondary);
324
+ border-top: 1px solid var(--border-color);
325
+ margin-top: 4rem;
326
  }
327
 
328
+ /* Responsive Design */
329
+ @media (max-width: 768px) {
330
+ .hero {
331
+ padding: 3rem 0 2rem;
332
+ }
 
 
 
 
333
 
334
+ .intro-section,
335
+ .contribute-card {
336
+ padding: 1.5rem;
337
+ }
 
 
 
338
 
339
+ .app-card {
340
+ padding: 1.5rem;
341
+ }
342
+
343
+ .apps-grid {
344
+ grid-template-columns: 1fr;
345
+ gap: 1.5rem;
346
+ }
 
 
347
 
348
+ .section-title {
349
+ font-size: 1.75rem;
350
+ }
351
  }
352
 
353
+ /* Animations */
354
+ @keyframes fadeInUp {
355
+ from {
356
+ opacity: 0;
357
+ transform: translateY(30px);
358
+ }
359
+ to {
360
+ opacity: 1;
361
+ transform: translateY(0);
362
+ }
363
  }
364
 
365
+ .app-card,
366
+ .intro-section,
367
+ .contribute-card {
368
+ animation: fadeInUp 0.6s ease-out;
369
+ animation-fill-mode: both;
370
  }
371
 
372
+ .app-card:nth-child(1) {
373
+ animation-delay: 0.1s;
 
 
374
  }
375
 
376
+ .app-card:nth-child(2) {
377
+ animation-delay: 0.2s;
378
  }
379
 
380
+ .app-card:nth-child(3) {
381
+ animation-delay: 0.3s;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  }