-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
574 lines (488 loc) · 10.9 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
.centered-image {
display: block;
margin: 0 auto;
max-width: 75%; /* Adjust the percentage value to make the image smaller */
height: auto;
}
.spaced-list li {
margin-bottom: 10px;
}
/* Tab styles */
.tab {
overflow: hidden;
background-color: #f1f1f1;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 20px;
}
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
color: #333; /* Dark text color for tabs */
}
.tab button:hover {
background-color: #ddd;
}
.tab button.active {
background-color: black; /* Black background for active tab */
color: white; /* White text color for active tab */
}
.tabcontent {
display: none;
padding: 20px;
border: 1px solid #ccc;
border-top: none;
height: 325px; /* Set a fixed height for the tab container */
overflow-y: auto; /* Add a vertical scrollbar if the content exceeds the fixed height */
}
/* Specific tab content styles */
.tabcontent-design {
background-color: #fff; /* Light gray background for design principles */
}
.tabcontent-rust {
background-color: #fff; /* White background for why rust */
}
/* General styles */
body {
font-family: 'Lucida Console', monospace;
font-size: 18px;
color: black;
background-color: white;
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Navbar styles */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: black;
padding: 10px 20px;
border-bottom: 1px solid black;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
transition: background-color 0.3s, color 0.3s;
}
.navbar.scrolled {
background-color: white;
}
.navbar .nav-link {
color: white;
transition: color 0.3s;
}
.navbar.scrolled .nav-link {
color: black;
}
.logo {
display: flex;
align-items: center;
flex-shrink: 0;
}
.logo img {
height: 30px;
width: auto;
}
.nav-links {
list-style: none;
display: flex;
margin: 0;
padding: 0;
align-items: center;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
text-decoration: none;
color: white;
font-size: 18px;
}
.nav-links a:hover {
text-decoration: underline;
}
/* Hero section styles */
.hero {
position: relative;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
padding-top: 80px; /* Adjust for fixed navbar */
}
.svg-container {
width: 100%;
max-width: 400px; /* Increase the maximum width for a larger logo */
margin-bottom: 20px;
}
.subheader {
color: black;
padding-left: 20px; /* Add padding to the left */
padding-right: 20px; /* Add padding to the right */
margin: 0 auto; /* Center align the subheader */
max-width: 100%; /* Ensure it takes the full width */
text-align: center; /* Ensure the text is centered */
}
.separator {
letter-spacing: 0;
}
.links-container {
font-size: 18px;
margin-top: 20px;
}
.links-container a {
text-decoration: none;
margin: 0 10px;
}
.notification-signup {
margin-top: 40px; /* Add ample padding between the button and hero text */
display: flex;
flex-direction: column;
align-items: center;
}
.notification-signup .button-row {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.hero-button {
font-size: 18px;
padding: 10px 20px;
margin: 10px; /* Space between buttons */
cursor: pointer;
background-color: black; /* Black background */
color: white; /* White text */
border: none;
border-radius: 5px;
transition: background-color 0.3s;
font-family: 'Lucida Console', monospace; /* Ensure the font matches the SVG style */
text-decoration: none; /* Remove underline */
}
.hero-button:hover {
background-color: #333; /* Slightly darker black on hover */
text-decoration: none; /* Ensure text is not underlined */
}
.hero-button .icon {
width: 24px; /* Adjust size as needed */
height: 24px;
margin-right: 1px; /* Space between the icon and text */
vertical-align: middle; /* Align icon with the text */
}
.primary-button {
background: linear-gradient(to right, #87AFFF, #7DEAFF);
color: black; /* Changed to black for better contrast */
}
.primary-button:hover {
background: linear-gradient(to right, #7698e6, #6ad3e6); /* Slightly darker gradient for hover effect */
color: black;
}
.secondary-button {
background-color: black;
color: white;
}
.secondary-button:hover {
background-color: #333; /* Slightly darker black on hover */
color: white; /* Ensure text remains white */
}
.install-button {
margin-top: 20px;
}
.install-button #pip {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: white;
color: #333;
font-size: 16px;
font-family: 'Lucida Console', monospace;
}
.install-button #pip-success {
color: #10b981; /* Green check mark */
}
.chevron-container {
position: absolute;
bottom: 20px; /* Adjust this value to move it up or down */
left: 50%;
transform: translateX(-50%);
cursor: pointer;
}
.chevron img {
width: 40px;
height: 40px;
transition: transform 0.3s ease;
}
.chevron:hover img {
transform: translateY(5px);
}
/* Slideshow styles */
.slideshow {
position: relative;
width: 100%;
max-width: 90%; /* Adjust the percentage as needed */
margin: 0 auto 40px auto;
padding-top: 60px; /* Adjust padding to ensure space for titles */
height: auto; /* Set height to auto to allow dynamic resizing */
}
.slide {
display: none;
width: 100%;
max-width: 100%; /* Ensure it takes the full width */
padding: 20px; /* Add padding for better spacing */
background-color: #2d2d2d; /* Background color for better visibility */
border-radius: 5px;
overflow: auto; /* Allow overflow to handle large code blocks */
}
.slide.active {
display: block;
}
.slideshow-title {
position: absolute;
top: 10px; /* Ensure enough space above the code block */
left: 10px;
font-size: 1.5em;
font-weight: bold;
color: black;
background-color: white;
padding: 5px 10px;
border-radius: 5px;
user-select: none; /* Prevent text selection */
pointer-events: none; /* Prevent highlighting */
margin-bottom: 10px; /* Space between title and description */
}
.slideshow-description {
position: absolute;
top: 50px; /* Ensure enough space below the title */
left: 10px;
font-size: 1em;
color: black;
background-color: white;
padding: 5px 10px;
border-radius: 5px;
user-select: none; /* Prevent text selection */
pointer-events: none; /* Prevent highlighting */
margin-bottom: 20px; /* Space between description and code block */
}
pre {
background: #2e3440;
color: #d8dee9;
padding: 20px;
border-radius: 10px;
overflow: auto;
white-space: pre-wrap; /* Wrap long lines */
word-break: break-word; /* Break long words */
height: auto; /* Adjust height to account for content */
margin: 80px 0 0 0; /* Ensure no margin so height is consistent */
display: block;
align-items: center; /* Center align code block */
}
code {
color: #d8dee9;
}
.content {
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 40px 20px; /* Add padding for spacing */
}
section {
padding: 40px 0; /* Add padding for spacing */
}
section h2 {
text-align: center;
}
hr {
border: none;
height: 2px;
background-color: #555;
margin: 40px 0; /* Adjust margin for spacing */
}
table {
border-collapse: collapse;
text-align: center;
width: 100%;
}
td {
padding: 5px 20px;
border: 1px solid #555;
}
.product-photo {
display: block;
max-width: 640px;
width: 100%;
margin: 0 auto;
}
.faqtable dt {
margin-bottom: 0.75em;
font-style: italic;
}
.faqtable dd {
margin-left: 0;
margin-bottom: 2em;
}
footer {
text-align: center;
padding: 10px;
background-color: #333;
width: 100%;
color: white; /* Change footer text color to white */
}
footer p {
margin: 5px 0;
}
footer a {
color: #007BFF;
text-decoration: none;
margin: 0 5px;
}
footer a:hover {
text-decoration: underline;
}
.footer-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 15px;
}
.footer-icons a {
color: white;
text-decoration: none;
transition: opacity 0.3s;
}
.footer-icons a:hover {
opacity: 0.8;
}
.footer-icons img {
width: 24px;
height: 24px;
}
#mc_embed_signup {
background: white;
clear: left;
font: 14px Helvetica, Arial, sans-serif;
}
#mc_embed_signup .email-container {
display: flex;
align-items: center;
}
#mc_embed_signup input.email {
width: 100%;
max-width: 300px;
padding: 10px;
margin: 10px 10px 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
#mc_embed_signup .button {
background-color: black;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
font-family: 'Lucida Console', monospace;
font-size: 18px;
}
#mc_embed_signup .button:hover {
background-color: #333;
}
/* Accordion styles for all screen sizes */
.accordion .card {
border: 1px solid #e0e0e0;
border-radius: 5px;
margin-bottom: 10px;
background-color: white;
}
.accordion .card-header {
padding: 0;
background: none;
border-bottom: none;
}
.accordion .btn-link {
width: 100%;
text-align: left;
padding: 15px;
font-size: 18px;
color: black;
text-decoration: none;
background-color: white;
border: none;
border-radius: 5px;
transition: all 0.3s ease;
}
.accordion .btn-link:not(.collapsed) {
background: linear-gradient(to right, #87AFFF, #7DEAFF);
color: black;
}
.accordion .btn-link:hover,
.accordion .btn-link:focus {
background: linear-gradient(to right, #7698e6, #6ad3e6);
text-decoration: none;
box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.accordion .card-body {
padding: 15px;
border-top: 1px solid #e0e0e0;
}
.accordion .spaced-list li {
margin-bottom: 10px;
}
/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
.navbar {
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 10px;
}
.logo {
padding-left: 0;
padding-top: 0;
flex: 0; /* Do not stretch the logo */
margin-bottom: 0; /* Remove bottom margin */
width: auto; /* Ensure the logo takes available width */
text-align: center; /* Center the logo */
}
.logo img {
height: 30px;
}
.nav-links {
justify-content: flex-end; /* Ensure nav links are justified to the right */
width: auto; /* Make the nav-links take full width */
}
.nav-links li {
margin-left: 10px; /* Adjust margin for space between items */
}
.nav-links a {
padding-right: 0;
}
.hero {
padding-top: 60px; /* Adjust for fixed navbar */
}
.links-container {
flex-direction: column;
text-align: center;
}
.notification-signup button {
width: 100%;
max-width: 300px;
}
.tabcontent, .tab-pane {
display: none; /* Hide the original tab contents */
}
}