Skip to content

Commit b6bca40

Browse files
authored
Merge pull request #109 from rutikakengal/Enhance-Contributors-Page-
Enhance Contributors Page
2 parents d7c1c12 + 7855e47 commit b6bca40

File tree

2 files changed

+354
-95
lines changed

2 files changed

+354
-95
lines changed

contributors/contributor.css

Lines changed: 191 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -7,174 +7,270 @@
77

88
body {
99
font-family: Arial, sans-serif;
10-
background: linear-gradient(135deg, #0b0b0b, #1e3427); /* Red to Blue gradient */
1110
color: #fff;
12-
height: 100vh;
11+
min-height: 100vh;
1312
display: flex;
14-
justify-content: left;
15-
align-items: left;
1613
flex-direction: column;
17-
}
18-
19-
20-
.navbar {
21-
align-items: left;
22-
display: flex;
14+
align-items: center;
2315
justify-content: flex-start;
24-
padding: 10px 20px;
25-
background-color: #f5f5f5;
26-
border-bottom: 1px solid #ddd;
16+
padding: 20px;
17+
overflow-x: hidden;
18+
position: relative; /* Needed for the background overlay */
2719
}
2820

29-
.nav-link {
30-
text-decoration: none;
31-
color: #E53935;
32-
font-size: 1rem;
33-
font-weight: bold;
34-
transition: color 0.3s;
21+
body::before {
22+
content: ""; /* Create an empty pseudo-element */
23+
position: absolute;
24+
top: 0;
25+
left: 0;
26+
width: 100%;
27+
height: 100%;
28+
background: url('../images/raSxSYFwHiyY36AmSkBQQ-transformed.png') no-repeat center center fixed; /* Background image */
29+
background-size: cover;
30+
filter: blur(10px); /* Blur effect */
31+
z-index: -1; /* Place it behind all content */
32+
transform: scale(1.1); /* Slight scale for better edge coverage */
3533
}
3634

37-
.nav-link:hover {
38-
color: #d32f2f;
39-
}
4035

41-
.container {
42-
text-align: center;
43-
max-width: 1200px;
44-
width: 100%;
45-
padding: 40px;
46-
}
4736

4837
h1 {
49-
font-size: 2rem;
50-
color: #fff;
51-
margin-bottom: 40px;
38+
font-size: 2.5rem;
39+
color: #ffffff;
40+
margin-bottom: 30px;
5241
font-weight: bold;
53-
letter-spacing: 2px;
42+
letter-spacing: 1.5px;
43+
text-align: center;
44+
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
5445
}
5546

5647
/* Contributor Card Grid */
5748
.contributors-grid {
5849
display: grid;
59-
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
60-
gap: calc(10px + 1vw); /* Gap varies from 10px to 20px */
61-
justify-items: center;
50+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
51+
gap: 20px;
52+
justify-content: center;
53+
width: 100%;
54+
max-width: 1200px;
55+
padding: 20px;
6256
}
6357

6458
/* Contributor Card Styling */
6559
.contributor-card {
66-
background: #ffffff;
60+
background: linear-gradient(135deg, #f5f5f5, #eaeaea); /* Light gradient for contrast */
6761
color: #333;
6862
border-radius: 15px;
6963
padding: 20px;
70-
width: 250px;
71-
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
64+
width: 100%;
65+
max-width: 280px;
66+
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
7267
text-align: center;
7368
transition: transform 0.3s ease, box-shadow 0.3s ease;
7469
position: relative;
70+
border: 2px solid transparent; /* Default transparent border */
71+
animation: pulse 2s infinite; /* Add subtle pulse animation to the entire card */
7572
}
7673

7774
.contributor-card:hover {
78-
transform: translateY(-10px); /* Card lift effect */
79-
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
75+
transform: translateY(-8px);
76+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
77+
border: 2px solid #004e64; /* Subtle blue border effect */
8078
}
8179

8280
.contributor-card img {
8381
width: 100px;
8482
height: 100px;
8583
border-radius: 50%;
86-
border: 3px solid #000000; /* Blue border */
84+
border: 4px solid #000000; /* Default black border */
85+
transition: border 0.3s ease, transform 0.3s ease;
8786
margin-bottom: 15px;
8887
}
8988

89+
.contributor-card img:hover {
90+
border: 6px solid #000000; /* Thicker black border on hover */
91+
transform: scale(1.1); /* Slight zoom-in effect */
92+
}
93+
9094
.contributor-card h3 {
91-
font-size: 1.4rem;
95+
font-size: 1.3rem;
9296
margin: 10px 0;
97+
color: #191813;
98+
}
99+
100+
.contributor-card p {
101+
font-size: 0.9rem;
102+
color: #555;
103+
margin-bottom: 15px;
93104
}
94105

95106
.contributor-card a {
96107
display: inline-block;
97108
margin: 5px 0;
98-
color: #191813;
109+
color: #004e64;
99110
font-weight: bold;
100111
text-decoration: none;
101112
transition: color 0.3s ease;
102113
}
103114

104115
.contributor-card a:hover {
105-
color: #004e64; /* Red hover effect */
116+
color: #191813;
106117
text-decoration: underline;
107118
}
108119

109-
/* Animated Button */
110-
.button {
111-
background: #004e64;
112-
color: #fff;
113-
padding: 12px 24px;
114-
font-size: 1rem;
115-
border: none;
116-
border-radius: 30px;
117-
cursor: pointer;
118-
margin-top: 30px;
119-
transition: transform 0.2s ease, background 0.3s ease;
120-
text-transform: uppercase;
120+
/* Dynamic Pulse Animation */
121+
@keyframes pulse {
122+
0% {
123+
transform: scale(1);
124+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
125+
}
126+
50% {
127+
transform: scale(1.04); /* Dynamic scale for smoother effect */
128+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Brighter shadow */
129+
}
130+
100% {
131+
transform: scale(1);
132+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
133+
}
121134
}
122135

123-
.button:hover {
124-
transform: scale(1.05);
125-
background: #004e64; /* Red background on hover */
136+
/* Scroll to Top Button */
137+
#scrollBtn {
138+
position: fixed;
139+
bottom: 20px;
140+
right: 20px;
141+
display: none;
142+
background-color: #007BFF;
143+
color: white;
144+
border: none;
145+
border-radius: 50%;
146+
padding: 15px;
147+
font-size: 18px;
148+
cursor: pointer;
149+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
150+
transition: background-color 0.3s ease, transform 0.3s ease;
126151
}
127152

128-
.button:focus {
129-
outline: none;
153+
#scrollBtn:hover {
154+
background-color: #0056b3;
155+
transform: scale(1.2);
130156
}
131157

132-
/* Responsive Design for Mobile */
158+
/* Responsive Design */
133159
@media (max-width: 768px) {
134-
.container {
135-
padding: 20px;
136-
}
137-
138160
h1 {
139161
font-size: 2rem;
140162
margin-bottom: 20px;
141163
}
142164

143-
/* Adjust the grid gap for mobile */
144165
.contributors-grid {
145-
gap: calc(10px + 2vw); /* Adjust gap for smaller screens */
166+
gap: 15px;
146167
}
147168
}
148169

149-
/* Responsive Design for Tablet/Desktop */
150-
@media (min-width: 768px) {
170+
@media (min-width: 1024px) {
151171
.contributors-grid {
152-
gap: calc(10px + 1.5vw); /* Larger gap for tablet/desktop */
172+
gap: 25px;
153173
}
154174
}
155175

176+
.footer {
177+
background: #000000;
178+
color: #fff;
179+
text-align: center;
180+
z-index: 5;
181+
min-height: 100px;
182+
}
183+
184+
.footer-container {
185+
display: flex;
186+
justify-content: center;
187+
flex-wrap: wrap;
188+
gap: 20px;
189+
}
190+
191+
.footer-info {
192+
max-width: 400px;
193+
}
194+
195+
196+
.copyright {
197+
font-size: 0.9rem;
198+
padding: 1px 10px;
199+
background-color: #222;
200+
}
201+
202+
.social-icons {
203+
display: flex;
204+
justify-content: center;
205+
gap: 10px;
206+
}
207+
208+
.social-icon {
209+
color: #fff;
210+
font-size: 1.2rem;
211+
transition: color 0.3s ease;
212+
padding-bottom: 10px;
213+
}
214+
215+
.social-icon:hover {
216+
color: #3e3636;
217+
}
218+
219+
.copyright {
220+
font-size: 0.9rem;
221+
padding: 1px 10px;
222+
background-color: #222;
223+
}
224+
225+
@media (max-width: 768px) {
226+
.footer-container {
227+
flex-direction: column;
228+
text-align: center;
229+
}
230+
}
231+
232+
/* Scroll button styles */
233+
#scrollBtn {
234+
position: fixed;
235+
bottom: 20px;
236+
right: 20px;
237+
display: none;
238+
background-color: #007bff;
239+
color: white;
240+
border: none;
241+
border-radius: 50%;
242+
padding: 15px;
243+
font-size: 18px;
244+
cursor: pointer;
245+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
246+
transition: background-color 0.3s ease, transform 0.3s ease;
247+
}
248+
249+
#scrollBtn i {
250+
pointer-events: none;
251+
transition: transform 0.3s ease;
252+
}
253+
254+
/* Hover effect */
255+
#scrollBtn:hover {
256+
background-color: #0056b3;
257+
transform: scale(1.1); /* Slightly enlarges the button */
258+
}
259+
260+
#scrollBtn:hover i {
261+
transform: scale(1.2); /* Slightly enlarges the icon */
262+
}
263+
264+
.auth-button {
265+
color: #fff;
266+
text-decoration: none;
267+
border: 1px solid #fff;
268+
padding: 5px 10px;
269+
border-radius: 5px;
270+
transition: all 0.5s ease-in-out;
271+
}
156272

157-
/* CSS for Scroll to Top Button */
158-
#scrollBtn {
159-
position: fixed;
160-
bottom: 20px;
161-
right: 20px;
162-
display: none;
163-
background-color: #007BFF;
164-
color: white;
165-
border: none;
166-
border-radius: 50%;
167-
padding: 15px;
168-
font-size: 18px;
169-
cursor: pointer;
170-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
171-
pointer-events: auto;
172-
transition: background-color 0.3s ease, transform 0.3s ease;
173-
}
174-
175-
#scrollBtn:hover {
176-
background-color: #0056b3;
177-
transform: scale(1.2);
178-
}
179-
180-
273+
.auth-button:hover {
274+
background: #fff;
275+
color: #000000;
276+
}

0 commit comments

Comments
 (0)