Skip to content

Commit 4bfcc04

Browse files
authored
Merge pull request #1 from cachevector/feat/responsive-ui
Feat/responsive UI
2 parents 84bfc57 + 910aa28 commit 4bfcc04

5 files changed

Lines changed: 509 additions & 139 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,6 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
# backup files
133+
*.bak

css/styles.css

Lines changed: 131 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
1+
/* @import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
22
33
.space-mono-regular {
44
font-family: "Space Mono", monospace;
@@ -49,7 +49,6 @@ body {
4949
5050
.github-btn {
5151
background: linear-gradient(135deg, #689d6a, #427b58);
52-
/* border: 1px solid #427b58; */
5352
transition: all 0.3s ease;
5453
}
5554
@@ -104,4 +103,134 @@ body {
104103
.social-icon:hover {
105104
color: #10b981;
106105
transform: translateY(-2px);
106+
} */
107+
108+
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
109+
110+
.space-mono-regular {
111+
font-family: "Space Mono", monospace;
112+
font-weight: 400;
113+
font-style: normal;
114+
}
115+
116+
.space-mono-bold {
117+
font-family: "Space Mono", monospace;
118+
font-weight: 700;
119+
font-style: normal;
120+
}
121+
122+
.space-mono-regular-italic {
123+
font-family: "Space Mono", monospace;
124+
font-weight: 400;
125+
font-style: italic;
126+
}
127+
128+
.space-mono-bold-italic {
129+
font-family: "Space Mono", monospace;
130+
font-weight: 700;
131+
font-style: italic;
132+
}
133+
134+
body {
135+
font-family: 'Space Mono', monospace;
136+
background: #0a0a0a; /* Note: This overrides the Tailwind body bg; consider removing if conflicting */
137+
}
138+
139+
.leaf-icon {
140+
width: 24px;
141+
height: 24px;
142+
background: linear-gradient(135deg, #10b981, #059669);
143+
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
144+
}
145+
146+
.nav-item {
147+
position: relative;
148+
transition: all 0.3s ease;
149+
}
150+
151+
.nav-item:hover {
152+
text-decoration: underline;
153+
text-decoration-thickness: 1px;
154+
}
155+
156+
.github-btn {
157+
background: linear-gradient(135deg, #689d6a, #427b58);
158+
transition: all 0.3s ease;
159+
}
160+
161+
.mission-btn {
162+
border: 1px solid #374151;
163+
transition: all 0.3s ease;
164+
backdrop-filter: blur(10px);
165+
}
166+
167+
.mission-btn:hover {
168+
border-color: #10b981;
169+
background: rgba(16, 185, 129, 0.1);
170+
}
171+
172+
.hero-text {
173+
background: linear-gradient(135deg, #ffffff, #d1d5db);
174+
-webkit-background-clip: text;
175+
-webkit-text-fill-color: transparent;
176+
background-clip: text;
177+
}
178+
179+
.mission-section {
180+
background: rgba(17, 24, 39, 0.5);
181+
backdrop-filter: blur(10px);
182+
border: 1px solid #374151;
183+
}
184+
185+
@keyframes typing {
186+
from { width: 0 }
187+
to { width: 100% }
188+
}
189+
190+
@keyframes blink-caret {
191+
from, to { border-color: transparent }
192+
50% { border-color: #10b981; }
193+
}
194+
195+
.fade-in {
196+
animation: fadeIn 1s ease-in;
197+
}
198+
199+
@keyframes fadeIn {
200+
from { opacity: 0; transform: translateY(20px); }
201+
to { opacity: 1; transform: translateY(0); }
202+
}
203+
204+
.social-icon {
205+
transition: all 0.3s ease;
206+
}
207+
208+
.social-icon:hover {
209+
color: #10b981;
210+
transform: translateY(-2px);
211+
}
212+
213+
/* Custom Media Queries for Mobile Menu (beyond Tailwind) */
214+
@media (max-width: 639px) {
215+
#nav-links {
216+
transition: all 0.3s ease-in-out;
217+
}
218+
}
219+
220+
/* Custom Media Queries for Mobile Menu */
221+
@media (max-width: 639px) {
222+
#nav-links {
223+
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
224+
opacity: 0;
225+
transform: translateY(-10px);
226+
}
227+
#nav-links:not(.hidden) {
228+
opacity: 1;
229+
transform: translateY(0);
230+
}
231+
}
232+
233+
/* Ensure nav height is accounted for in positioning */
234+
nav {
235+
min-height: 64px; /* Matches approximate nav height with padding */
107236
}

0 commit comments

Comments
 (0)