-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
350 lines (292 loc) · 6.91 KB
/
styles.css
File metadata and controls
350 lines (292 loc) · 6.91 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
/* =========================
Root & Reset (Dark Blue/Purple Theme)
========================= */
:root {
/* Palette */
--bg: #070A12; /* page background */
--bg2: #0B1020; /* subtle secondary background */
--surface: rgba(255,255,255,0.06);
--surface-2: rgba(255,255,255,0.085);
--text: #EEF1FF;
--muted: rgba(238,241,255,0.72);
--border: rgba(255,255,255,0.12);
/* Accent */
--accent: #7C5CFF; /* purple */
--accent-2: #40A9FF; /* blue */
--accent-soft: rgba(124,92,255,0.18);
--accent-soft-2: rgba(64,169,255,0.16);
/* Layout */
--max-width: 1140px;
--radius: 14px;
/* Shadows */
--shadow: 0 18px 60px rgba(0,0,0,0.55);
--shadow-soft: 0 10px 35px rgba(0,0,0,0.40);
/* Focus ring */
--ring: 0 0 0 4px rgba(124,92,255,0.28);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Helvetica, Arial, sans-serif;
color: var(--text);
background:
radial-gradient(900px 500px at 12% 6%, rgba(124,92,255,0.26), transparent 60%),
radial-gradient(900px 500px at 88% 20%, rgba(64,169,255,0.22), transparent 55%),
radial-gradient(700px 380px at 50% 105%, rgba(124,92,255,0.12), transparent 55%),
linear-gradient(180deg, var(--bg), var(--bg2));
line-height: 1.65;
}
/* smoother type */
h1, h2, h3 { letter-spacing: -0.015em; }
a { color: inherit; }
::selection { background: rgba(124,92,255,0.35); }
/* =========================
Layout Helpers
========================= */
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}
/* =========================
Header
========================= */
.site-header {
position: sticky;
top: 0;
z-index: 20;
backdrop-filter: blur(10px);
background: rgba(7,10,18,0.72);
border-bottom: 1px solid rgba(255,255,255,0.10);
}
.header-inner {
display: flex;
align-items: center;
height: 76px;
}
.brand {
display: flex;
align-items: center;
gap: 0.85rem;
}
.logo {
width: 50px;
height: 50px;
filter: drop-shadow(0 10px 18px rgba(0,0,0,0.55));
}
.brand-name {
font-weight: 900;
letter-spacing: 0.02em;
display: inline-flex;
align-items: baseline;
}
/* =========================
Hero
========================= */
.hero {
padding: 3rem 0 3rem;
}
.hero h1 {
font-size: clamp(2.05rem, 4.2vw, 2.9rem);
font-weight: 750;
line-height: 1.15;
margin: 0 0 1rem;
}
.hero-subtext {
max-width: 660px;
color: var(--muted);
font-size: 1.06rem;
}
/* =========================
Projects
========================= */
.projects {
padding: 3.75rem 0;
border-top: 1px solid rgba(255,255,255,0.10);
}
.projects h2 {
font-size: 1.45rem;
margin: 0 0 2rem;
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
}
/* card */
.project-card {
padding: 1.75rem;
border-radius: var(--radius);
border: 1px solid rgba(255,255,255,0.12);
background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
box-shadow: var(--shadow-soft);
display: flex;
flex-direction: column;
gap: 0.8rem;
transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
position: relative;
overflow: hidden;
}
/* subtle accent sheen on hover */
.project-card::before {
content: "";
position: absolute;
inset: -1px;
background: radial-gradient(500px 220px at 20% 0%, rgba(124,92,255,0.20), transparent 60%),
radial-gradient(460px 220px at 90% 30%, rgba(64,169,255,0.16), transparent 60%);
opacity: 0;
transition: opacity 180ms ease;
pointer-events: none;
}
.project-card:hover {
transform: translateY(-3px);
border-color: rgba(124,92,255,0.40);
box-shadow: var(--shadow);
}
.project-card:hover::before { opacity: 1; }
.project-header {
display: flex;
align-items: center;
gap: 0.85rem;
}
.project-logo {
width: 64px;
height: 64px;
object-fit: contain;
border-radius: 10px;
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.14);
padding: 6px;
}
.project-card h3 {
margin: 0;
font-size: 1.12rem;
}
.project-card h3 a {
color: var(--text);
text-decoration: none;
}
.project-card h3 a:hover {
text-decoration: underline;
text-decoration-color: rgba(124,92,255,0.65);
}
.project-card p {
margin: 0;
color: var(--muted);
font-size: 0.96rem;
}
/* link button-ish */
.project-link {
margin-top: 0.65rem;
font-size: 0.92rem;
font-weight: 650;
color: var(--text);
text-decoration: none;
align-self: flex-start;
padding: 0.55rem 0.8rem;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.14);
background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2));
transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.project-link:hover {
transform: translateY(-1px);
border-color: rgba(124,92,255,0.45);
}
.project-status {
margin-top: 0.5rem;
font-size: 0.88rem;
color: rgba(238,241,255,0.66);
font-style: italic;
}
/* =========================
About Sections
========================= */
.about,
.designer {
padding: 3.75rem 0;
border-top: 1px solid rgba(255,255,255,0.10);
}
.about h2,
.designer h2 {
font-size: 1.45rem;
margin: 0 0 1.25rem;
}
.about p {
max-width: 760px;
color: var(--muted);
}
/* =========================
Designer
========================= */
.designer-inner {
display: grid;
grid-template-columns: 140px 1fr;
gap: 2rem;
align-items: center;
}
.designer-photo {
width: 140px;
height: 140px;
border-radius: 50%;
object-fit: cover;
border: 1px solid rgba(255,255,255,0.16);
box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.designer-text p {
margin: 0 0 0.8rem;
color: var(--muted);
}
.designer-link {
font-size: 0.92rem;
font-weight: 650;
color: var(--text);
text-decoration: none;
padding: 0.55rem 0.8rem;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.14);
background: linear-gradient(135deg, var(--accent-soft), rgba(64,169,255,0.12));
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.designer-link:hover {
border-color: rgba(64,169,255,0.45);
}
/* =========================
Footer
========================= */
.site-footer {
border-top: 1px solid rgba(255,255,255,0.10);
padding: 2.25rem 0;
}
.footer-inner {
display: flex;
flex-direction: column;
gap: 0.35rem;
font-size: 0.88rem;
color: rgba(238,241,255,0.62);
}
.footer-note { font-style: italic; }
/* =========================
Accessibility: Focus States
========================= */
a:focus-visible,
.project-link:focus-visible,
.designer-link:focus-visible {
outline: none;
box-shadow: var(--ring);
border-radius: 10px;
}
/* =========================
Responsive
========================= */
@media (max-width: 540px) {
.hero { padding: 4.25rem 0 3.5rem; }
.designer-inner {
grid-template-columns: 1fr;
justify-items: start;
}
}