alexdatamed commited on
Commit
e3d3814
·
verified ·
1 Parent(s): b8cdb4a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +458 -18
style.css CHANGED
@@ -1,28 +1,468 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Git для новачків - Стилі дашборду
3
+ ============================================ */
4
+
5
+ * {
6
+ margin: 0;
7
+ padding: 0;
8
+ box-sizing: border-box;
9
+ }
10
+
11
+ :root {
12
+ --primary-color: #f05033;
13
+ --secondary-color: #244c5a;
14
+ --accent-color: #6366f1;
15
+ --bg-light: #f8f9fa;
16
+ --bg-white: #ffffff;
17
+ --text-dark: #2d3748;
18
+ --text-light: #718096;
19
+ --border-color: #e2e8f0;
20
+ --success-color: #10b981;
21
+ --warning-color: #f59e0b;
22
+ --info-color: #3b82f6;
23
+ --danger-color: #ef4444;
24
+ }
25
+
26
  body {
27
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
28
+ background-color: #f0f2f5;
29
+ color: var(--text-dark);
30
+ line-height: 1.6;
31
+ }
32
+
33
+ .container {
34
+ max-width: 1200px;
35
+ margin: 0 auto;
36
+ padding: 0 20px;
37
+ }
38
+
39
+ /* ============================================
40
+ HEADER
41
+ ============================================ */
42
+ .header {
43
+ background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
44
+ color: white;
45
+ padding: 60px 20px;
46
+ text-align: center;
47
+ margin-bottom: 40px;
48
+ border-radius: 0 0 10px 10px;
49
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
50
+ }
51
+
52
+ .header h1 {
53
+ font-size: 2.5rem;
54
+ margin-bottom: 10px;
55
+ font-weight: 700;
56
+ }
57
+
58
+ .header .subtitle {
59
+ font-size: 1.1rem;
60
+ opacity: 0.9;
61
+ }
62
+
63
+ /* ============================================
64
+ TABS NAVIGATION
65
+ ============================================ */
66
+ .tabs {
67
+ display: flex;
68
+ gap: 10px;
69
+ margin-bottom: 40px;
70
+ background: white;
71
+ padding: 15px 20px;
72
+ border-radius: 8px;
73
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
74
+ flex-wrap: wrap;
75
+ }
76
+
77
+ .tab-button {
78
+ padding: 10px 20px;
79
+ border: 2px solid transparent;
80
+ background: var(--bg-light);
81
+ color: var(--text-dark);
82
+ cursor: pointer;
83
+ border-radius: 6px;
84
+ font-size: 1rem;
85
+ font-weight: 600;
86
+ transition: all 0.3s ease;
87
+ }
88
+
89
+ .tab-button:hover {
90
+ background: var(--bg-light);
91
+ transform: translateY(-2px);
92
+ }
93
+
94
+ .tab-button.active {
95
+ background: var(--primary-color);
96
+ color: white;
97
+ border-color: var(--primary-color);
98
+ }
99
+
100
+ /* ============================================
101
+ CONTENT SECTIONS
102
+ ============================================ */
103
+ .tab-content {
104
+ display: none;
105
+ animation: fadeIn 0.3s ease;
106
+ }
107
+
108
+ .tab-content.active {
109
+ display: block;
110
+ }
111
+
112
+ @keyframes fadeIn {
113
+ from {
114
+ opacity: 0;
115
+ transform: translateY(10px);
116
+ }
117
+ to {
118
+ opacity: 1;
119
+ transform: translateY(0);
120
+ }
121
+ }
122
+
123
+ .tab-content h2 {
124
+ font-size: 2rem;
125
+ margin-bottom: 30px;
126
+ color: var(--primary-color);
127
+ border-bottom: 3px solid var(--primary-color);
128
+ padding-bottom: 10px;
129
+ }
130
+
131
+ /* ============================================
132
+ COMMAND CARDS
133
+ ============================================ */
134
+ .commands-grid {
135
+ display: grid;
136
+ grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
137
+ gap: 20px;
138
+ margin-bottom: 40px;
139
+ }
140
+
141
+ .command-card {
142
+ background: white;
143
+ border-radius: 8px;
144
+ padding: 20px;
145
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
146
+ transition: all 0.3s ease;
147
+ border-left: 4px solid var(--primary-color);
148
+ }
149
+
150
+ .command-card:hover {
151
+ transform: translateY(-5px);
152
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
153
+ }
154
+
155
+ .command-header {
156
+ display: flex;
157
+ align-items: center;
158
+ justify-content: space-between;
159
+ margin-bottom: 12px;
160
+ gap: 10px;
161
+ }
162
+
163
+ .command-name {
164
+ font-size: 1.2rem;
165
+ font-weight: 700;
166
+ color: var(--primary-color);
167
+ background: var(--bg-light);
168
+ padding: 5px 10px;
169
+ border-radius: 4px;
170
+ font-family: 'Courier New', monospace;
171
+ }
172
+
173
+ .badge {
174
+ display: inline-block;
175
+ padding: 4px 10px;
176
+ border-radius: 20px;
177
+ font-size: 0.75rem;
178
+ font-weight: 600;
179
+ text-transform: uppercase;
180
+ white-space: nowrap;
181
+ }
182
+
183
+ .badge.setup {
184
+ background: #fef3c7;
185
+ color: #92400e;
186
+ }
187
+
188
+ .badge.staging {
189
+ background: #dbeafe;
190
+ color: #0c4a6e;
191
+ }
192
+
193
+ .badge.commit {
194
+ background: #dcfce7;
195
+ color: #166534;
196
+ }
197
+
198
+ .badge.remote {
199
+ background: #fae8ff;
200
+ color: #6b21a8;
201
+ }
202
+
203
+ .badge.info {
204
+ background: #e0f2fe;
205
+ color: #164e63;
206
+ }
207
+
208
+ .badge.branch {
209
+ background: #fed7aa;
210
+ color: #92400e;
211
+ }
212
+
213
+ .description {
214
+ font-size: 0.95rem;
215
+ color: var(--text-light);
216
+ margin-bottom: 12px;
217
+ }
218
+
219
+ .usage {
220
+ background: var(--bg-light);
221
+ padding: 12px;
222
+ border-radius: 6px;
223
+ margin-bottom: 12px;
224
+ border-left: 3px solid var(--accent-color);
225
+ }
226
+
227
+ .usage strong {
228
+ display: block;
229
+ margin-bottom: 8px;
230
+ color: var(--text-dark);
231
+ }
232
+
233
+ .usage pre {
234
+ font-size: 0.85rem;
235
+ overflow-x: auto;
236
+ }
237
+
238
+ .usage code {
239
+ font-family: 'Courier New', monospace;
240
+ color: #d63031;
241
+ background: white;
242
+ padding: 8px;
243
+ display: block;
244
+ border-radius: 4px;
245
+ }
246
+
247
+ .explanation {
248
+ background: #f0fdf4;
249
+ padding: 12px;
250
+ border-radius: 6px;
251
+ border-left: 3px solid var(--success-color);
252
+ }
253
+
254
+ .explanation strong {
255
+ color: var(--text-dark);
256
+ display: block;
257
+ margin-bottom: 6px;
258
+ }
259
+
260
+ .explanation p {
261
+ font-size: 0.9rem;
262
+ color: var(--text-dark);
263
+ }
264
+
265
+ .explanation code {
266
+ background: white;
267
+ padding: 2px 6px;
268
+ border-radius: 3px;
269
+ font-family: 'Courier New', monospace;
270
+ color: #d63031;
271
+ }
272
+
273
+ /* ============================================
274
+ WORKFLOW STEPS
275
+ ============================================ */
276
+ .workflow-steps {
277
+ display: flex;
278
+ flex-direction: column;
279
+ gap: 20px;
280
+ }
281
+
282
+ .step {
283
+ display: flex;
284
+ gap: 20px;
285
+ background: white;
286
+ padding: 20px;
287
+ border-radius: 8px;
288
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
289
+ transition: all 0.3s ease;
290
+ }
291
+
292
+ .step:hover {
293
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
294
+ transform: translateX(5px);
295
+ }
296
+
297
+ .step-number {
298
+ flex-shrink: 0;
299
+ width: 60px;
300
+ height: 60px;
301
+ background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
302
+ color: white;
303
+ border-radius: 50%;
304
+ display: flex;
305
+ align-items: center;
306
+ justify-content: center;
307
+ font-size: 1.5rem;
308
+ font-weight: 700;
309
+ }
310
+
311
+ .step-content h3 {
312
+ font-size: 1.2rem;
313
+ margin-bottom: 10px;
314
+ color: var(--primary-color);
315
+ }
316
+
317
+ .step-content p {
318
+ color: var(--text-light);
319
+ margin-bottom: 10px;
320
+ }
321
+
322
+ .step-content pre {
323
+ background: var(--bg-light);
324
+ padding: 12px;
325
+ border-radius: 6px;
326
+ overflow-x: auto;
327
+ border-left: 3px solid var(--accent-color);
328
+ }
329
+
330
+ .step-content code {
331
+ font-family: 'Courier New', monospace;
332
+ color: #d63031;
333
+ font-size: 0.9rem;
334
+ }
335
+
336
+ /* ============================================
337
+ TIPS GRID
338
+ ============================================ */
339
+ .tips-grid {
340
+ display: grid;
341
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
342
+ gap: 20px;
343
+ }
344
+
345
+ .tip-card {
346
+ background: white;
347
+ padding: 20px;
348
+ border-radius: 8px;
349
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
350
+ transition: all 0.3s ease;
351
+ border-top: 3px solid var(--accent-color);
352
+ }
353
+
354
+ .tip-card:hover {
355
+ transform: translateY(-5px);
356
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
357
+ }
358
+
359
+ .tip-icon {
360
+ font-size: 2.5rem;
361
+ margin-bottom: 10px;
362
+ }
363
+
364
+ .tip-card h3 {
365
+ font-size: 1.1rem;
366
+ margin-bottom: 10px;
367
+ color: var(--primary-color);
368
+ }
369
+
370
+ .tip-card p {
371
+ font-size: 0.9rem;
372
+ color: var(--text-light);
373
+ line-height: 1.6;
374
+ }
375
+
376
+ .tip-card code {
377
+ background: var(--bg-light);
378
+ padding: 2px 6px;
379
+ border-radius: 3px;
380
+ font-family: 'Courier New', monospace;
381
+ color: #d63031;
382
+ }
383
+
384
+ /* ============================================
385
+ FOOTER
386
+ ============================================ */
387
+ .footer {
388
+ background: var(--secondary-color);
389
+ color: white;
390
+ text-align: center;
391
+ padding: 30px 20px;
392
+ margin-top: 60px;
393
+ border-radius: 8px 8px 0 0;
394
+ }
395
+
396
+ .footer p {
397
+ font-size: 1rem;
398
+ }
399
+
400
+ /* ============================================
401
+ RESPONSIVE DESIGN
402
+ ============================================ */
403
+ @media (max-width: 768px) {
404
+ .header h1 {
405
+ font-size: 2rem;
406
+ }
407
+
408
+ .commands-grid {
409
+ grid-template-columns: 1fr;
410
+ }
411
+
412
+ .tabs {
413
+ flex-direction: column;
414
+ }
415
+
416
+ .tab-button {
417
+ width: 100%;
418
+ text-align: left;
419
+ }
420
+
421
+ .step {
422
+ flex-direction: column;
423
+ }
424
+
425
+ .step-number {
426
+ width: 50px;
427
+ height: 50px;
428
+ font-size: 1.2rem;
429
+ }
430
+
431
+ .tips-grid {
432
+ grid-template-columns: 1fr;
433
+ }
434
+ }
435
+
436
+ /* ============================================
437
+ UTILITY CLASSES
438
+ ============================================ */
439
+ .highlight {
440
+ background: #fffacd;
441
+ padding: 20px;
442
+ border-radius: 6px;
443
+ border-left: 4px solid var(--warning-color);
444
+ margin-bottom: 20px;
445
  }
446
 
447
+ .success-box {
448
+ background: #f0fdf4;
449
+ border-left: 4px solid var(--success-color);
450
  }
451
 
452
+ .warning-box {
453
+ background: #fef3c7;
454
+ border-left: 4px solid var(--warning-color);
 
 
455
  }
456
 
457
+ .error-box {
458
+ background: #fef2f2;
459
+ border-left: 4px solid var(--danger-color);
 
 
 
460
  }
461
 
462
+ .success-box,
463
+ .warning-box,
464
+ .error-box {
465
+ padding: 15px;
466
+ border-radius: 6px;
467
+ margin-bottom: 15px;
468
  }