|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes"> |
6 | 6 | <title>TimeCapsule-SLM - Complete AI-powered Research & Creative Platform</title> |
7 | 7 | <link rel="icon" type="image/png" href="lib/Media/TimeCapsule_03.png"> |
8 | 8 |
|
|
19 | 19 | color: white; |
20 | 20 | box-sizing: border-box; |
21 | 21 | } |
| 22 | + |
| 23 | + /* Mobile body padding adjustment */ |
| 24 | + @media screen and (max-width: 768px) { |
| 25 | + body { |
| 26 | + padding-top: 80px !important; |
| 27 | + } |
| 28 | + } |
22 | 29 |
|
23 | 30 |
|
24 | 31 | .main-container { |
|
343 | 350 |
|
344 | 351 |
|
345 | 352 |
|
| 353 | + /* Mobile Optimization - Enhanced */ |
346 | 354 | @media (max-width: 768px) { |
| 355 | + body { |
| 356 | + padding-top: 80px; /* Reduced top padding for mobile */ |
| 357 | + } |
| 358 | + |
| 359 | + .main-container { |
| 360 | + padding: 20px 15px; /* Better mobile padding */ |
| 361 | + } |
| 362 | + |
| 363 | + /* Hero Section Mobile */ |
| 364 | + .hero-section { |
| 365 | + padding: 30px 20px; |
| 366 | + margin-bottom: 30px; |
| 367 | + } |
| 368 | + |
| 369 | + .logo { |
| 370 | + width: 80px; |
| 371 | + height: 80px; |
| 372 | + margin-bottom: 20px; |
| 373 | + } |
| 374 | + |
| 375 | + .hero-title { |
| 376 | + font-size: 2em; /* Smaller for mobile readability */ |
| 377 | + margin-bottom: 12px; |
| 378 | + line-height: 1.2; |
| 379 | + } |
| 380 | + |
| 381 | + .hero-subtitle { |
| 382 | + font-size: 1.1em; |
| 383 | + margin-bottom: 15px; |
| 384 | + line-height: 1.4; |
| 385 | + } |
| 386 | + |
| 387 | + .hero-description { |
| 388 | + font-size: 0.95em; |
| 389 | + line-height: 1.5; |
| 390 | + padding: 0 10px; |
| 391 | + } |
| 392 | + |
| 393 | + .hero-description strong { |
| 394 | + display: block; |
| 395 | + margin-bottom: 8px; |
| 396 | + } |
| 397 | + |
| 398 | + .hero-description br { |
| 399 | + display: block; |
| 400 | + margin: 8px 0; |
| 401 | + content: ""; |
| 402 | + } |
| 403 | + |
| 404 | + /* Features Grid Mobile */ |
347 | 405 | .features-grid { |
348 | 406 | grid-template-columns: 1fr; |
| 407 | + gap: 20px; |
| 408 | + margin-top: 30px; |
349 | 409 | } |
350 | 410 |
|
351 | 411 | .feature-card { |
352 | | - padding: 30px 20px; |
| 412 | + padding: 25px 20px; |
| 413 | + margin: 0; |
353 | 414 | } |
354 | 415 |
|
355 | | - .hero-section { |
356 | | - padding: 40px 20px; |
| 416 | + .feature-icon { |
| 417 | + font-size: 2.5em; |
| 418 | + margin-bottom: 15px; |
357 | 419 | } |
358 | 420 |
|
359 | | - .hero-title { |
360 | | - font-size: 2.2em; |
| 421 | + .feature-title { |
| 422 | + font-size: 1.6em; |
| 423 | + margin-bottom: 12px; |
| 424 | + line-height: 1.2; |
361 | 425 | } |
362 | 426 |
|
| 427 | + .feature-subtitle { |
| 428 | + font-size: 1em; |
| 429 | + margin-bottom: 15px; |
| 430 | + line-height: 1.4; |
| 431 | + } |
| 432 | + |
| 433 | + .feature-description { |
| 434 | + font-size: 0.9em; |
| 435 | + line-height: 1.5; |
| 436 | + margin-bottom: 20px; |
| 437 | + } |
| 438 | + |
| 439 | + .feature-list { |
| 440 | + margin: 15px 0; |
| 441 | + } |
| 442 | + |
| 443 | + .feature-list li { |
| 444 | + padding: 6px 0; |
| 445 | + font-size: 0.9em; |
| 446 | + line-height: 1.4; |
| 447 | + } |
| 448 | + |
| 449 | + .feature-cta { |
| 450 | + padding: 12px 24px; |
| 451 | + font-size: 15px; |
| 452 | + width: 100%; |
| 453 | + text-align: center; |
| 454 | + justify-content: center; |
| 455 | + margin-top: 15px; |
| 456 | + } |
| 457 | + |
| 458 | + /* TimeCapsule Glow Effect Mobile */ |
| 459 | + .feature-card.creative > div:first-child { |
| 460 | + width: 80px !important; |
| 461 | + height: 80px !important; |
| 462 | + margin: 0 auto 15px auto !important; |
| 463 | + } |
| 464 | + |
| 465 | + .feature-card.creative img { |
| 466 | + width: 60px !important; |
| 467 | + height: 60px !important; |
| 468 | + } |
| 469 | + |
| 470 | + /* GitHub Section Mobile */ |
363 | 471 | .github-section { |
364 | | - margin-top: 40px; |
365 | | - padding: 40px 20px; |
| 472 | + margin-top: 30px; |
| 473 | + padding: 30px 20px; |
366 | 474 | } |
367 | 475 |
|
368 | 476 | .github-title { |
369 | | - font-size: 2em; |
370 | | - gap: 15px; |
| 477 | + font-size: 1.8em; |
| 478 | + gap: 12px; |
| 479 | + flex-direction: column; |
| 480 | + text-align: center; |
371 | 481 | } |
372 | 482 |
|
373 | 483 | .github-icon { |
374 | | - width: 40px; |
375 | | - height: 40px; |
| 484 | + width: 35px; |
| 485 | + height: 35px; |
| 486 | + } |
| 487 | + |
| 488 | + .github-subtitle { |
| 489 | + font-size: 1.1em; |
| 490 | + margin-bottom: 20px; |
| 491 | + line-height: 1.4; |
| 492 | + } |
| 493 | + |
| 494 | + .github-description { |
| 495 | + font-size: 1em; |
| 496 | + line-height: 1.5; |
| 497 | + margin-bottom: 25px; |
376 | 498 | } |
377 | 499 |
|
378 | 500 | .github-stats { |
379 | | - gap: 20px; |
| 501 | + gap: 15px; |
| 502 | + margin: 25px 0; |
| 503 | + flex-wrap: wrap; |
| 504 | + justify-content: center; |
| 505 | + } |
| 506 | + |
| 507 | + .github-stat { |
| 508 | + padding: 15px 20px; |
| 509 | + min-width: 100px; |
| 510 | + flex: 1; |
| 511 | + max-width: 140px; |
| 512 | + } |
| 513 | + |
| 514 | + .github-stat-number { |
| 515 | + font-size: 1.8em; |
| 516 | + } |
| 517 | + |
| 518 | + .github-stat-label { |
| 519 | + font-size: 0.85em; |
380 | 520 | } |
381 | 521 |
|
382 | 522 | .github-actions { |
383 | 523 | flex-direction: column; |
384 | | - align-items: center; |
| 524 | + gap: 12px; |
| 525 | + align-items: stretch; |
385 | 526 | } |
386 | 527 |
|
387 | 528 | .github-cta { |
388 | 529 | width: 100%; |
389 | | - max-width: 300px; |
| 530 | + max-width: none; |
| 531 | + padding: 14px 20px; |
| 532 | + font-size: 15px; |
| 533 | + justify-content: center; |
| 534 | + margin: 0; |
| 535 | + } |
| 536 | + |
| 537 | + /* Improved touch targets */ |
| 538 | + .github-cta:hover { |
| 539 | + transform: none; /* Disable hover transforms on mobile */ |
| 540 | + } |
| 541 | + |
| 542 | + .github-cta:active { |
| 543 | + transform: scale(0.98); |
| 544 | + transition: transform 0.1s ease; |
| 545 | + } |
| 546 | + } |
| 547 | + |
| 548 | + /* Small Mobile Devices */ |
| 549 | + @media (max-width: 480px) { |
| 550 | + .main-container { |
| 551 | + padding: 15px 10px; |
| 552 | + } |
| 553 | + |
| 554 | + .hero-section { |
| 555 | + padding: 25px 15px; |
| 556 | + } |
| 557 | + |
| 558 | + .hero-title { |
| 559 | + font-size: 1.8em; |
| 560 | + } |
| 561 | + |
| 562 | + .hero-subtitle { |
| 563 | + font-size: 1em; |
| 564 | + } |
| 565 | + |
| 566 | + .hero-description { |
| 567 | + font-size: 0.9em; |
| 568 | + padding: 0 5px; |
| 569 | + } |
| 570 | + |
| 571 | + .feature-card { |
| 572 | + padding: 20px 15px; |
| 573 | + } |
| 574 | + |
| 575 | + .feature-title { |
| 576 | + font-size: 1.4em; |
| 577 | + } |
| 578 | + |
| 579 | + .github-section { |
| 580 | + padding: 25px 15px; |
| 581 | + } |
| 582 | + |
| 583 | + .github-title { |
| 584 | + font-size: 1.6em; |
| 585 | + } |
| 586 | + |
| 587 | + .github-stats { |
| 588 | + gap: 10px; |
| 589 | + } |
| 590 | + |
| 591 | + .github-stat { |
| 592 | + padding: 12px 15px; |
| 593 | + min-width: 80px; |
| 594 | + } |
| 595 | + |
| 596 | + .github-cta { |
| 597 | + padding: 12px 16px; |
| 598 | + font-size: 14px; |
| 599 | + } |
| 600 | + } |
| 601 | + |
| 602 | + /* Large Mobile / Small Tablet */ |
| 603 | + @media (min-width: 769px) and (max-width: 1024px) { |
| 604 | + .features-grid { |
| 605 | + grid-template-columns: 1fr; |
| 606 | + max-width: 600px; |
| 607 | + margin: 40px auto 0; |
| 608 | + } |
| 609 | + |
| 610 | + .feature-card { |
| 611 | + padding: 35px 30px; |
| 612 | + } |
| 613 | + |
| 614 | + .github-actions { |
| 615 | + flex-wrap: wrap; |
390 | 616 | justify-content: center; |
| 617 | + gap: 15px; |
| 618 | + } |
| 619 | + |
| 620 | + .github-cta { |
| 621 | + min-width: 180px; |
| 622 | + flex: 0 0 auto; |
391 | 623 | } |
392 | 624 | } |
393 | 625 |
|
|
405 | 637 | </style> |
406 | 638 | </head> |
407 | 639 | <body> |
| 640 | + <!-- Emergency Mobile Navigation Fix --> |
| 641 | + <link rel="stylesheet" href="mobile-navbar-fix.css?v=2024"> |
| 642 | + |
408 | 643 | <!-- Common Navigation Component --> |
409 | 644 | <script src="lib/Pages/components/bubblspace-navbar.js"></script> |
410 | 645 |
|
|
0 commit comments