-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
874 lines (742 loc) · 20 KB
/
style.css
File metadata and controls
874 lines (742 loc) · 20 KB
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
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
/* Color Palette Variables (Sleek Black Theme) */
:root {
--color-background-dark: #0A0A0A; /* Very dark background for Vanta.js */
--color-container-dark: #1A1A1A; /* Main container background */
--color-card-dark: #2A2A2A; /* Section/modal background */
--color-accent-primary: #00E0FF; /* Bright cyan for highlights */
--color-accent-secondary: #00B0CC; /* Darker cyan for gradients */
--color-text-light: #F0F0F0; /* Light text for readability */
--color-text-muted: #AAAAAA; /* Muted text for secondary info */
--color-border-subtle: #3A3A3A; /* Subtle borders */
--color-red: #E53935; /* Stronger red for danger */
--color-red-dark: #B71C1C;
--color-green: #4CAF50; /* Green for success */
--color-green-dark: #388E3C;
--color-amber: #FFB300; /* Amber for warnings/edits */
--color-amber-dark: #FF8F00;
--color-gray: #555555; /* Neutral gray */
--color-gray-dark: #333333;
--color-patreon: #E53935; /* Red for Patreon button */
/* Font Families */
--font-primary: 'Inter', sans-serif;
--font-heading: 'Poppins', sans-serif;
}
/* Vanta.js Background */
#vanta-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Send to back */
opacity: 0.6; /* Slightly more transparent for glassy effect */
}
/* General Body and Layout */
body {
font-family: var(--font-primary);
background-color: var(--color-background-dark); /* Fallback if Vanta.js fails */
color: var(--color-text-light);
margin: 0;
padding: 0; /* Remove body padding, handled by wrapper */
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
line-height: 1.35;
box-sizing: border-box;
font-size: 13.5px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Dashboard Wrapper - Main Layout Container */
.dashboard-wrapper {
display: flex;
flex-direction: column; /* Default to column for small screens */
width: 100%;
max-width: 1400px; /* Increased max-width for a wider, more spacious feel */
margin: 0 auto; /* Center the wrapper */
box-sizing: border-box;
padding: 15px; /* Overall padding for the wrapper */
gap: 20px; /* Gap between top-bar and main-grid */
}
@media (min-width: 1024px) {
.dashboard-wrapper {
padding: 20px; /* Slightly more padding on larger screens */
}
}
/* Top Bar Styling (Header + Quick Nav) */
.top-bar {
background-color: var(--color-container-dark);
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
padding: 18px 25px; /* Increased horizontal padding */
display: flex;
flex-direction: column;
align-items: center;
gap: 15px; /* Gap between header content and quick nav */
border: 1px solid rgba(255, 255, 255, 0.05);
/* Removed sticky positioning */
/* position: sticky; */
/* top: 15px; */
z-index: 500; /* Ensure it stays above other content */
margin-bottom: 0; /* No bottom margin, gap handles it */
}
.top-bar .header-content {
text-align: center;
}
.top-bar h1 {
margin-top: 0;
margin-bottom: 5px;
font-size: 2.2em; /* Slightly larger for prominence */
}
.top-bar .tagline {
color: var(--color-text-muted);
font-size: 1em;
margin-top: 0;
margin-bottom: 0;
line-height: 1.4;
}
/* Quick Navigation */
.quick-nav {
display: flex;
justify-content: center;
gap: 30px; /* More space between nav items */
flex-wrap: wrap;
width: 100%; /* Ensure it spans full width of top-bar */
}
.quick-nav a {
color: var(--color-text-light);
text-decoration: none;
font-weight: 600;
font-size: 1em; /* Slightly larger font */
padding: 8px 15px; /* More prominent buttons */
border-radius: 6px;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
display: flex;
align-items: center;
gap: 8px;
background-color: rgba(26, 26, 26, 0.5); /* Subtle background */
border: 1px solid var(--color-border-subtle);
}
.quick-nav a:hover {
background-color: var(--color-accent-primary);
color: var(--color-background-dark);
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0, 224, 255, 0.3);
}
.quick-nav a i {
font-size: 1.1em;
color: var(--color-accent-primary); /* Icon color */
transition: color 0.2s ease;
}
.quick-nav a:hover i {
color: var(--color-background-dark); /* Icon color on hover */
}
/* Main Grid for Sidebar and Content */
.main-grid {
display: flex; /* Changed to flex for better control on smaller screens before grid */
flex-direction: column; /* Default to column */
gap: 20px; /* Gap between sidebar and content on small screens */
width: 100%;
}
@media (min-width: 1024px) {
.main-grid {
display: grid;
grid-template-columns: 280px 1fr; /* Fixed sidebar width, rest for content */
gap: 30px; /* Gap between sidebar and content on large screens */
align-items: flex-start; /* Align grid items to the top */
}
}
/* Sidebar Styling */
.sidebar {
background-color: var(--color-card-dark);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
padding: 20px;
flex-shrink: 0;
width: 100%; /* Full width on small screens */
box-sizing: border-box;
border: 1px solid rgba(255, 255, 255, 0.08);
/* Removed sticky behavior for desktop */
/* @media (min-width: 1024px) {
position: sticky;
top: calc(15px + 18px + 15px + 20px);
height: fit-content;
} */
}
.sidebar h3 {
color: var(--color-accent-primary);
margin-top: 0;
margin-bottom: 15px;
text-align: center;
font-size: 1.3em;
text-shadow: 0 0 4px rgba(0, 224, 255, 0.2);
}
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar li {
margin-bottom: 10px;
}
.sidebar a {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 15px;
background-color: rgba(26, 26, 26, 0.7);
border-radius: 8px;
color: var(--color-text-light);
text-decoration: none;
font-weight: 500;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
border: 1px solid var(--color-border-subtle);
}
.sidebar a:hover {
background-color: var(--color-accent-secondary);
color: var(--color-background-dark);
transform: translateX(5px);
box-shadow: 0 2px 8px rgba(0, 224, 255, 0.3);
}
.sidebar a i {
color: var(--color-accent-primary);
font-size: 1.1em;
transition: color 0.2s ease;
}
.sidebar a:hover i {
color: var(--color-background-dark);
}
/* Main Content Area */
.content-area {
flex-grow: 1;
display: flex;
flex-direction: column;
gap: 20px; /* Consistent gap between sections */
}
/* General Container/Card Styling */
.card {
background-color: var(--color-container-dark); /* Use container dark for main sections */
border-radius: 10px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
padding: 20px; /* Consistent padding for all main sections */
border: 1px solid rgba(255, 255, 255, 0.05);
box-sizing: border-box;
}
/* Section Titles and Descriptions */
.section-title-container {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
justify-content: center;
}
.section-title-container i {
font-size: 1.5em;
color: var(--color-accent-primary);
}
.section-title-container h2 {
margin: 0;
font-size: 1.8em;
text-align: center;
}
.section-description {
color: var(--color-text-muted);
text-align: center;
font-size: 0.95em;
margin-bottom: 15px;
line-height: 1.5;
}
/* Monthly Code Section Specifics */
.monthly-code-section {
width: 100%; /* Ensure it takes full width of its parent */
padding: 25px; /* Slightly more padding for this key section */
background-color: var(--color-card-dark); /* Use card dark for this specific section */
text-align: center; /* Center content inside */
}
.code-display {
background-color: var(--color-background-dark);
border: 1px dashed var(--color-accent-primary);
padding: 15px 20px;
border-radius: 8px;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 1.6em;
color: var(--color-accent-primary);
font-weight: 700;
letter-spacing: 2px;
box-shadow: inset 0 0 10px rgba(0, 224, 255, 0.4);
display: inline-block; /* Keep inline-block to respect text-align: center */
margin-top: 15px;
user-select: all; /* Allow easy selection */
}
.code-explanation {
font-size: 0.9em;
color: var(--color-text-muted);
margin-top: 15px;
}
.code-copy-button {
margin-top: 20px; /* Increased margin to place it clearly below the code display */
padding: 10px 20px;
font-size: 0.9em;
}
/* Project Grid */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted minmax for more condensation */
gap: 15px; /* Consistent gap */
padding-top: 15px;
border-top: 1px solid var(--color-border-subtle);
margin-top: 15px;
}
.project-card {
background-color: var(--color-card-dark);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
transition: transform 0.2s ease, box-shadow 0.2s ease;
display: flex;
flex-direction: column;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.project-card:hover {
transform: translateY(-4px); /* Slightly more lift */
box-shadow: 0 8px 25px rgba(0, 224, 255, 0.4); /* More intense glow */
}
.project-card img {
width: 100%;
height: 130px; /* Even more condensed height for images */
object-fit: cover;
border-bottom: 1px solid var(--color-border-subtle);
}
.video-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
border-bottom: 1px solid var(--color-border-subtle);
border-radius: 10px 10px 0 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.project-card-content {
padding: 15px; /* Consistent padding */
display: flex;
flex-direction: column;
flex-grow: 1;
}
.project-card-content h3 {
font-size: 1.3em;
margin-top: 0;
margin-bottom: 8px;
text-align: left;
color: var(--color-accent-primary);
text-shadow: none;
}
.project-card-content p {
font-size: 0.9em;
color: var(--color-text-muted);
line-height: 1.45;
margin-bottom: 15px;
flex-grow: 1;
}
.project-card-content .button {
width: fit-content;
align-self: flex-start;
font-size: 0.85em;
padding: 8px 15px;
}
/* Section Dividers */
.section-divider {
border: none;
border-top: 1px solid var(--color-border-subtle);
margin: 30px 0; /* Consistent margin for dividers */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Social Links Section */
.social-links-section {
padding: 25px; /* Slightly more padding for this section */
text-align: center;
}
.social-links {
display: flex;
justify-content: center;
gap: 25px;
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid var(--color-border-subtle);
}
.social-links a {
color: var(--color-text-light);
font-size: 2em;
transition: color 0.2s ease, transform 0.2s ease;
}
.social-links a:hover {
color: var(--color-accent-primary);
transform: translateY(-3px) scale(1.1);
}
/* Footer Section */
.footer-section {
padding: 20px;
text-align: center;
background-color: var(--color-container-dark); /* Use container dark for footer */
}
.patreon-promo {
background-color: rgba(26, 26, 26, 0.7);
border-radius: 10px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
border: 1px solid rgba(0, 224, 255, 0.2);
margin-bottom: 20px; /* Space between promo and copyright */
}
.patreon-promo .section-description {
margin-bottom: 15px;
font-size: 0.95em;
}
.button.patreon-button {
background-color: var(--color-patreon) !important;
background: var(--color-patreon) !important;
background-image: none !important;
color: white !important;
border: none !important;
padding: 10px 22px !important;
border-radius: 8px !important;
cursor: pointer !important;
font-size: 1em !important;
font-weight: 600 !important;
transition: all 0.2s ease !important;
display: inline-flex !important;
align-items: center !important;
gap: 8px !important;
text-decoration: none !important;
box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4) !important;
}
.button.patreon-button:hover {
background-color: var(--color-red-dark) !important;
transform: translateY(-2px) !important;
box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6) !important;
}
.copyright-text {
font-size: 0.75em;
color: var(--color-text-muted);
margin-top: 0;
}
/* --- NEW/UPDATED BUTTON STYLING (button-warning) --- */
.button-warning {
background-color: rgba(26, 26, 26, 0.7); /* Dark background like sidebar buttons */
color: var(--color-text-light); /* Light text */
border: 1px solid var(--color-amber); /* Orange border */
padding: 8px 15px; /* Consistent padding */
border-radius: 8px; /* Consistent border-radius */
cursor: pointer;
font-size: 0.85em;
font-weight: 600;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
display: inline-flex; /* Changed to inline-flex to allow centering with text-align */
align-items: center;
justify-content: center;
gap: 8px; /* Consistent gap for icon */
white-space: nowrap;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Subtle initial shadow */
text-transform: none; /* Remove uppercase if it was there */
letter-spacing: normal; /* Reset letter spacing */
}
.button-warning:hover {
background-color: rgba(42, 42, 42, 0.9); /* Slightly lighter dark background on hover */
color: var(--color-amber); /* Orange text on hover */
transform: translateY(-2px); /* Lift effect */
box-shadow: 0 4px 15px rgba(255, 179, 0, 0.5); /* Orange glow on hover */
border-color: var(--color-amber-dark); /* Darker orange border on hover */
}
.button-warning:active {
transform: translateY(0);
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.button-warning i {
color: var(--color-amber); /* Orange icon color */
font-size: 1.1em; /* Consistent icon size */
transition: color 0.2s ease;
}
.button-warning:hover i {
color: var(--color-amber-dark); /* Darker orange icon on hover */
}
/* --- END NEW/UPDATED BUTTON STYLING --- */
/* Responsive Adjustments */
@media (max-width: 1023px) {
.dashboard-wrapper {
padding: 10px;
gap: 15px;
}
.top-bar {
padding: 15px 20px;
top: 10px;
gap: 10px;
}
.top-bar h1 {
font-size: 1.8em;
}
.quick-nav {
flex-direction: column;
gap: 10px;
}
.quick-nav a {
font-size: 0.9em;
padding: 7px 12px;
gap: 6px;
}
.main-grid {
flex-direction: column; /* Ensure column layout on smaller screens */
gap: 15px;
}
.sidebar {
padding: 15px;
position: relative; /* Remove sticky on mobile */
top: auto;
}
.sidebar h3 {
font-size: 1.2em;
margin-bottom: 10px;
}
.sidebar li {
margin-bottom: 8px;
}
.sidebar a {
padding: 8px 12px;
font-size: 0.9em;
gap: 8px;
}
.content-area {
gap: 15px;
}
.card {
padding: 15px;
}
.section-title-container {
gap: 8px;
margin-bottom: 12px;
}
.section-title-container i {
font-size: 1.3em;
}
.section-title-container h2 {
font-size: 1.5em;
}
.section-description {
font-size: 0.85em;
margin-bottom: 12px;
}
.monthly-code-section {
padding: 20px;
}
.code-display {
font-size: 1.4em;
padding: 12px 18px;
letter-spacing: 1.5px;
}
.code-explanation {
font-size: 0.8em;
margin-top: 12px;
}
.code-copy-button {
margin-top: 15px;
padding: 9px 18px;
font-size: 0.8em;
}
.project-grid {
grid-template-columns: 1fr; /* Single column on small screens */
gap: 10px;
padding-top: 10px;
margin-top: 10px;
}
.project-card img, .video-container {
height: 100px; /* Further condensed height */
}
.project-card-content {
padding: 12px;
}
.project-card-content h3 {
font-size: 1.1em;
margin-bottom: 5px;
}
.project-card-content p {
font-size: 0.8em;
margin-bottom: 10px;
}
.project-card-content .button {
font-size: 0.75em;
padding: 6px 10px;
}
.section-divider {
margin: 20px 0;
}
.social-links-section {
padding: 20px;
}
.social-links {
gap: 20px;
margin-top: 15px;
padding-top: 10px;
}
.social-links a {
font-size: 1.8em;
}
.footer-section {
padding: 15px;
}
.patreon-promo {
padding: 15px;
margin-bottom: 15px;
}
.patreon-promo .section-description {
font-size: 0.9em;
margin-bottom: 12px;
}
.button.patreon-button {
padding: 9px 18px !important;
font-size: 0.9em !important;
gap: 7px !important;
}
.copyright-text {
font-size: 0.7em;
}
}
@media (max-width: 480px) {
.dashboard-wrapper {
padding: 8px;
gap: 10px;
}
.top-bar {
padding: 10px 15px;
top: 8px;
gap: 8px;
}
.top-bar h1 {
font-size: 1.5em;
}
.top-bar .tagline {
font-size: 0.9em;
}
.quick-nav a {
font-size: 0.8em;
padding: 6px 10px;
gap: 5px;
}
.main-grid {
gap: 10px;
}
.sidebar {
padding: 12px;
}
.sidebar h3 {
font-size: 1.1em;
margin-bottom: 8px;
}
.sidebar li {
margin-bottom: 6px;
}
.sidebar a {
padding: 7px 10px;
font-size: 0.8em;
gap: 6px;
}
.content-area {
gap: 10px;
}
.card {
padding: 12px;
}
.section-title-container {
gap: 6px;
margin-bottom: 10px;
}
.section-title-container i {
font-size: 1.2em;
}
.section-title-container h2 {
font-size: 1.3em;
}
.section-description {
font-size: 0.8em;
margin-bottom: 10px;
}
.monthly-code-section {
padding: 15px;
}
.code-display {
font-size: 1.2em;
padding: 10px 15px;
letter-spacing: 1px;
}
.code-explanation {
font-size: 0.75em;
margin-top: 10px;
}
.code-copy-button {
margin-top: 12px;
padding: 8px 15px;
font-size: 0.75em;
}
.project-grid {
gap: 8px;
padding-top: 8px;
margin-top: 8px;
}
.project-card img, .video-container {
height: 90px; /* Even smaller height */
}
.project-card-content {
padding: 10px;
}
.project-card-content h3 {
font-size: 1em;
margin-bottom: 4px;
}
.project-card-content p {
font-size: 0.75em;
margin-bottom: 8px;
}
.project-card-content .button {
font-size: 0.7em;
padding: 5px 8px;
}
.section-divider {
margin: 15px 0;
}
.social-links-section {
padding: 15px;
}
.social-links {
gap: 15px;
margin-top: 10px;
padding-top: 8px;
}
.social-links a {
font-size: 1.5em;
}
.footer-section {
padding: 10px;
}
.patreon-promo {
padding: 12px;
margin-bottom: 12px;
}
.patreon-promo .section-description {
font-size: 0.85em;
margin-bottom: 10px;
}
.button.patreon-button {
padding: 8px 15px !important;
font-size: 0.85em !important;
gap: 6px !important;
}
.copyright-text {
font-size: 0.65em;
}
}