-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (75 loc) · 1.81 KB
/
Copy pathstyles.css
File metadata and controls
87 lines (75 loc) · 1.81 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
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #2d3748;
}
/* Headings styling */
h1, h2, h3, h4, h5, h6 {
font-family: 'Outfit', sans-serif;
font-weight: 700;
color: #1a202c;
}
/* Card Grid Layout */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 24px;
margin-top: 30px;
margin-bottom: 40px;
}
/* Card Styling */
.project-card {
display: flex;
flex-direction: column;
background: #ffffff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
text-decoration: none !important;
color: inherit !important;
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(0, 0, 0, 0.03);
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card-gradient-bar {
height: 6px;
width: 100%;
}
.card-content {
padding: 24px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.card-content h3 {
margin-top: 0;
margin-bottom: 12px;
font-size: 1.25rem;
font-weight: 600;
color: #1a202c;
transition: color 0.2s;
}
.project-card:hover .card-content h3 {
color: #3182ce; /* Highlight on hover */
}
.card-content p {
font-size: 0.95rem;
line-height: 1.5;
color: #4a5568;
margin-bottom: 20px;
flex-grow: 1;
}
.card-link-text {
font-size: 0.9rem;
font-weight: 600;
color: #3182ce;
margin-top: auto;
transition: transform 0.2s;
}
.project-card:hover .card-link-text {
transform: translateX(4px);
}