forked from Ctoic/Lisbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
1032 lines (884 loc) · 21.5 KB
/
style.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
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
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
:root {
--shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Customize your shadow here */
--transition-transform: transform 0.6s ease-in-out 0.1s;
--transition-background: background-color 0.6s ease-in-out 0.1s;
--accent-color: #94d769;
--accent-background-color: #94d769;
--small: 35px;
--medium: 50px;
--large: 65px;
--bar-height: 10px;
}
* {
margin: 0;
}
/* Loader Styles */
#loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white; /* Fond blanc pour masquer le contenu */
z-index: 9999; /* S'assurer que le loader est au-dessus de tout */
display: flex;
justify-content: center;
align-items: center;
}
/* Spinner size */
/* .spinner-border {
width: 4rem;
height: 4rem;
color: #1db954;
} */
/* Spinner container */
.spinner-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
/* Hide the default cursor */
body,
a,
button,
li {
cursor: none;
}
.hidden {
display: none;
}
.faq-answer {
display: block;
font-size: 1rem;
margin-top: 10px;
color: var(--accent-color); /* Existing accent color */
}
.faq-question {
cursor: pointer;
color: var(--accent-color); /* Same color for consistency */
font-weight: bold;
font-size: 1.2rem;
}
.faq-question:hover {
text-decoration: none;
}
/* Trailing circles styles */
.circle {
height: 24px;
width: 24px;
border-radius: 50%; /* Creates a circle */
position: fixed; /* Fixed position for the circles */
pointer-events: none; /* Makes circles unclickable */
z-index: 9999; /* Ensure it stays on top of other elements */
background-color: transparent; /* Default color; overridden by JS */
opacity: 0.5; /* Slightly transparent */
transition: transform 0.1s ease-out, left 0.15s, top 0.15s; /* Smooth transition */
}
/* Scale effect on hover for buttons and list items */
li:hover .circle,
button:hover .circle {
transform: scale(6); /* Scale the circle on hover */
}
/* Custom hover effect for buttons */
button:hover .circle {
background-color: #ff4081; /* Neon color when hovering over buttons */
}
/* Hover effect for list items */
li:hover {
background-color: #e0e0e0; /* Change background color on hover */
}
/* Hide the spinner once the page is loaded */
#loader.hidden {
display: none;
}
.language-selector {
margin: 20px;
}
.language-selector select {
padding: 10px;
font-size: 10px;
border-radius: 7px;
font-weight: 500;
}
body {
transition: background-color 0.3s, color 0.3s;
}
body.light-theme {
background-color: #f0f0f0;
color: #333;
}
body.dark-theme {
background-color: #121212;
color: #b3b3b3;
}
body.dark-theme .playlist-card {
background-color: #121212;
color: #b3b3b3;
}
::-webkit-scrollbar {
width: 7px;
}
/* Track */
::-webkit-scrollbar-track {
background: lightgrey;
border-radius: 4px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: gray;
cursor: pointer;
border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--accent-background-color);
}
a {
text-decoration: none !important;
}
a.logo-text {
color: var(--accent-color);
}
h1,
h2,
h3 {
color: inherit;
}
.page-title {
color: var(--accent-color) !important;
font-weight: bold;
}
#playlist li:hover {
background-color: #282828;
color: var(--accent-color);
}
#audio-player {
/* background-color: #282828; */
color: var(--accent-color);
appearance: none;
}
section {
box-shadow: var(--shadow);
}
button {
transition: background-color 0.3s;
}
button:hover {
background-color: var(--accent-background-color);
}
.btn-bd-primary {
color: var(--accent-color) !important;
background-color: transparent !important;
border: 1px solid var(--accent -color) !important;
}
.btn-bd-primary:hover {
color: #191414 !important;
background-color: var(--accent-background-color) !important;
}
footer.light-theme {
background-color: inherit;
color: #181818;
}
footer.dark-theme {
background-color: inherit;
color: #f6f6f6;
}
footer a:hover {
color: var(--accent-color);
}
.footer-col-title {
color: var(--accent-color) !important;
}
/* About page */
body.dark-theme section {
width: 100%;
background-color: #181818;
transition: transform 0.3s, box-shadow 0.3s;
}
body.light-theme section {
background-color: #ffffff;
}
.features-title {
color: var(--accent-color) !important;
}
.features-card {
transition: var(--transition-transform);
will-change: transform;
height: 100%;
}
.features-card:hover {
transform: scale(1.02);
}
.card-cover-container {
height: 12rem;
overflow: hidden;
}
/* about page end */
.book-card {
background-color: #181818;
transition: transform 0.3s, box-shadow 0.3s;
}
.book-card:hover {
box-shadow: var(--shadow);
}
.bi {
/* cursor: pointer; */
transition: var(--transition-transform);
will-change: transform;
color: var(--accent-color);
font-size: 1.3rem;
}
.bi:hover {
transform: scale(1.2);
color: #1db954;
}
body.dark-theme .playlist-card {
width: 100%;
background-color: #181818;
transition: transform 0.3s, box-shadow 0.3s;
}
body.light-theme .playlist-card {
background-color: inherit;
}
.playlist-card:hover {
box-shadow: var(--shadow);
}
.playlist-card ul {
height: auto;
}
.playlist {
max-height: 50vh;
}
.icon-action-btn-container {
margin-top: 30px;
}
.icon-action-btn {
transition: color 0.3s;
}
.icon-action-btn.active {
color: #1db954;
}
.icon-action-btn:hover {
color: #1db954;
}
.light-theme .book-card,
.light-theme #playlist,
.light-theme .bg-gray-800 {
background-color: inherit;
}
.light-theme .text-gray-300 {
color: #333;
}
.light-theme .bg-gray-700 {
background-color: #e0e0e0;
}
/* Play/Pause button animation */
.play-pause-button {
display: inline-block;
width: 50px;
height: 50px;
background-color: #1db954;
border-radius: 50%;
/* cursor: pointer; */
position: relative;
transition: background-color 0.3s;
}
.play-pause-button.pause::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-style: solid;
border-width: 10px 0 10px 18px;
border-color: transparent transparent transparent #fff;
}
.play-pause-button.play::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 10px;
height: 24px;
background-color: #fff;
box-shadow: 16px 0 0 #fff;
}
.play-pause-button:hover {
background-color: var(--accent-background-color);
}
.tooltip-parent {
position: relative;
display: inline-block;
}
.tooltip {
margin: 28px;
border-radius: 8px;
visibility: hidden;
opacity: 0;
min-width: 150px;
background-color: rgba(43, 42, 42, 0.7);
position: absolute;
padding: 4px;
color: white;
z-index: 1;
transition: opactiy 2s;
text-decoration: none;
font-style: normal;
}
.tooltip-parent:hover .tooltip {
visibility: visible;
opacity: 1;
}
.tooltip-left .tooltip {
top: 50%;
right: 100%;
margin-right: 5px;
transform: translateY(-50%);
}
.tooltip-right .tooltip {
top: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(-50%);
}
.tooltip-bottom .tooltip {
top: 100%;
left: 50%;
margin-left: -60px;
margin-top: 5px;
}
.tooltip-top .tooltip {
bottom: 100%;
left: 50%;
margin-left: -60px;
margin-bottom: 5px;
}
.adiobk-sub-item {
padding: 10px 12px 8px 12px;
border-radius: 48px;
background-color: inherit;
margin-bottom: 7px;
transition: var(--transition-background);
}
.adiobk-sub-item:hover {
background-color: var(--accent-background-color);
color: #121212;
}
.player {
position: relative;
/* background-color: white; */
}
.player audio {
width: 100%;
outline: none;
}
audio {
background-color: transparent !important;
background-image: none;
}
#audio-book-list-item:hover {
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#audio-book-list-item {
/* cursor: pointer; */
list-style: none;
}
/* Controls Buttons */
.ctrl-player .ctrl-buttons {
/* position: absolute;
bottom: 0px; */
/* border-top: 1px solid #ddd; */
width: 100%;
height: auto;
display: flex;
align-items: center;
justify-content: center;
}
.ctrl-player .ctrl-buttons .ctrl-button {
border: 1px solid #ddd;
border-radius: 50%;
text-align: center;
margin: 7px;
color: var(--accent-color);
cursor: pointer;
}
.ctrl-player .ctrl-buttons .ctrl-button-small {
width: var(--small);
height: var(--small);
line-height: var(--small);
}
.ctrl-player .ctrl-buttons .ctrl-button-medium {
width: var(--medium);
height: var(--medium);
line-height: var(--medium);
font-size: 1rem;
}
.ctrl-player .ctrl-buttons .ctrl-button-large {
width: var(--large);
height: var(--large);
line-height: var(--large);
font-size: 35px;
}
.ctrl-player .ctrl-buttons .ctrl-button-small:hover,
.ctrl-player .ctrl-buttons .ctrl-button-medium:hover,
.ctrl-player .ctrl-buttons .ctrl-button-large:hover {
background: var(--accent-background-color);
color: #121212;
}
.ctrl-player .ctrl-buttons .ctrl-button-small .bi:hover,
.ctrl-player .ctrl-buttons .ctrl-button-medium .bi:hover,
.ctrl-player .ctrl-buttons .ctrl-button-large .bi:hover {
color: #121212;
}
.ctrl-button-large .bi {
font-size: 2.5rem;
}
/* Base styles for the slider */
input[type="range"]#seekSlider {
width: 80%;
max-width: 400px;
min-width: 100px;
appearance: none;
background: transparent;
}
/* Slider track (the line behind the thumb) */
input[type="range"]#seekSlider::-webkit-slider-runnable-track {
width: 100%;
height: 5px;
background: var(--accent-background-color);
border-radius: 5px;
}
input[type="range"]#seekSlider::-moz-range-track {
width: 100%;
height: 5px;
background: var(--accent-background-color);
border-radius: 5px;
}
input[type="range"]#seekSlider::-ms-track {
width: 100%;
height: 5px;
background: var(--accent-background-color);
border-radius: 5px;
border-color: transparent;
color: transparent;
}
/* Slider thumb (the draggable part) */
input[type="range"]#seekSlider::-webkit-slider-thumb {
appearance: none;
width: 15px;
height: 15px;
background: white; /* Thumb color */
border: 2px solid var(--accent-background-color); /* Border around the thumb */
border-radius: 50%;
cursor: pointer;
margin-top: -5px; /* Center the thumb */
}
input[type="range"]#seekSlider::-moz-range-thumb {
width: 15px;
height: 15px;
background: white; /* Thumb color */
border: 2px solid var(--accent-background-color); /* Border around the thumb */
border-radius: 50%;
cursor: pointer;
}
input[type="range"]#seekSlider::-ms-thumb {
width: 15px;
height: 15px;
background: white; /* Thumb color */
border: 2px solid var(--accent-background-color); /* Border around the thumb */
border-radius: 50%;
cursor: pointer;
}
/* Active (hover or drag) state */
input[type="range"]#seekSlider:hover::-webkit-slider-thumb {
background: #e6f2e6;
}
input[type="range"]#seekSlider:hover::-moz-range-thumb {
background: #e6f2e6;
}
input[type="range"]#seekSlider:hover::-ms-thumb {
background: #e6f2e6;
}
.progress-bar {
font-size: 8px;
height: 12px;
}
/* for the FAQ section */
/* Add space between FAQ boxes */
/* Light Theme */
.light-theme .faq-box {
margin-bottom: 20px; /* Space between boxes */
background-color: #fafafa; /* Light background for the FAQ box */
}
.light-theme .faq {
background-color: #ededed; /* Light gray background for the outer container */
border: 1px solid #ededed; /* Optional: Add a border for better distinction */
}
/* Dark Theme */
.dark-theme .faq-box {
margin-bottom: 20px; /* Space between boxes */
background-color: #101010; /* Dark background for the FAQ box */
}
.dark-theme .faq {
background-color: #010101; /* Darker gray background for the outer container */
border: 1px solid #010101; /* Optional: Add a border for better distinction */
}
/* Optional: Additional styles for text color */
.light-theme .text-green-500 {
color: #1db954; /* Green text color in light theme */
}
.dark-theme .text-green-500 {
color: #a5d6a7; /* Softer green text color in dark theme */
}
.light-theme .text-gray-300 {
color: #333; /* Darker text color in light theme */
}
.dark-theme .text-gray-300 {
color: #ccc; /* Lighter text color in dark theme */
}
/* Profile image size */
.faq-profile {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
/* Add hover effect to FAQ cards */
.faq-box:hover {
transform: scale(1.02);
transition: transform 0.3s ease-in-out;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
}
/* theme toggle button */
/* Button styles */
#theme-toggle {
background-color: transparent; /* Make the button background transparent */
border: none; /* Remove any borders */
/* cursor: pointer; Show a pointer cursor on hover */
}
/* Change the color of the icon on hover */
#theme-toggle:hover #moon-icon,
#theme-toggle:hover #sun-icon {
color: #1db954; /* Change to green on hover */
}
/* Hide the moon icon in the light theme and vice versa */
.dark-theme #moon-icon {
display: none; /* Hide moon icon in dark theme */
}
.dark-theme #sun-icon {
display: block; /* Show sun icon in dark theme */
}
.light-theme #moon-icon {
display: block; /* Show moon icon in light theme */
}
.light-theme #sun-icon {
display: none; /* Hide sun icon in light theme */
}
.profile-section {
background-color: #1a1a1a;
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
}
#bookmarked-list li {
background-color: #121212;
padding: 15px;
border-radius: 8px;
}
#progress-tracking div {
background-color: #121212;
padding: 15px;
border-radius: 8px;
}
.container {
max-width: 1200px; /* or any width you prefer */
margin: 0 auto; /* centers the container */
padding: 0 1rem; /* optional padding */
}
.logo-text {
margin-right: auto; /* push logo to the left */
}
.text-gray-300 {
margin: 0 1rem; /* adjust horizontal space between links */
}
#menu {
margin-top: 1rem; /* if needed to create space above the menu */
}
@media (max-width: 1024px) {
header {
padding: 8px; /* Adjust padding for smaller screens */
max-height: 50px; /* Optional: reduce max height */
}
header .container {
height: auto; /* Allow height to be auto, but control the max height */
}
/* Additional styles for the menu icon */
.menu-icon {
display: block; /* Show menu icon */
/* Add styles for menu icon */
}
}
@media (max-width: 768px) {
}
#menu {
display: flex;
align-items: center; /* vertically center items */
}
.text-gray-300 {
margin-right: 1rem; /* space between menu items */
}
#theme-toggle,
#profile-btn {
margin-left: 1rem; /* space between buttons and menu items */
}
/* Profile button icon */
#profile-btn i {
transition: color 0.3s ease; /* Smooth color transition */
}
/* Hover effect on profile icon only */
#profile-btn:hover i {
color: #1db954; /* Change to green on hover */
}
/* Ensure the button itself does not change color */
#profile-btn {
background-color: transparent; /* Keep button background transparent */
border: none; /* No border for the button */
/* cursor: pointer; Show pointer on hover */
}
/* Other existing styles */
.text-gray-300 {
color: #d1d1d1;
}
/*menu section theme */
/* Default header background (dark theme) */
header {
position: fixed;
max-height: 120px; /* Set a maximum height */
width: 100%;
top: 0;
z-index: 1000;
background-color: #1a1a1a; /* Ensures the header is fixed at the top */
padding: 10px 0;
}
#menu {
background-color: inherit; /* Menu should inherit the header's background color */
}
/* Make sure the body doesn't hide underneath the fixed header */
body {
margin-top: 80px; /* Adjust this margin to match the height of the header */
}
/* Light theme adjustments */
body.light-theme header {
background-color: #333333; /* Darker gray for light theme */
}
body.light-theme #menu {
background-color: inherit; /* Inherit light theme header background */
}
/* Dark theme adjustments */
body.dark-theme header {
background-color: #1a1a1a; /* Dark theme header */
}
body.dark-theme #menu {
background-color: inherit; /* Inherit dark theme header background */
}
/* Optional hover effects */
a.text-gray-300:hover {
color: #1db954; /* Green highlight on hover */
}
/* Header & Menu */
header {
background-color: #1a1a1a;
}
header .container {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center; /* Center items vertically */
height: 60px; /* Fixed height */
}
#menu {
background-color: inherit;
position: relative;
}
/* Adjusting the layout */
.profile-and-friends {
display: flex;
justify-content: space-between;
align-items: stretch; /* Ensures both sections have the same height */
padding-top: 80px;
}
.profile-section,
.friends-section {
flex: 1; /* Both sections will take equal space */
background-color: inherit;
border-radius: 12px;
padding: 20px;
margin-bottom: 30px;
transition: transform 0.3s ease-in-out;
display: flex;
flex-direction: column; /* Ensures content inside can expand vertically */
}
.dark-theme .friends-section,
.profile-section {
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}
/* Optional hover effect for both sections */
.profile-section:hover,
.friends-section:hover {
transform: scale(1.02);
}
.profile-section:hover {
transform: scale(1.02);
}
#profile-pic {
/* cursor: pointer; */
transition: transform 0.3s ease;
}
#profile-pic:hover {
transform: rotate(360deg);
}
#upload-pic {
background-color: #94d769;
border: #94d769;
}
#upload-pic:hover {
background-color: #1db954;
border: #1db954;
}
.friend-card {
/* cursor: pointer; */
transition: all 0.3s ease;
padding: 15px;
text-align: center;
background-color: inherit; /* Slightly darker background for the cards */
border-radius: 12px; /* Smooth rounded corners */
position: relative;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.dark-theme .friend-card {
box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}
.friend-card:hover {
transform: scale(1.05); /* Slightly enlarges the card on hover */
background-color: #1db954; /* Changes background color on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deepens the shadow on hover */
border-radius: 16px; /* Increases the border-radius on hover */
}
.friend-card img {
transition: transform 0.3s ease, border-radius 0.3s ease; /* Smooth transition for image */
border-radius: 50%; /* Ensures profile image is rounded */
}
.friend-card:hover img {
transform: scale(1.1); /* Enlarges the profile picture slightly on hover */
border-radius: 50%; /* Keeps profile image round on hover */
}
.friend-card .card-title {
margin-top: 10px;
}
.friend-card .card-text a {
color: #ffffff;
transition: color 0.3s ease;
}
.friend-card:hover .card-text a {
color: #121212; /* Changes text color to black when hovered */
}
.friend-card .card-text a.btn {
background-color: #ffffff; /* Default button color */
color: #121212; /* Button text color */
}
.friend-card:hover .card-text a.btn {
background-color: inherit; /* Changes button color on hover */
color: #ffffff; /* Button text color on hover */
}
.friend-card.collapsed:hover {
transform: scale(1.05);
}
.friend-content {
display: none;
transition: all 0.3s ease;
background-color: inherit;
padding: 10px;
margin-top: 10px;
border-radius: 8px;
text-align: center;
}
.friend-content.expanded {
display: block;
}
/* Button Styles */
.btn-primary {
background-color: #1db954;
border-color: #1db954;
}
.btn-primary:hover {
background-color: #1db700;
}
/* footre things */
/* General Footer Styles */
.footer-col-title {
color: #333; /* Darker text for titles */
font-size: 1.25rem; /* Larger font for section titles */
text-transform: uppercase; /* Uppercase for titles */
margin-bottom: 1rem; /* Space below titles */
}
.nav {
padding-left: 0; /* Remove default padding */
}
/* Link Styles */
.nav a {
color: #555; /* Gray color for links */
text-decoration: none; /* Remove underline */
padding: 0.5rem 0; /* Space around links */
font-weight: 500; /* Medium font weight for links */
transition: color 0.3s ease; /* Smooth transition */
}
/* Hover Effect for Links */
.nav a:hover {
color: #28a745; /* Change to green on hover (adjust this value to match your site's green) */
}
/* Button Styles */
.nav a.button {
display: inline-block; /* Allow for padding */
background-color: transparent; /* Transparent background for buttons */
color: #555; /* Gray color for button text */
border: none; /* Remove default border */
border-radius: 25px; /* Rounded corners */
padding: 0.5rem 1rem; /* Padding for the button */