Skip to content

Commit 82aac4f

Browse files
committed
fixed homepage
1 parent 089657f commit 82aac4f

4 files changed

Lines changed: 591 additions & 1165 deletions

File tree

src/app/globals.css

Lines changed: 90 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,78 @@
11
@import "tailwindcss";
2-
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');
33

44
:root {
55
--yellow: #F9BF00;
66
--yellow-dark: #E0AA00;
7-
--background: #ffffff;
8-
--section-bg: #ffffff;
9-
--foreground: #000000;
10-
--dark-text: #46505C;
11-
--muted: rgba(70, 80, 92, 0.82);
12-
13-
--card: rgba(0, 0, 0, 0.05);
14-
--card-border: rgba(0, 0, 0, 0.2);
15-
16-
--primary: #000000;
17-
--primary-light: #000000;
18-
--primary-glow: rgba(0, 0, 0, 0.1);
19-
--accent: #000000;
20-
21-
--nav-bg-scrolled: rgba(255, 255, 255, 0.92);
22-
--nav-border-color: rgba(0, 0, 0, 0.15);
23-
--nav-mobile-bg: rgba(255, 255, 255, 0.98);
24-
--nav-link-color: #000000;
7+
8+
/* ── Core palette (light) ───────────────────── */
9+
--background: #f4f4f4;
10+
--section-bg: #f4f4f4;
11+
--foreground: #111111;
12+
--dark-text: rgba(17, 17, 17, 0.62);
13+
--muted: rgba(17, 17, 17, 0.55);
14+
15+
--card: rgba(0, 0, 0, 0.03);
16+
--card-border: rgba(0, 0, 0, 0.1);
17+
18+
--primary: #111111;
19+
--primary-light: #111111;
20+
--primary-glow: rgba(0, 0, 0, 0.08);
21+
--accent: #111111;
22+
23+
/* ── Hover / interactive ────────────────────── */
24+
--hover-accent-bg: rgba(190, 0, 181, 0.04);
25+
--chat-bubble-bg: rgba(0, 0, 0, 0.06);
26+
--counter-color: rgba(17, 17, 17, 0.22);
27+
28+
/* ── Navbar ─────────────────────────────────── */
29+
--nav-bg-scrolled: rgba(244, 244, 244, 0.92);
30+
--nav-border-color: rgba(0, 0, 0, 0.1);
31+
--nav-mobile-bg: rgba(244, 244, 244, 0.98);
32+
--nav-link-color: #111111;
2533
--nav-link-active-bg: transparent;
26-
--nav-mobile-border: rgba(0, 0, 0, 0.15);
34+
--nav-mobile-border: rgba(0, 0, 0, 0.1);
2735

2836
--input-bg: rgba(0, 0, 0, 0.05);
2937
--arrow-bg: transparent;
30-
--arrow-color: #000000;
38+
--arrow-color: #111111;
3139
}
3240

33-
[data-theme="light"],
34-
[data-theme="dark"] {
35-
--background: #ffffff;
36-
--section-bg: #ffffff;
37-
--foreground: #000000;
38-
--card: rgba(0, 0, 0, 0.05);
39-
--card-border: rgba(0, 0, 0, 0.2);
40-
--muted: rgba(70, 80, 92, 0.82);
41-
--primary: #000000;
42-
--primary-light: #000000;
43-
--primary-glow: rgba(0, 0, 0, 0.1);
44-
--accent: #000000;
45-
--nav-bg-scrolled: rgba(255, 255, 255, 0.92);
46-
--nav-border-color: rgba(0, 0, 0, 0.15);
47-
--nav-mobile-bg: rgba(255, 255, 255, 0.98);
48-
--nav-link-color: #000000;
49-
--nav-link-active-bg: transparent;
50-
--nav-mobile-border: rgba(0, 0, 0, 0.15);
51-
--input-bg: rgba(0, 0, 0, 0.05);
52-
--arrow-bg: transparent;
53-
--arrow-color: #000000;
41+
html.dark {
42+
/* ── Core palette (dark) ────────────────────── */
43+
--background: #0a0a0a;
44+
--section-bg: #0a0a0a;
45+
--foreground: #ededed;
46+
--dark-text: rgba(237, 237, 237, 0.58);
47+
--muted: rgba(237, 237, 237, 0.32);
48+
49+
--card: rgba(255, 255, 255, 0.03);
50+
--card-border: rgba(255, 255, 255, 0.08);
51+
52+
--primary: #ededed;
53+
--primary-light: #ededed;
54+
--primary-glow: rgba(255, 255, 255, 0.06);
55+
--accent: #ededed;
56+
57+
/* ── Hover / interactive ────────────────────── */
58+
--hover-accent-bg: rgba(190, 0, 181, 0.07);
59+
--chat-bubble-bg: rgba(255, 255, 255, 0.07);
60+
--counter-color: rgba(237, 237, 237, 0.22);
61+
62+
/* ── Navbar ─────────────────────────────────── */
63+
--nav-bg-scrolled: rgba(10, 10, 10, 0.92);
64+
--nav-border-color: rgba(255, 255, 255, 0.08);
65+
--nav-mobile-bg: rgba(10, 10, 10, 0.98);
66+
--nav-link-color: #ededed;
67+
--nav-mobile-border: rgba(255, 255, 255, 0.08);
68+
69+
--input-bg: rgba(255, 255, 255, 0.07);
70+
--arrow-color: #ededed;
71+
}
72+
73+
@keyframes moonblink {
74+
0%, 100% { opacity: 1; }
75+
50% { opacity: 0.25; }
5476
}
5577

5678
* {
@@ -62,13 +84,14 @@
6284
html {
6385
scroll-behavior: smooth;
6486
height: 100%;
65-
background: #ffffff;
87+
background: var(--background);
88+
transition: background 0.5s ease;
6689
}
6790

6891
body {
69-
background-color: #ffffff;
92+
background-color: var(--background);
7093
color: var(--foreground);
71-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
94+
font-family: 'Lora', Georgia, serif;
7295
line-height: 1.6;
7396
min-height: 100vh;
7497
height: 100%;
@@ -85,11 +108,11 @@ body {
85108
}
86109

87110
::-webkit-scrollbar-track {
88-
background: #ffffff;
111+
background: var(--background);
89112
}
90113

91114
::-webkit-scrollbar-thumb {
92-
background: #000000;
115+
background: var(--card-border);
93116
border-radius: 3px;
94117
}
95118

@@ -117,26 +140,28 @@ img {
117140
h1,
118141
h2,
119142
h3 {
120-
font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
121-
font-weight: 400;
143+
font-family: 'JetBrains Mono', monospace;
144+
font-weight: 800;
122145
}
123146

124147
/* ─── Typography ─────────────────────────────────────────────────────────── */
125148

126149
.display-title {
127-
font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
128-
font-size: clamp(4.6rem, 12vw, 10.5rem);
129-
line-height: 0.9;
130-
letter-spacing: 0.025em;
131-
color: #000000;
150+
font-family: 'JetBrains Mono', monospace;
151+
font-size: clamp(2.5rem, 7vw, 6rem);
152+
font-weight: 800;
153+
line-height: 1;
154+
letter-spacing: -0.02em;
155+
color: var(--foreground);
132156
text-transform: uppercase;
133157
}
134158

135159
.display-subtitle {
136-
font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
137-
font-size: clamp(1.35rem, 3vw, 2.65rem);
138-
line-height: 1.05;
139-
letter-spacing: 0.035em;
160+
font-family: 'JetBrains Mono', monospace;
161+
font-size: clamp(1rem, 2.5vw, 1.75rem);
162+
font-weight: 600;
163+
line-height: 1.2;
164+
letter-spacing: 0.01em;
140165
color: var(--dark-text);
141166
text-transform: uppercase;
142167
}
@@ -216,19 +241,20 @@ h3 {
216241
/* ─── Section helpers ────────────────────────────────────────────────────── */
217242

218243
.section-title {
219-
font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
220-
font-size: clamp(3rem, 8vw, 7rem);
221-
line-height: 0.9;
222-
letter-spacing: 0.02em;
223-
color: #000000;
244+
font-family: 'JetBrains Mono', monospace;
245+
font-size: clamp(2rem, 6vw, 5rem);
246+
font-weight: 800;
247+
line-height: 1;
248+
letter-spacing: -0.02em;
249+
color: var(--foreground);
224250
text-transform: uppercase;
225251
}
226252

227253
.section-subtitle {
228254
color: var(--dark-text);
229255
margin-bottom: 2.5rem;
230256
font-size: 1rem;
231-
font-family: 'JetBrains Mono', monospace;
257+
font-family: 'Lora', Georgia, serif;
232258
}
233259

234260
/* ─── Container ──────────────────────────────────────────────────────────── */

0 commit comments

Comments
 (0)