-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcontributor.css
273 lines (239 loc) · 5.61 KB
/
contributor.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
body {
font-family: Arial, sans-serif;
background: black;
color: yellow;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
}
/* Mode Toggle */
.mode-toggle {
position: fixed;
bottom: 20px;
right: 20px;
}
#mode-button {
padding: 10px 20px;
border: none;
background-color: #ffcc00;
color: #b78726;
cursor: pointer;
border-radius: 8px;
font-weight: bold;
}
#mode-button:hover {
background-color: #ffd633;
}
/* Light Mode */
body.light-mode {
background-color: #f8f9fa;
color: #333;
}
/* Dark Mode */
body.dark-mode {
background-color: #1e1e1e;
color: #e0e0e0;
}
/* Gradient Mode */
body.gradient-mode {
background:
linear-gradient(180deg, rgba(50, 105, 184, 0.01), rgb(194, 182, 15) 85%),
radial-gradient(ellipse at top left, rgba(234, 154, 34, 0.5), transparent 50%), /* Replace with your primary color */
radial-gradient(ellipse at top right, rgba(61, 119, 160, 0.5), transparent 50%), /* Replace with your accent color */
radial-gradient(ellipse at center right, rgba(140, 205, 36, 0.5), transparent 50%), /* Replace with your violet color */
radial-gradient(ellipse at center left, rgba(177, 60, 231, 0.937), transparent 50%); /* Replace with your pink color */
color: rgb(10, 2, 73);
}
/* Adding a golden radial gradient with animation */
body:before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 150%;
height: 150%;
background: radial-gradient(circle, rgba(255, 223, 0, 0.4), transparent 60%);
transform: translate(-50%, -50%) scale(1);
animation: golden-glow 5s infinite alternate ease-in-out;
pointer-events: none;
z-index: -1;
}
/* Animation for the glow effect */
@keyframes golden-glow {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.7;
}
100% {
transform: translate(-50%, -50%) scale(1.2);
opacity: 1;
}
}
h1, h2 {
color: yellow;
margin-top: 20px;
text-align: center;
}
.section {
width: 90%;
max-width: 1200px;
text-align: center;
margin-bottom: 40px;
}
/* Project Lead Section */
.lead-section {
display: flex;
justify-content: center;
align-items: center;
margin: 40px 0;
}
.lead-card {
width: 300px;
background: yellow;
border-radius: 15px;
padding: 20px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
cursor: pointer;
color: black;
}
.lead-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
background-color: #333; /* Dark hover effect */
color: yellow;
}
.lead-card .circle-image {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 0 auto;
position: relative;
overflow: hidden;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
.lead-card .circle-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.lead-card .content {
margin-top: 20px;
}
.lead-card .content h3 {
font-size: 1.5em;
margin-bottom: 10px;
}
.lead-card .content p {
font-size: 1em;
line-height: 1.5;
}
.lead-card .social-icons {
display: flex;
justify-content: center;
gap: 5px;
margin-top: 15px;
}
.lead-card .social-icons img {
width: 80px;
height: 70px;
transition: transform 0.2s ease;
}
.lead-card .social-icons img:hover {
transform: scale(1.2);
}
/* Card Container */
.card-container {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 30px;
flex-wrap: wrap;
margin-top: 20px;
}
/* Individual Cards */
.card {
width: 240px;
background: yellow;
border-radius: 15px;
padding: 20px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
cursor: pointer;
color: black;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
background-color: #333; /* Dark hover effect */
color: yellow;
}
.circle-image {
width: 120px;
height: 120px;
border-radius: 50%;
margin: 0 auto;
position: relative;
overflow: hidden;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
.circle-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.content h3 {
font-size: 1.2em;
margin-bottom: 10px;
}
.social-icons img {
width: 50px;
height: 50px;
transition: transform 0.2s ease;
}
.social-icons img:hover {
transform: scale(1.2);
}
/* "Be the Next Contributor" Card */
.next-contributor {
background: black;
color: yellow;
text-align: center;
}
.next-contributor .circle-placeholder {
width: 100px;
height: 100px;
border-radius: 50%;
background: yellow;
margin: 20px auto;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5em;
font-weight: bold;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, background-color 0.3s ease;
}
.next-contributor:hover .circle-placeholder {
background: #f0e130;
transform: scale(1.1);
color: black;
}
.next-contributor .btn {
margin-top: 15px;
padding: 10px 20px;
background: yellow;
color: black;
text-decoration: none;
border-radius: 20px;
font-weight: bold;
transition: 0.3s ease, color 0.3s ease;
}
.next-contributor .btn:hover {
background: yellow;
color: black;
}