1
1
body {
2
2
font-family : "Poppins" ;
3
- background-color : # f4f4f4 ;
3
+ /* background-color: #c10f0f; */
4
4
color : # 333 ;
5
5
display : flex;
6
6
justify-content : center;
@@ -18,9 +18,10 @@ body {
18
18
font-size : 3em ;
19
19
margin-bottom : 20px ;
20
20
padding : 10px ;
21
- color : # 055364 ;
22
- border-radius : 20px ;
23
- background-color : rgba (209 , 209 , 255 , 0.8 );
21
+ color : # 9dedff ;
22
+ text-shadow : 1px 1px 2px rgb (60 , 0 , 255 ), 0 0 1em rgba (0 , 213 , 255 , 0.617 ), 0 0 0.2em rgba (0 , 234 , 255 , 0.623 );
23
+ /* border-radius: 20px; */
24
+ /* background-color: rgba(209, 209, 255, 0.8); */
24
25
}
25
26
26
27
.contributors-grid {
@@ -33,19 +34,49 @@ body {
33
34
}
34
35
35
36
.contributor-card {
36
- background-color : # e5e5f8 ;
37
- border : 2px solid # 101010 ;
38
- border-radius : 10px ;
39
- box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
40
- padding : 20px ;
41
37
width : 200px ;
42
- text-align : center;
43
- transition : transform 0.3s , box-shadow 0.3s ;
38
+ position : relative;
39
+ overflow : hidden;
40
+ max-width : calc (25% - 16px );
41
+ display : flex;
42
+ flex-direction : column;
43
+ align-items : center;
44
+ background-color : # fff ;
45
+ /* border: 1px solid #00ebdf; */
46
+ border-radius : 8px ;
47
+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
48
+ padding : 16px ;
49
+ transition : transform 0.5s ease-in-out, box-shadow 0.3s ease;
50
+ text-decoration : none;
51
+ color : inherit;
52
+ /* margin-bottom: 16px; */
44
53
}
45
54
46
55
.contributor-card : hover {
47
- transform : scale (1.05 );
48
- box-shadow : 0 8px 16px rgba (0 , 0 , 0 , 0.9 );
56
+ transform : scale (1.02 );
57
+ box-shadow : 1px 1px 23px rgba (0 , 157 , 255 , 0.915 );
58
+ border : none;
59
+ cursor : pointer;
60
+ }
61
+
62
+ .contributor-card ::before {
63
+ content : '' ;
64
+ position : absolute;
65
+ top : 0 ;
66
+ left : 0 ;
67
+ width : 100% ;
68
+ height : 100% ;
69
+ background : linear-gradient (132deg , # 0045ac 50% , # d8eeff 51% );
70
+ /* background: linear-gradient(130deg, #3b89ff 50%, #eef6ff 50%); */
71
+ transition : transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
72
+ transform : translate (-100% , -100% );
73
+ opacity : 0 ;
74
+ z-index : -1 ;
75
+ }
76
+
77
+ .contributor-card : hover ::before {
78
+ transform : translate (0 , 0 );
79
+ opacity : 1 ;
49
80
}
50
81
51
82
.contributor-card img {
@@ -54,16 +85,51 @@ body {
54
85
height : 100px ;
55
86
object-fit : cover;
56
87
margin-bottom : 10px ;
88
+ transition : box-shadow 0.3s ease-in-out, border 0.1s ease-in-out;
57
89
}
58
90
91
+ .contributor-card : hover img {
92
+ border : 2px solid rgb (255 , 234 , 0 );
93
+ box-shadow : -1px 2px 27px rgb (0 , 217 , 255 );
94
+ }
95
+
96
+ /*
59
97
.contributor-card h2 {
60
- font-size : 1.2em ;
61
98
margin: 0 0 10px;
99
+ } */
100
+ /*
101
+ .contributor-card p {
102
+ } */
103
+
104
+ .contributor-card h2 {
105
+ font-size : 1.2em ;
106
+ color : # 040404 ;
107
+ position : relative;
108
+ z-index : 1 ;
109
+ transition : text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
62
110
}
63
111
64
112
.contributor-card p {
113
+ font-size : 1.2em ;
65
114
color : # 040404 ;
115
+ position : relative;
116
+ z-index : 1 ;
117
+ transition : text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
118
+ margin : 0 0 10px ;
119
+ }
120
+
121
+ .contributor-card : hover h2 {
122
+ text-shadow : 1px 1px 2px rgb (0 , 108 , 108 ), 0 0 0.2em rgb (0 , 14 , 108 ), 0 0 0.8em rgb (0 , 14 , 108 );
123
+ color : white;
66
124
}
125
+
126
+ .contributor-card : hover p {
127
+ text-shadow : 1px 1px 2px rgba (4 , 0 , 127 , 0.715 ), 0 0 0.2em rgb (5 , 18 , 168 ), 0 0 0.3em rgb (134 , 136 , 250 );
128
+ color : white;
129
+
130
+ /* font-weight: 400; */
131
+ }
132
+
67
133
/* dark mode */
68
134
/* Toggle button styles */
69
135
.toggle-container {
@@ -189,4 +255,7 @@ body {
189
255
}
190
256
body .dark-mode .contributor-card p {
191
257
color : white;
258
+ }
259
+ body .dark-mode .contributor-card h2 {
260
+ color : white;
192
261
}
0 commit comments