Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1,14 +1,19 @@ 1 -/* ========== Agnease Landing (no Bootstrap grid) ========== */ 1 +/* ========== Agnease Public Website ========== */ 2 + 2 2 @brand: #00937D; 3 3 @brand-strong: #007B6A; 5 +@brand-soft: #E7FFF8; 6 +@brand-bg: #F4FCFA; 4 4 @text: #2D3A34; 5 5 @muted: #5B6B64; 6 6 @line: #E4ECE9; 7 7 @radius: 16px; 8 -@shadow-sm: 0 6px 20px rgba(0,0,0,.06); 9 -@shadow: 0 12px 36px rgba(0,0,0,.08); 11 +@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06); 12 +@shadow: 0 12px 36px rgba(0, 0, 0, .08); 10 10 @maxw: 1140px; 11 11 15 +/* ========== Base ========== */ 16 + 12 12 #mainContentArea { 13 13 padding: 0; 14 14 } ... ... @@ -15,27 +15,148 @@ 15 15 16 16 .container { 17 17 max-width: @maxw; 23 + margin-left: auto; 24 + margin-right: auto; 25 + padding-left: 18px; 26 + padding-right: 18px; 18 18 } 19 19 29 +html { 30 + scroll-behavior: smooth; 31 +} 32 + 33 +section { 34 + padding: 42px 0; 35 + border-top: 1px solid @line; 36 + 37 + &:first-of-type { 38 + border-top: none; 39 + } 40 +} 41 + 42 +section[id] { 43 + scroll-margin-top: 92px; 44 +} 45 + 46 +h1, 47 +h2, 48 +h3, 49 +h4 { 50 + color: @text; 51 +} 52 + 53 +h2 { 54 + text-align: center; 55 + margin-top: 0; 56 +} 57 + 20 20 .lead { 21 21 color: @muted; 22 22 text-align: center; 23 23 margin-bottom: 0; 24 24 } 25 -h2 { 63 + 64 +.section-intro { 65 + max-width: 760px; 66 + margin: 0 auto 22px; 26 26 text-align: center; 68 + color: @muted; 69 + font-size: 16px; 70 + line-height: 1.55; 27 27 } 28 28 29 -section { 30 - padding: 32px 0; 31 - border-top: 1px solid @line; 73 +a { 74 + color: @brand; 32 32 33 - &:first-of-type { 34 - border-top: none; 76 + &:hover, 77 + &:focus { 78 + color: @brand-strong; 35 35 } 36 36 } 37 37 38 -/* ===== HERO ===== */ 82 +/* ========== Header / Navigation ========== */ 83 + 84 +.site-header { 85 + position: sticky; 86 + top: 0; 87 + z-index: 1000; 88 + background: fade(#fff, 96%); 89 + border-bottom: 1px solid fade(@line, 85%); 90 + backdrop-filter: blur(8px); 91 +} 92 + 93 +.header-inner { 94 + min-height: 72px; 95 + display: flex; 96 + align-items: center; 97 + justify-content: space-between; 98 + gap: 24px; 99 +} 100 + 101 +.site-nav { 102 + display: flex; 103 + align-items: center; 104 + gap: 22px; 105 + font-size: 15px; 106 + 107 + a { 108 + color: @text; 109 + text-decoration: none; 110 + font-weight: 600; 111 + 112 + &:hover, 113 + &:focus { 114 + color: @brand; 115 + text-decoration: none; 116 + } 117 + } 118 + 119 + .nav-cta { 120 + color: #fff; 121 + background: @brand; 122 + border: 1px solid @brand; 123 + border-radius: 6px; 124 + padding: 8px 14px; 125 + 126 + &:hover, 127 + &:focus { 128 + color: #fff; 129 + background: @brand-strong; 130 + border-color: @brand-strong; 131 + } 132 + } 133 +} 134 + 135 +/* ========== Buttons ========== */ 136 + 137 +.btn-primary { 138 + background: @brand; 139 + border-color: @brand; 140 + color: #fff; 141 + 142 + &:hover, 143 + &:focus { 144 + background: @brand-strong; 145 + border-color: @brand-strong; 146 + color: #fff; 147 + } 148 +} 149 + 150 +.btn-secondary { 151 + color: @brand; 152 + background: #fff; 153 + border: 1px solid fade(@brand, 35%); 154 + 155 + &:hover, 156 + &:focus { 157 + color: @brand-strong; 158 + border-color: @brand; 159 + background: @brand-bg; 160 + } 161 +} 162 + 163 +/* ========== Hero ========== */ 164 + 39 39 .hero { 40 40 overflow: hidden; 41 41 background-repeat: no-repeat; ... ... @@ -44,16 +44,16 @@ 44 44 &.hero-centered { 45 45 text-align: center; 46 46 background: 47 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF80%, transparent 60%),173 + radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 48 48 radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 49 49 display: flex; 50 50 align-items: center; 51 51 justify-content: center; 52 - min-height: 30 0px;178 + min-height: 330px; 53 53 } 54 54 55 55 .hero-inner { 56 - max-width: 8 50px;182 + max-width: 860px; 57 57 margin: 0 auto; 58 58 display: flex; 59 59 flex-direction: column; ... ... @@ -60,14 +60,19 @@ 60 60 align-items: center; 61 61 } 62 62 63 - #hero-cta { 64 - display: flex; 65 - gap: 0.8rem; 66 - flex-wrap: wrap; 67 - justify-content: center; 68 - margin-top: 1.3rem; 189 + h1 { 190 + max-width: 790px; 191 + margin-left: auto; 192 + margin-right: auto; 193 + line-height: 1.18; 69 69 } 70 70 196 + .lead { 197 + max-width: 760px; 198 + font-size: 19px; 199 + line-height: 1.55; 200 + } 201 + 71 71 .benefits { 72 72 display: flex; 73 73 flex-wrap: wrap; ... ... @@ -74,61 +74,163 @@ 74 74 justify-content: center; 75 75 list-style: none; 76 76 padding: 0; 77 - margin: 0.8rem0 0;208 + margin: 14px 0 0; 78 78 color: @muted; 79 79 font-size: 14px; 80 80 81 81 li + li::before { 82 82 content: "•"; 83 - margin: 0 5px;214 + margin: 0 6px; 84 84 } 216 + } 217 +} 85 85 86 - @media (max-width: 640px) { 87 - li + li::before { 88 - content: none; 89 - } 90 - li:nth-child(1)::after, 91 - li:nth-child(3)::after { 92 - content: "•"; 93 - margin: 0 5px; 94 - } 95 - } 219 +.hero-kicker { 220 + display: inline-flex; 221 + align-items: center; 222 + gap: 8px; 223 + color: @brand; 224 + background: fade(@brand, 8%); 225 + border: 1px solid fade(@brand, 18%); 226 + border-radius: 999px; 227 + padding: 6px 12px; 228 + margin-bottom: 14px; 229 + font-size: 13px; 230 + font-weight: 700; 231 +} 232 + 233 +.hero-support { 234 + max-width: 760px; 235 + margin: 14px auto 0; 236 + color: @muted; 237 + line-height: 1.55; 238 +} 239 + 240 +.hero-actions, 241 +#hero-cta { 242 + display: flex; 243 + gap: 12px; 244 + flex-wrap: wrap; 245 + justify-content: center; 246 + margin-top: 22px; 247 +} 248 + 249 +/* ========== Trust Strip ========== */ 250 + 251 +.trust-strip { 252 + padding: 18px 0; 253 + border-top: 1px solid @line; 254 + border-bottom: 1px solid @line; 255 + background: #fff; 256 + 257 + ul { 258 + max-width: 960px; 259 + margin: 0 auto; 260 + padding: 0; 261 + list-style: none; 262 + display: flex; 263 + justify-content: center; 264 + gap: 22px; 265 + flex-wrap: wrap; 266 + color: @muted; 267 + font-size: 13px; 96 96 } 269 + 270 + li { 271 + display: flex; 272 + align-items: center; 273 + gap: 7px; 274 + } 275 + 276 + i { 277 + color: @brand; 278 + } 97 97 } 98 98 99 -/* ===== WHY CHOOSE (cards) ===== */ 281 +/* ========== Reusable Grids ========== */ 282 + 283 +.card-grid, 284 +.pathways, 285 +.services-grid, 286 +.resource-grid, 100 100 .widgets { 101 - margin-top: 12px; 102 102 display: grid; 103 - grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 104 - grid-gap: 16px; 289 + grid-gap: 18px; 290 + margin-left: auto; 291 + margin-right: auto; 105 105 } 106 106 107 -.widget { 108 - padding: 18px; 294 +.card-grid, 295 +.pathways, 296 +.services-grid { 297 + grid-template-columns: repeat(3, minmax(0, 1fr)); 298 + max-width: 1040px; 299 + margin-top: 26px; 300 +} 301 + 302 +.resource-grid { 303 + grid-template-columns: repeat(2, minmax(0, 1fr)); 304 + max-width: 1040px; 305 + margin-top: 22px; 306 +} 307 + 308 +.widgets { 309 + grid-template-columns: repeat(4, minmax(0, 1fr)); 310 + max-width: 1040px; 311 + margin-top: 20px; 312 +} 313 + 314 +.card-grid > *, 315 +.pathways > *, 316 +.services-grid > *, 317 +.resource-grid > *, 318 +.widgets > * { 319 + min-width: 0; 320 +} 321 + 322 +/* ========== Shared Card Style ========== */ 323 + 324 +.widget, 325 +.pathway-card, 326 +.service-card, 327 +.resource-card { 109 109 background: #fff; 110 110 border: 1px solid @line; 111 111 border-radius: @radius; 112 112 box-shadow: @shadow-sm; 113 113 transition: transform .18s ease, box-shadow .18s ease; 114 - display: flex; 115 - flex-direction: column; 116 - height: 100%; 117 117 118 118 &:hover { 119 119 transform: translateY(-2px); 120 120 box-shadow: @shadow; 121 121 } 338 +} 122 122 340 +/* ========== Small Widgets ========== */ 341 + 342 +.widget { 343 + padding: 18px; 344 + display: flex; 345 + flex-direction: column; 346 + height: 100%; 347 + 123 123 .icon { 124 124 display: flex; 125 125 align-items: center; 126 126 gap: 10px; 127 - padding-bottom: 6px; 128 - margin-bottom: 8px; 129 - border-bottom: 1px solid fade(@line, 60%); 130 - i { color: @brand; } 131 - h4 { margin: 0; line-height: 1.2; color: @text; } 352 + padding-bottom: 8px; 353 + margin-bottom: 10px; 354 + border-bottom: 1px solid fade(@line, 70%); 355 + 356 + i { 357 + color: @brand; 358 + } 359 + 360 + h4 { 361 + margin: 0; 362 + line-height: 1.25; 363 + color: @text; 364 + } 132 132 } 133 133 134 134 p { ... ... @@ -138,31 +138,95 @@ 138 138 } 139 139 } 140 140 141 -/* ===== SERVICES ===== */ 142 -.services { 143 - .services-grid { 144 - margin-top: 20px; 145 - display: flex; 146 - flex-wrap: wrap; 147 - gap: 24px; 374 +/* ========== Homepage Pathway Cards ========== */ 148 148 149 - /* center the whole block under the heading */ 150 - max-width: 960px; 151 - margin-left: auto; 152 - margin-right: auto; 376 +.pathway-card { 377 + padding: 24px; 378 + display: flex; 379 + flex-direction: column; 380 + min-height: 100%; 381 + 382 + .pathway-icon { 383 + width: 52px; 384 + height: 52px; 385 + border-radius: 50%; 386 + display: flex; 387 + align-items: center; 153 153 justify-content: center; 389 + color: @brand; 390 + background: fade(@brand, 10%); 391 + margin-bottom: 18px; 392 + font-size: 19px; 154 154 } 155 155 395 + h3 { 396 + margin: 0 0 10px; 397 + color: @text; 398 + font-size: 22px; 399 + line-height: 1.25; 400 + } 401 + 402 + p { 403 + color: @muted; 404 + line-height: 1.55; 405 + margin: 0 0 16px; 406 + } 407 + 408 + ul { 409 + margin: 0 0 22px; 410 + padding-left: 18px; 411 + color: @muted; 412 + font-size: 14px; 413 + line-height: 1.55; 414 + } 415 + 416 + li { 417 + margin: 6px 0; 418 + } 419 + 420 + .card-link { 421 + margin-top: auto; 422 + padding-top: 4px; 423 + 424 + a { 425 + color: @brand; 426 + font-weight: 700; 427 + text-decoration: underline; 428 + 429 + &:hover, 430 + &:focus { 431 + color: @brand-strong; 432 + } 433 + } 434 + } 435 +} 436 + 437 +/* ========== Services ========== */ 438 + 439 +.services { 440 + .services-grid { 441 + max-width: 1040px; 442 + } 443 + 156 156 .service { 157 - flex: 0 1 calc(50% - 12px); 158 158 display: flex; 159 159 align-items: flex-start; 160 160 gap: 16px; 161 - margin-bottom: 8px; 448 + padding: 22px; 449 + background: #fff; 450 + border: 1px solid @line; 451 + border-radius: @radius; 452 + box-shadow: @shadow-sm; 453 + transition: transform .18s ease, box-shadow .18s ease; 162 162 455 + &:hover { 456 + transform: translateY(-2px); 457 + box-shadow: @shadow; 458 + } 459 + 163 163 .service-icon { 164 - width: 4 2px;165 - height: 4 2px;461 + width: 46px; 462 + height: 46px; 166 166 border-radius: 50%; 167 167 display: flex; 168 168 align-items: center; ... ... @@ -171,67 +171,261 @@ 171 171 color: @brand; 172 172 background: fade(@brand, 10%); 173 173 flex-shrink: 0; 174 - margin-top: 3px;471 + margin-top: 2px; 175 175 } 176 176 177 177 .service-body { 178 178 h4 { 179 - margin: 0 0 4px; 180 - font-size: 1.125rem; 476 + margin: 0 0 6px; 477 + font-size: 18px; 478 + line-height: 1.25; 181 181 font-weight: 800; 480 + color: @text; 182 182 } 482 + 183 183 p { 184 - margin: 0 0 6px;185 - color: @te xt;484 + margin: 0 0 8px; 485 + color: @muted; 186 186 line-height: 1.5; 187 187 } 488 + 188 188 ul { 189 - margin: .45rem0 0;190 - padding-left: 1 .1rem;490 + margin: 9px 0 0; 491 + padding-left: 18px; 191 191 color: @muted; 192 192 font-size: 13px; 494 + line-height: 1.5; 193 193 } 496 + 194 194 li { 195 - margin: .25rem 0; 196 - line-height: 1.45; 498 + margin: 4px 0; 197 197 } 198 198 } 199 199 } 502 +} 200 200 201 - /* ==== Center last item on its own row while keeping 50% width ==== */ 202 - .service-center { 203 - /* same width as siblings */ 204 - flex: 0 1 calc(55% - 12px); 504 +/* ========== Split / Process Section ========== */ 205 205 206 - /* push to center */ 207 - margin-left: auto; 208 - margin-right: auto; 506 +.split-section { 507 + background: 508 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 509 +} 510 + 511 +.split-grid { 512 + display: grid; 513 + grid-template-columns: 1.1fr .9fr; 514 + grid-gap: 36px; 515 + max-width: 1040px; 516 + margin: 0 auto; 517 + align-items: center; 518 +} 519 + 520 +.split-copy { 521 + h2 { 522 + text-align: left; 523 + margin-top: 0; 209 209 } 210 210 211 - /* Mobile: 1 per row */ 212 - @media (max-width: 767px) { 213 - .services-grid { 214 - gap: 16px; 215 - max-width: 100%; 526 + p { 527 + color: @muted; 528 + line-height: 1.6; 529 + } 530 +} 531 + 532 +.process-list { 533 + counter-reset: process; 534 + margin: 0; 535 + padding: 0; 536 + list-style: none; 537 + 538 + li { 539 + counter-increment: process; 540 + position: relative; 541 + padding: 16px 16px 16px 58px; 542 + margin-bottom: 12px; 543 + background: #fff; 544 + border: 1px solid @line; 545 + border-radius: @radius; 546 + box-shadow: @shadow-sm; 547 + color: @muted; 548 + line-height: 1.5; 549 + 550 + &:before { 551 + content: counter(process); 552 + position: absolute; 553 + left: 16px; 554 + top: 16px; 555 + width: 28px; 556 + height: 28px; 557 + border-radius: 50%; 558 + background: fade(@brand, 10%); 559 + color: @brand; 560 + display: flex; 561 + align-items: center; 562 + justify-content: center; 563 + font-weight: 800; 216 216 } 217 217 218 - .service, 219 - .service-center { 220 - flex: 0 1 100%; 221 - margin-left: 0; 222 - margin-right: 0; 566 + strong { 567 + display: block; 568 + color: @text; 569 + margin-bottom: 3px; 223 223 } 224 224 } 225 225 } 226 226 227 -/* ===== CTA ===== */ 574 +/* ========== Resources ========== */ 575 + 576 +.resource-strip { 577 + background: @brand-bg; 578 +} 579 + 580 +.resource-card { 581 + padding: 20px; 582 + 583 + h4 { 584 + margin: 0 0 8px; 585 + color: @text; 586 + font-size: 18px; 587 + line-height: 1.25; 588 + } 589 + 590 + p { 591 + color: @muted; 592 + margin: 0 0 12px; 593 + line-height: 1.5; 594 + } 595 + 596 + a { 597 + color: @brand; 598 + font-weight: 700; 599 + } 600 +} 601 + 602 +/* ========== CTA ========== */ 603 + 228 228 .cta-section { 229 - padding: 2 4px 016px;605 + padding: 32px 0 24px; 230 230 231 231 .contact-inline { 232 232 margin: 0; 233 233 color: @muted; 234 - a { color: @brand; } 610 + 611 + a { 612 + color: @brand; 613 + } 235 235 } 236 236 } 237 237 617 +.cta-panel { 618 + max-width: 860px; 619 + margin: 0 auto; 620 + padding: 32px; 621 + border-radius: @radius; 622 + border: 1px solid fade(@brand, 20%); 623 + background: 624 + radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%); 625 + box-shadow: @shadow-sm; 626 + text-align: center; 627 + 628 + h2 { 629 + margin-top: 0; 630 + } 631 + 632 + p { 633 + color: @muted; 634 + line-height: 1.55; 635 + } 636 +} 637 + 638 +/* ========== Responsive ========== */ 639 + 640 +@media (max-width: 980px) { 641 + .widgets, 642 + .pathways, 643 + .services-grid, 644 + .resource-grid { 645 + grid-template-columns: repeat(2, minmax(0, 1fr)); 646 + } 647 + 648 + .split-grid { 649 + grid-template-columns: 1fr; 650 + } 651 + 652 + .split-copy h2 { 653 + text-align: center; 654 + } 655 +} 656 + 657 +@media (max-width: 760px) { 658 + section[id] { 659 + scroll-margin-top: 132px; 660 + } 661 + 662 + .header-inner { 663 + min-height: auto; 664 + padding-top: 14px; 665 + padding-bottom: 14px; 666 + flex-direction: column; 667 + align-items: center; 668 + gap: 12px; 669 + } 670 + 671 + .site-nav { 672 + width: 100%; 673 + justify-content: center; 674 + flex-wrap: wrap; 675 + gap: 10px 16px; 676 + font-size: 14px; 677 + 678 + .nav-cta { 679 + padding: 7px 12px; 680 + } 681 + } 682 + 683 + .hero.hero-centered { 684 + min-height: 280px; 685 + } 686 + 687 + .hero { 688 + .lead { 689 + font-size: 17px; 690 + } 691 + 692 + .benefits { 693 + gap: 4px 10px; 694 + 695 + li + li::before { 696 + content: none; 697 + } 698 + } 699 + } 700 +} 701 + 702 +@media (max-width: 640px) { 703 + section { 704 + padding: 34px 0; 705 + } 706 + 707 + .widgets, 708 + .pathways, 709 + .services-grid, 710 + .resource-grid { 711 + grid-template-columns: 1fr; 712 + } 713 + 714 + .pathway-card, 715 + .services .service, 716 + .resource-card, 717 + .widget { 718 + padding: 20px; 719 + } 720 + 721 + .services .service { 722 + gap: 14px; 723 + } 724 + 725 + .cta-panel { 726 + padding: 24px 20px; 727 + } 728 +}