|
3 | 3 | /* Local Font Definitions */ |
4 | 4 | @font-face { |
5 | 5 | font-family: 'DM Sans'; |
6 | | - src: url('../fonts/DMSans_18pt-Regular.woff') format('woff'); |
| 6 | + src: url('/fonts/DMSans_18pt-Regular.woff') format('woff'); |
7 | 7 | font-weight: 400; |
8 | 8 | font-style: normal; |
9 | 9 | font-display: swap; |
10 | 10 | } |
11 | 11 |
|
12 | 12 | @font-face { |
13 | 13 | font-family: 'Figtree'; |
14 | | - src: url('../fonts/Figtree-VariableFont_wght.ttf') format('truetype'); |
| 14 | + src: url('/fonts/Figtree-VariableFont_wght.ttf') format('truetype'); |
15 | 15 | font-weight: 300 800; |
16 | 16 | font-style: normal; |
17 | 17 | font-display: swap; |
18 | 18 | } |
19 | 19 |
|
| 20 | +@font-face { |
| 21 | + font-family: 'JetBrains Mono'; |
| 22 | + src: url('/fonts/JetBrainsMono/JetBrainsMono%5Bwght%5D.ttf') format('truetype-variations'); |
| 23 | + font-weight: 100 800; |
| 24 | + font-style: normal; |
| 25 | + font-display: swap; |
| 26 | +} |
| 27 | + |
| 28 | +@font-face { |
| 29 | + font-family: 'JetBrains Mono'; |
| 30 | + src: url('/fonts/JetBrainsMono/JetBrainsMono-Italic%5Bwght%5D.ttf') format('truetype-variations'); |
| 31 | + font-weight: 100 800; |
| 32 | + font-style: italic; |
| 33 | + font-display: swap; |
| 34 | +} |
| 35 | + |
20 | 36 | /* CSS Custom Properties for Theme System */ |
21 | 37 | :root { |
22 | 38 | /* Font System - Using local fonts */ |
|
139 | 155 | color: #e0e0e0 !important; |
140 | 156 | } |
141 | 157 |
|
| 158 | +/* Techie Mode Font Override */ |
| 159 | +[data-techie="true"] { |
| 160 | + --font-family-base: 'JetBrains Mono', monospace; |
| 161 | + --font-family-heading: 'JetBrains Mono', monospace; |
| 162 | +} |
| 163 | + |
| 164 | +/* Techie Mode Typing Animation */ |
| 165 | +@keyframes blink-caret { |
| 166 | + from, to { border-color: currentColor; } |
| 167 | + 50% { border-color: transparent; } |
| 168 | +} |
| 169 | + |
| 170 | +@keyframes blink { |
| 171 | + 0%, 50% { opacity: 1; } |
| 172 | + 51%, 100% { opacity: 0; } |
| 173 | +} |
| 174 | + |
| 175 | +/* Techie Mode Header Adjustments */ |
| 176 | +[data-techie="true"] nav .nav-links { |
| 177 | + gap: 1rem; |
| 178 | + font-size: 1rem; |
| 179 | +} |
| 180 | + |
| 181 | +[data-techie="true"] .btn-header { |
| 182 | + padding: 0.5rem 1.5rem !important; |
| 183 | + font-size: 1rem; |
| 184 | +} |
| 185 | + |
| 186 | +[data-techie="true"] .logo img { |
| 187 | + height: 2.5rem; |
| 188 | +} |
| 189 | + |
142 | 190 | /* Platform and industry card headings - light and dark friendly */ |
143 | 191 | .card h3 { |
144 | 192 | color: #555555 !important; |
@@ -287,6 +335,85 @@ a:hover { |
287 | 335 | color: var(--text-primary); |
288 | 336 | } |
289 | 337 |
|
| 338 | +/* Techie Mode Toggle Button */ |
| 339 | +.techie-toggle { |
| 340 | + position: relative; |
| 341 | + display: inline-flex; |
| 342 | + align-items: center; |
| 343 | + justify-content: center; |
| 344 | + aspect-ratio: 1; |
| 345 | + padding: 0.75rem; |
| 346 | + background: var(--bg-secondary); |
| 347 | + border: 1px solid var(--border-color); |
| 348 | + border-radius: var(--border-radius-lg); |
| 349 | + cursor: pointer; |
| 350 | + transition: var(--transition-base); |
| 351 | +} |
| 352 | + |
| 353 | +.techie-toggle:hover { |
| 354 | + background: var(--bg-tertiary); |
| 355 | + border-color: var(--border-color); |
| 356 | +} |
| 357 | + |
| 358 | +.techie-toggle svg { |
| 359 | + width: 1.25em; |
| 360 | + height: 1.25em; |
| 361 | + color: var(--text-secondary); |
| 362 | + transition: var(--transition-fast); |
| 363 | +} |
| 364 | + |
| 365 | +.techie-toggle:hover svg { |
| 366 | + color: var(--text-primary); |
| 367 | +} |
| 368 | + |
| 369 | +/* Techie toggle icons */ |
| 370 | +.techie-toggle i { |
| 371 | + width: 1.25em; |
| 372 | + height: 1.25em; |
| 373 | + color: var(--text-secondary); |
| 374 | + transition: var(--transition-fast); |
| 375 | +} |
| 376 | + |
| 377 | +.techie-toggle:hover i { |
| 378 | + color: var(--text-primary); |
| 379 | +} |
| 380 | + |
| 381 | +/* Dark mode techie icon adjustments */ |
| 382 | +[data-theme="dark"] .techie-toggle svg { |
| 383 | + color: var(--text-primary); |
| 384 | +} |
| 385 | + |
| 386 | +[data-theme="dark"] .techie-toggle i { |
| 387 | + color: var(--text-primary); |
| 388 | +} |
| 389 | + |
| 390 | +[data-techie="true"] .techie-toggle { |
| 391 | + background: var(--color-accent); |
| 392 | + border-color: var(--color-accent); |
| 393 | +} |
| 394 | + |
| 395 | +[data-techie="true"] .techie-toggle svg { |
| 396 | + color: var(--text-white); |
| 397 | +} |
| 398 | + |
| 399 | +[data-techie="true"] .techie-toggle i { |
| 400 | + color: var(--text-white); |
| 401 | +} |
| 402 | + |
| 403 | +/* Dark mode techie button adjustments */ |
| 404 | +[data-theme="dark"] [data-techie="true"] .techie-toggle { |
| 405 | + background: var(--text-white); |
| 406 | + border-color: var(--text-white); |
| 407 | +} |
| 408 | + |
| 409 | +[data-theme="dark"] [data-techie="true"] .techie-toggle svg { |
| 410 | + color: var(--text-primary); |
| 411 | +} |
| 412 | + |
| 413 | +[data-theme="dark"] [data-techie="true"] .techie-toggle i { |
| 414 | + color: var(--text-primary); |
| 415 | +} |
| 416 | + |
290 | 417 | /* Logo Styles */ |
291 | 418 | .logo { |
292 | 419 | display: inline-flex; |
@@ -403,6 +530,21 @@ a:hover { |
403 | 530 | filter: brightness(0) invert(1) brightness(0.9); |
404 | 531 | } |
405 | 532 |
|
| 533 | +/* Community icon - ensure it's white */ |
| 534 | +img[src*="/logos/community.svg"] { |
| 535 | + filter: brightness(0) invert(1); |
| 536 | +} |
| 537 | + |
| 538 | +/* Discuss icon - ensure it's white */ |
| 539 | +img[src*="/logos/discuss.svg"] { |
| 540 | + filter: brightness(0) invert(1); |
| 541 | +} |
| 542 | + |
| 543 | +/* Handshake icon - ensure it's white */ |
| 544 | +img[src*="/logos/handshake.svg"] { |
| 545 | + filter: brightness(0) invert(1); |
| 546 | +} |
| 547 | + |
406 | 548 | /* Hero title - dark gray in light mode, off-white in dark mode */ |
407 | 549 | .hero h1 { |
408 | 550 | color: #2c2c2c !important; |
|
0 commit comments