forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pqr.css
122 lines (105 loc) · 2.89 KB
/
pqr.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
body {
font-family: "Poppins";
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
}
.container {
text-align: center;
}
.title {
font-size: 3em;
margin-bottom: 20px;
padding: 10px;
color: #00d4ff; /* Match with the website’s teal/blue colors */
text-shadow: 1px 1px 2px rgba(0, 213, 255, 0.7), 0 0 1em rgba(0, 128, 255, 0.6);
}
.contributors-grid {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
padding: 10px;
gap: 40px;
}
.contributor-card {
width: 220px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
background-color: #1e293b; /* Dark background to fit theme */
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 16px;
transition: transform 0.5s ease, box-shadow 0.3s ease;
color: #fff; /* White text for dark theme */
border: none;
}
.contributor-card:hover {
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 217, 255, 0.8); /* Light blue glow on hover */
}
.contributor-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #00b4d8 50%, #0077b6 51%);
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
transform: translate(-100%, -100%);
opacity: 0;
z-index: -1;
}
.contributor-card:hover::before {
transform: translate(0, 0);
opacity: 1;
}
.contributor-card img {
border-radius: 50%;
width: 100px;
height: 100px;
object-fit: cover;
margin-bottom: 10px;
border: 2px solid #00d4ff; /* Match with website theme colors */
transition: box-shadow 0.3s ease-in-out;
}
.contributor-card:hover img {
box-shadow: 0 0 15px rgba(0, 217, 255, 0.8); /* Light blue border glow */
}
.contributor-card h2 {
font-size: 1.3em;
color: #00d4ff; /* Bright teal/blue text */
transition: color 0.3s ease, text-shadow 0.3s ease;
}
.contributor-card p {
font-size: 1.1em;
color: #a0aec0; /* Soft grey for descriptions */
transition: color 0.3s ease, text-shadow 0.3s ease;
}
.contributor-card:hover h2 {
color: #ffffff;
text-shadow: 1px 1px 2px rgba(0, 255, 255, 0.7), 0 0 10px rgba(0, 217, 255, 0.8);
}
.contributor-card:hover p {
color: #ffffff;
text-shadow: 0 0 5px rgba(0, 255, 255, 0.7);
}
/* Dark mode */
body.dark-mode .contributor-card {
background-color: #121f3d; /* Darker background for dark mode */
}
body.dark-mode .contributor-card p,
body.dark-mode .contributor-card h2 {
color: #b0c4de;
}
body.dark-mode .contributor-card:hover h2,
body.dark-mode .contributor-card:hover p {
color: #ffffff;
text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}