forked from TurkyAhmed/Developers-cards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (110 loc) · 2.47 KB
/
Copy pathstyle.css
File metadata and controls
125 lines (110 loc) · 2.47 KB
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
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background: #f0f2f5;
padding: 40px 20px;
color: #1a1a1a;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.card {
background: #ffffff;
border-radius: 20px;
padding: 30px 20px;
text-align: center;
border: 1px solid rgba(0, 0, 0, 0.05);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
}
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 6px;
background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.card img {
width: 130px;
height: 130px;
object-fit: cover;
border-radius: 50%;
border: 4px solid #fff;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
transition: transform 0.3s ease;
}
.card:hover img {
transform: scale(1.05);
}
.card h5.card-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 5px;
color: #111827;
}
.card p.text-muted {
font-size: 0.9rem;
color: #6b7280 !important;
font-weight: 500;
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.card .bio {
font-size: 0.95rem;
color: #4b5563;
line-height: 1.6;
margin-bottom: 20px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.badge {
padding: 8px 12px;
font-weight: 500;
font-size: 0.8rem;
border-radius: 8px;
letter-spacing: 0.3px;
transition: all 0.2s;
}
.badge:hover {
transform: translateY(-2px);
opacity: 0.9;
}
/* Custom Badge Colors to match "Premium" feel if Bootstrap classes are used */
.bg-dark { background-color: #1f2937 !important; }
.bg-primary { background-color: #3b82f6 !important; }
.bg-secondary { background-color: #6b7280 !important; }
.bg-success { background-color: #10b981 !important; }
.bg-info { background-color: #0ea5e9 !important; }
.bg-warning { background-color: #f59e0b !important; color: #fff !important; }
/* Links section */
.card a {
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 5px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.cards {
grid-template-columns: 1fr;
padding: 0 10px;
}
}