-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff.txt
More file actions
402 lines (384 loc) · 10.4 KB
/
diff.txt
File metadata and controls
402 lines (384 loc) · 10.4 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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
commit 2e8ee2fd94d27fc972b725c6e69d16f56cdac6b6
Author: Dheeraj Pilli <dheeraj@example.com>
Date: Mon Apr 6 02:02:58 2026 +0530
Add Google Analytics Tag
diff --git a/client/global.css b/client/global.css
index bb035ed..976ffa2 100644
--- a/client/global.css
+++ b/client/global.css
@@ -1,100 +1,52 @@
-/** @import must precede all other statements */
-@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap");
-@import url("https://fontlibrary.org/face/gfs-decker");
-/* Decker (GFS Decker) will be used for subheadings (fallback to Space Grotesk) */
+@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=La+Belle+Aurore&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
- /**
- * Tailwind CSS theme
- * tailwind.config.ts expects the following color variables to be expressed as HSL values.
- */
:root {
- /* Dark, futuristic base */
- --background: 222 47% 6%;
- --foreground: 210 40% 98%;
+ /* Parchment Base */
+ --background: 40 33% 94%; /* #F5F2EB */
+ --foreground: 210 29% 24%; /* #2C3E50 (Charcoal) */
- --card: 225 35% 8%;
- --card-foreground: 210 40% 98%;
+ --card: 40 33% 92%;
+ --card-foreground: 210 29% 24%;
- --popover: 225 35% 8%;
- --popover-foreground: 210 40% 98%;
+ --popover: 40 33% 94%;
+ --popover-foreground: 210 29% 24%;
- /* Neon violet primary */
- --primary: 262 83% 58%;
- --primary-foreground: 0 0% 100%;
+ /* Ink Primary */
+ --primary: 210 29% 24%;
+ --primary-foreground: 40 33% 94%;
- /* Electric cyan secondary */
- --secondary: 198 93% 60%;
- --secondary-foreground: 222 47% 6%;
+ /* Faded Rose Secondary */
+ --secondary: 0 36% 74%; /* #D4A5A5 */
+ --secondary-foreground: 210 29% 24%;
- --muted: 222 22% 16%;
- --muted-foreground: 215 20% 70%;
+ --muted: 210 20% 90%;
+ --muted-foreground: 210 15% 40%;
- --accent: 200 100% 50%;
- --accent-foreground: 222 47% 6%;
+ --accent: 108 10% 63%; /* #9CAB98 (Sage) */
+ --accent-foreground: 210 29% 24%;
--destructive: 0 84% 60%;
--destructive-foreground: 210 40% 98%;
- --border: 222 20% 20%;
- --input: 222 20% 20%;
- --ring: 262 83% 58%;
-
- --radius: 0.75rem;
+ --border: 210 15% 85%;
+ --input: 210 15% 85%;
+ --ring: 210 29% 24%;
- /* Sidebar (unused by default but kept consistent) */
- --sidebar-background: 222 47% 6%;
- --sidebar-foreground: 210 40% 98%;
- --sidebar-primary: 262 83% 58%;
- --sidebar-primary-foreground: 0 0% 100%;
- --sidebar-accent: 222 22% 16%;
- --sidebar-accent-foreground: 210 40% 98%;
- --sidebar-border: 222 20% 20%;
- --sidebar-ring: 200 100% 50%;
+ --radius: 0.5rem;
}
- /* Keep values identical so the site is consistently dark */
.dark {
- --background: 222 47% 6%;
- --foreground: 210 40% 98%;
-
- --card: 225 35% 8%;
+ /* Invert for "Midnight Journal" mode if needed, but keeping light mode focus for now */
+ --background: 222 47% 11%;
+ --foreground: 40 20% 90%;
+ --card: 222 47% 11%;
--card-foreground: 210 40% 98%;
-
- --popover: 225 35% 8%;
- --popover-foreground: 210 40% 98%;
-
- --primary: 262 83% 58%;
- --primary-foreground: 0 0% 100%;
-
- --secondary: 198 93% 60%;
- --secondary-foreground: 222 47% 6%;
-
- --muted: 222 22% 16%;
- --muted-foreground: 215 20% 70%;
-
- --accent: 200 100% 50%;
- --accent-foreground: 222 47% 6%;
-
- --destructive: 0 62.8% 30.6%;
- --destructive-foreground: 210 40% 98%;
-
- --border: 222 20% 20%;
- --input: 222 20% 20%;
- --ring: 262 83% 58%;
-
- --sidebar-background: 222 47% 6%;
- --sidebar-foreground: 210 40% 98%;
- --sidebar-primary: 262 83% 58%;
- --sidebar-primary-foreground: 0 0% 100%;
- --sidebar-accent: 222 22% 16%;
- --sidebar-accent-foreground: 210 40% 98%;
- --sidebar-border: 222 20% 20%;
- --sidebar-ring: 200 100% 50%;
+ /* ... other dark mode vars */
}
}
@@ -102,239 +54,41 @@
* {
@apply border-border;
}
-
body {
@apply bg-background text-foreground antialiased;
- font-family:
- "Space Grotesk",
- system-ui,
- -apple-system,
- Segoe UI,
- Roboto,
- Inter,
- "Helvetica Neue",
- Arial,
- "Noto Sans",
- "Apple Color Emoji",
- "Segoe UI Emoji",
- "Segoe UI Symbol",
- "Noto Color Emoji",
- sans-serif;
+ font-family: 'Lora', serif;
+ background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
+ background-blend-mode: multiply;
}
-
- /* Subheadings (About, Projects, Skills, Timeline, Contact) use Decker */
- h2,
- h3,
- .subheading {
- font-family:
- "GFSDeckerNormal",
- "Space Grotesk",
- system-ui,
- -apple-system,
- Segoe UI,
- Roboto,
- Inter,
- sans-serif;
- font-weight: 700;
- letter-spacing: -0.5px;
+
+ h1, h2, h3, h4, h5, h6 {
+ font-family: 'Cinzel Decorative', serif;
+ @apply tracking-tight text-ink;
}
- html {
- scroll-behavior: smooth;
+ /* Custom Class for Handwritten Accents */
+ .font-handwriting {
+ font-family: 'La Belle Aurore', cursive;
}
}
@layer utilities {
- .text-gradient {
- background: linear-gradient(
- 90deg,
- hsl(var(--primary)) 0%,
- hsl(var(--accent)) 100%
- );
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- }
- .neon-border {
- box-shadow:
- 0 0 0 1px hsl(var(--border)) inset,
- 0 0 24px hsl(var(--accent) / 0.25),
- 0 0 48px hsl(var(--primary) / 0.15);
- }
-
- /* Smooth transition utility */
- .transition-smooth {
- transition: all 350ms cubic-bezier(0.2, 0.9, 0.2, 1);
- will-change: transform, opacity, box-shadow, filter;
- }
-
- /* Fade up animation used when element enters viewport */
- @keyframes fadeUp {
- from {
- opacity: 0;
- transform: translateY(18px) scale(0.995);
+ /* Simulates ink soaking into paper */
+ .ink-multiply {
+ mix-blend-mode: multiply;
}
- to {
- opacity: 1;
- transform: translateY(0) scale(1);
+
+ /* Watercolor wash effect class */
+ .watercolor-wash {
+ filter: url('#watercolor');
}
- }
-
- .animate-fade-up {
- animation: fadeUp 600ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
- }
- /* Subtle pop for hover */
- @keyframes pop {
- 0% {
- transform: translateY(0) scale(1);
- }
- 50% {
- transform: translateY(-4px) scale(1.02);
+ /* Edge roughness for containers */
+ .rough-edge {
+ clip-path: polygon(
+ 0% 0%, 100% 0%, 100% 100%, 0% 100%,
+ 0% 50%, 2% 45%, 0% 40%, 1% 35%, 0% 30%
+ );
+ /* This is a placeholder; actual SVG filters are better for this */
}
- 100% {
- transform: translateY(0) scale(1);
- }
- }
-
- .hover-pop:hover {
- animation: pop 420ms ease;
- }
-
- /* Glow effect for cards */
- .card-glow {
- box-shadow:
- 0 6px 30px rgba(2, 6, 23, 0.6),
- 0 0 0 1px hsl(var(--border)) inset;
- }
-
- .hover-glow:hover {
- box-shadow:
- 0 12px 60px rgba(88, 70, 204, 0.16),
- 0 0 48px hsl(var(--primary) / 0.08),
- 0 0 24px hsl(var(--accent) / 0.06);
- transform: translateY(-8px) scale(1.03);
- }
-
- /* Glossy / glowy gradient card used for highlighted sections like timeline */
- .glossy-card {
- /* subtle glass + neon gradient */
- position: relative;
- overflow: hidden;
- background-color: rgba(13, 17, 28, 0.55);
- background-image:
- linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.02),
- rgba(255, 255, 255, 0.01)
- ),
- linear-gradient(
- 135deg,
- hsl(var(--primary) / 0.08),
- hsl(var(--accent) / 0.06)
- );
- border: 1px solid rgba(255, 255, 255, 0.06);
- box-shadow:
- 0 10px 40px rgba(88, 70, 204, 0.12),
- 0 0 60px hsl(var(--primary) / 0.04) inset;
- backdrop-filter: blur(6px) saturate(1.05);
- }
-
- .glossy-card::before {
- content: "";
- position: absolute;
- inset: 0;
- background: linear-gradient(
- 90deg,
- rgba(255, 255, 255, 0.04),
- rgba(255, 255, 255, 0) 30%
- );
- mix-blend-mode: overlay;
- pointer-events: none;
- z-index: 0;
- }
-
- .glossy-card::after {
- content: "";
- position: absolute;
- left: -30%;
- top: -40%;
- width: 160%;
- height: 160%;
- background:
- radial-gradient(
- circle at 30% 20%,
- rgba(124, 59, 237, 0.12),
- transparent 12%
- ),
- radial-gradient(
- circle at 80% 80%,
- rgba(0, 170, 255, 0.08),
- transparent 18%
- );
- transform: rotate(12deg);
- opacity: 0.9;
- pointer-events: none;
- z-index: 0;
- }
-
- .glossy-card > * {
- position: relative;
- z-index: 1;
- }
-
- /* Utility to slightly lift on hover using tailwind safe classes fallback */
- .card-hover {
- transition:
- transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1),
- box-shadow 300ms cubic-bezier(0.2, 0.9, 0.2, 1),
- opacity 300ms;
- will-change: transform, box-shadow;
- }
-
- /* Simple line clamp (3 lines) without plugin */
- .line-clamp-3 {
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
-
- /* Red gradient text for name highlights */
- .text-gradient-red {
- background: linear-gradient(90deg, #ff375f 0%, #ff8a00 100%);
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent;
- }
-
- /* Tagline crossfade (dust-like) */
- .tagline-fade {
- transition:
- opacity 700ms cubic-bezier(0.2, 0.9, 0.2, 1),
- transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1),
- filter 700ms cubic-bezier(0.2, 0.9, 0.2, 1);
- }
-
- .tagline-hidden {
- opacity: 0;
- transform: translateY(10px) scale(0.995);
- filter: blur(3px) saturate(0.9);
- }
-
- .tagline-visible {
- opacity: 1;
- transform: translateY(0) scale(1);
- filter: blur(0) saturate(1);
- }
-
- /* Ensure anchored sections are visible below the fixed header */
- section[id] {
- scroll-margin-top: calc(var(--header-height, 88px) + 12px);
- }
-
- /* Ensure main content is never hidden behind the fixed header */
- main {
- padding-top: calc(var(--header-height, 88px) + 12px);
- }
}