|
330 | 330 | background: color-mix(in oklab, var(--bg-soft), transparent 70%);
|
331 | 331 | backdrop-filter: blur(8px);
|
332 | 332 | }
|
333 |
| - .metric b { font-size: clamp(18px, 3.6vw, 26px); } |
| 333 | + .metric b { font-size: clamp(18px, 3.6vw, 26px); color: var(--text); } |
334 | 334 | .metric p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
|
335 | 335 |
|
336 | 336 | /* Decorative ring */
|
|
549 | 549 | .reveal{opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.9,.3,1)}
|
550 | 550 | .reveal.in{opacity:1;transform:none}
|
551 | 551 | :root{
|
552 |
| - --brand:#16a34a; --brand-2:#22c55e; --bg:#0b0f14; --bg-soft:#0f1720; --text:#e6eef3; --muted:#9aa6b2; --card:rgba(255,255,255,0.03); --border:rgba(255,255,255,0.06); --glass:rgba(255,255,255,0.02); --shadow:0 14px 36px rgba(2,6,23,0.6); --radius:14px; --max-w:1100px; |
| 552 | + --brand:#16a34a; --brand-2:#22c55e; --bg:#0b0f14; --bg-soft:#0f1720; --text:#e6eef3; --muted:#ffffff; --card:rgba(255,255,255,0.03); --border:rgba(255,255,255,0.06); --glass:rgba(255,255,255,0.02); --shadow:0 14px 36px rgba(2,6,23,0.6); --radius:14px; --max-w:1100px; |
553 | 553 | }
|
554 | 554 | .theme-light{ --bg:#f8fafc; --bg-soft:#ffffff; --text:#07101a; --muted:#475569; --card:rgba(0,0,0,0.04); --border: rgba(2,6,23,0.06); --glass: rgba(0,0,0,0.04); --shadow: 0 10px 24px rgba(2,6,23,0.06); }
|
555 | 555 | *{box-sizing:border-box}
|
|
646 | 646 | /* accessibility focus */
|
647 | 647 | .role-btn:focus, .contrib:focus{outline:2px solid color-mix(in oklab,var(--brand),transparent 60%)}
|
648 | 648 |
|
649 |
| - |
| 649 | + /* Make snapshot box text white in dark mode */ |
| 650 | + body:not(.theme-light) .metric b, |
| 651 | + body:not(.theme-light) .metric p, |
| 652 | + body:not(.theme-light) .facts .muted, |
| 653 | + body:not(.theme-light) .card h3, |
| 654 | + body:not(.theme-light) .card p.muted, |
| 655 | + body:not(.theme-light) .panel h3, |
| 656 | + body:not(.theme-light) .panel p.muted, |
| 657 | + body:not(.theme-light) .fact b, |
| 658 | + body:not(.theme-light) .fact .muted, |
| 659 | + body:not(.theme-light) .kicker, |
| 660 | + body:not(.theme-light) .muted, |
| 661 | + body:not(.theme-light) .sub, |
| 662 | + body:not(.theme-light) p.lead, |
| 663 | + body:not(.theme-light) h2, |
| 664 | + body:not(.theme-light) h3, |
| 665 | + body:not(.theme-light) h4 { |
| 666 | + color: #fff |
| 667 | + } |
| 668 | + body:not(.theme-light) #contactBtn { |
| 669 | + color: #fff !important; |
| 670 | + border-color: #fff !important; |
| 671 | +} |
| 672 | + /*Changing colout to white in dark mode for mission metrics box*/ |
| 673 | + body:not(.theme-light) .panel .kicker, |
| 674 | + body:not(.theme-light) .panel h3, |
| 675 | + body:not(.theme-light) .panel p, |
| 676 | + body:not(.theme-light) .panel .muted, |
| 677 | + body:not(.theme-light) .panel .metric p, |
| 678 | + body:not(.theme-light) .panel .fact .muted, |
| 679 | + body:not(.theme-light) .radial .inner b, |
| 680 | + body:not(.theme-light) .radial .inner small { |
| 681 | + color: #fff !important; |
| 682 | + } |
| 683 | + body:not(.theme-light) .panel .radial small { |
| 684 | + color: #fff !important; |
| 685 | + } |
| 686 | + /*Changing colours of buttons*/ |
| 687 | + body:not(.theme-light) #learnMore{ |
| 688 | + color: #fff !important; |
| 689 | + border-color: #fff !important; |
| 690 | + } |
| 691 | + body:not(.theme-light) #meetBtn{ |
| 692 | + color: #fff !important; |
| 693 | + border-color: #fff !important; |
| 694 | + } |
| 695 | + body:not(.theme-light) #contributeBtn{ |
| 696 | + color: #fff !important; |
| 697 | + border-color: #fff !important; |
| 698 | + } |
650 | 699 | </style>
|
651 | 700 | </head>
|
652 | 701 | <body>
|
|
664 | 713 | <div class="collapse navbar-collapse" id="navbarNav">
|
665 | 714 | <ul class="navbar-nav ms-auto">
|
666 | 715 | <li class="nav-item">
|
667 |
| - <a class="nav-link active visited" aria-current="page" href="../index.html">Home</a> |
668 |
| - </li> |
669 |
| - <li class="nav-item"> |
670 |
| - <a class="nav-link active" aria-current="page" href="#services">Services</a> |
| 716 | + <a class="nav-link active visited" aria-current="page" href="index.html">Home</a> |
671 | 717 | </li>
|
672 | 718 | <li class="nav-item">
|
673 |
| - <a class="nav-link active" aria-current="page" href="../blogListing.html">Blogs</a> |
| 719 | + <a class="nav-link active" aria-current="page" href="services.html">Services</a> |
674 | 720 | </li>
|
675 | 721 | <li class="nav-item">
|
676 |
| - <a class="nav-link active" aria-current="page" href="../about.html">About Us</a> |
| 722 | + <a class="nav-link active" aria-current="page" href="blogListing.html">Blogs</a> |
677 | 723 | </li>
|
678 | 724 | <!-- Added new "Our Work" link to navigate to the new work section on same page -->
|
679 | 725 | <li class="nav-item">
|
680 |
| - <a class="nav-link active" aria-current="page" href="#work">Our Work</a> |
| 726 | + <a class="nav-link active" aria-current="page" href="work.html">Our Work</a> |
681 | 727 | </li>
|
682 | 728 | <li class="nav-item">
|
683 | 729 | <a class="nav-link active" aria-current="page" href="src/contact.html">Contact Us</a>
|
@@ -1265,7 +1311,7 @@ <h4 id="gc-card-title">Real projects • Mentorship • Portfolio-ready work</h4
|
1265 | 1311 | // CTA demo handlers (replace with real routes)
|
1266 | 1312 |
|
1267 | 1313 | document.getElementById('exploreServices')?.addEventListener('click', ()=>{
|
1268 |
| - window.location.hash = '#services'; |
| 1314 | + window.location.href = 'services.html'; |
1269 | 1315 | });
|
1270 | 1316 | document.getElementById('joinContrib')?.addEventListener('click', ()=>{
|
1271 | 1317 | window.location.hash = '#contribute';
|
@@ -1327,9 +1373,9 @@ <h4 id="gc-card-title">Real projects • Mentorship • Portfolio-ready work</h4
|
1327 | 1373 | })();
|
1328 | 1374 |
|
1329 | 1375 | // CTA handlers (replace hashes with routes)
|
1330 |
| - document.getElementById('exploreBtn')?.addEventListener('click', ()=> window.location.hash = '#services'); |
| 1376 | + document.getElementById('exploreBtn')?.addEventListener('click', ()=> window.location.href = 'services.html'); |
1331 | 1377 | document.getElementById('guideBtn')?.addEventListener('click', ()=> window.location.hash = '#contributing');
|
1332 |
| - document.getElementById('contactBtn')?.addEventListener('click', ()=> window.location.hash = '#contact'); |
| 1378 | + document.getElementById('contactBtn')?.addEventListener('click', ()=> window.location.href = 'src/contact.html'); |
1333 | 1379 | document.getElementById('contributeBtn')?.addEventListener('click', ()=> window.location.hash = '#contribute');
|
1334 | 1380 |
|
1335 | 1381 | // Theme init (keep parity with other sections)
|
|
0 commit comments