-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
213 lines (178 loc) · 3.82 KB
/
index.css
File metadata and controls
213 lines (178 loc) · 3.82 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
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
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500&display=swap');
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #fef7f4;
}
.header-wrapper {
width: 100%;
background-color: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(8px);
border-bottom: 1px solid #e5e7eb;
}
.header-content {
max-width: 1280px;
margin: 0 auto;
padding: 3rem 2rem;
}
.header-title {
font-family: 'Playfair Display', serif;
font-size: 2.5rem;
font-weight: 700;
color: #111827;
margin: 0 0 1rem 0;
}
h1 {
/* Fix h1 to left of screen with max width of 1000px */
margin: 0 auto;
color: #333;
}
.page-wrapper {
max-width: 1280px; /* Approximately equivalent to max-w-7xl in Tailwind */
margin: 0 auto;
padding: 3rem 5rem 3rem 5rem;
}
.header-description {
font-family: 'Inter', sans-serif;
font-size: 1.125rem;
color: #4b5563;
max-width: 42rem;
margin: 0 0 1.5rem 0;
line-height: 1.6;
}
.social-links {
display: flex;
gap: 1rem;
align-items: center;
}
.social-link {
display: flex;
align-items: center;
gap: 0.5rem;
color: #4b5563;
text-decoration: none;
transition: color 0.2s ease;
font-family: 'Inter', sans-serif;
font-size: 0.875rem;
}
.social-link:hover {
color: #2563eb;
}
.social-link[href*="github"]:hover {
color: #111827;
}
.social-link[href*="mailto"]:hover {
color: #dc2626;
}
.icon {
width: 1.25rem;
height: 1.25rem;
}
.cards-container {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 1.5rem;
width: 100%;
}
/* Responsive breakpoints */
@media (min-width: 800px) {
.cards-container {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1060px) {
.cards-container {
grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1380px) {
.cards-container {
grid-template-columns: repeat(4, 1fr);
}
}
.card {
background-color: #F6EFEC;
width: 300px;
height: 400px;
border: 1px solid #ddd;
border-radius: 5px;
overflow: hidden;
cursor: pointer;
transition: box-shadow 0.1s ease-in-out;
display: flex;
flex-direction: column;
align-items: center;
justify-self: center;
}
.card:hover {
/* box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-title {
width: 90%; /* Adjust based on preference */
text-align: left;
margin: 10px 0;
}
.card-chart {
width: 100%; /* Adjust width as needed */
height: 200px; /* Adjust height as needed */
border-radius: 5px;
overflow: hidden;
}
.card-date {
width: 90%; /* Adjust based on preference */
text-align: left;
font-size: 0.9em;
color: #666;
margin: 10px 0;
}
.card-text {
width: 90%; /* Adjust based on preference */
text-align: left;
margin: 10px 0;
}
/* Styling for pulsating text effect */
.construction-text {
display: block;
margin-top: 0.5rem;
font-size: 0.875rem;
color: #6366f1; /* Indigo color */
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
position: relative;
padding-left: 1.5rem;
}
.construction-text::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 0.75rem;
height: 0.75rem;
background-color: currentColor;
border-radius: 50%;
animation: pulseOpacity 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@keyframes pulseOpacity {
0%, 100% {
opacity: 0.2;
}
50% {
opacity: 0.8;
}
}
/* Optional: Add a hover state to pause the animation */
.card:hover .construction-text,
.card:hover .construction-text::before {
animation-play-state: paused;
}