Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 6.30
edited by Agnease
on 2026/05/12 12:19
Change comment: There is no comment for this version
To version 6.27
edited by Agnease
on 2026/05/12 11:59
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1,19 +1,14 @@
1 -/* ========== Agnease Public Website ========== */
2 -
1 +/* ========== Agnease Landing (no Bootstrap grid) ========== */
3 3  @brand: #00937D;
4 4  @brand-strong: #007B6A;
5 -@brand-soft: #E7FFF8;
6 -@brand-bg: #F4FCFA;
7 7  @text: #2D3A34;
8 8  @muted: #5B6B64;
9 9  @line: #E4ECE9;
10 10  @radius: 16px;
11 -@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
12 -@shadow: 0 12px 36px rgba(0, 0, 0, .08);
8 +@shadow-sm: 0 6px 20px rgba(0,0,0,.06);
9 +@shadow: 0 12px 36px rgba(0,0,0,.08);
13 13  @maxw: 1140px;
14 14  
15 -/* ========== Base ========== */
16 -
17 17  #mainContentArea {
18 18   padding: 0;
19 19  }
... ... @@ -20,148 +20,27 @@
20 20  
21 21  .container {
22 22   max-width: @maxw;
23 - margin-left: auto;
24 - margin-right: auto;
25 - padding-left: 18px;
26 - padding-right: 18px;
27 27  }
28 28  
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 -
58 58  .lead {
59 59   color: @muted;
60 60   text-align: center;
61 61   margin-bottom: 0;
62 62  }
63 -
64 -.section-intro {
65 - max-width: 760px;
66 - margin: 0 auto 22px;
25 +h2 {
67 67   text-align: center;
68 - color: @muted;
69 - font-size: 16px;
70 - line-height: 1.55;
71 71  }
72 72  
73 -a {
74 - color: @brand;
29 +section {
30 + padding: 32px 0;
31 + border-top: 1px solid @line;
75 75  
76 - &:hover,
77 - &:focus {
78 - color: @brand-strong;
33 + &:first-of-type {
34 + border-top: none;
79 79   }
80 80  }
81 81  
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 -
38 +/* ===== HERO ===== */
165 165  .hero {
166 166   overflow: hidden;
167 167   background-repeat: no-repeat;
... ... @@ -170,16 +170,16 @@
170 170   &.hero-centered {
171 171   text-align: center;
172 172   background:
173 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
47 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
174 174   radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
175 175   display: flex;
176 176   align-items: center;
177 177   justify-content: center;
178 - min-height: 330px;
52 + min-height: 300px;
179 179   }
180 180  
181 181   .hero-inner {
182 - max-width: 860px;
56 + max-width: 850px;
183 183   margin: 0 auto;
184 184   display: flex;
185 185   flex-direction: column;
... ... @@ -186,19 +186,14 @@
186 186   align-items: center;
187 187   }
188 188  
189 - h1 {
190 - max-width: 790px;
191 - margin-left: auto;
192 - margin-right: auto;
193 - line-height: 1.18;
63 + #hero-cta {
64 + display: flex;
65 + gap: 0.8rem;
66 + flex-wrap: wrap;
67 + justify-content: center;
68 + margin-top: 1.3rem;
194 194   }
195 195  
196 - .lead {
197 - max-width: 760px;
198 - font-size: 19px;
199 - line-height: 1.55;
200 - }
201 -
202 202   .benefits {
203 203   display: flex;
204 204   flex-wrap: wrap;
... ... @@ -205,163 +205,61 @@
205 205   justify-content: center;
206 206   list-style: none;
207 207   padding: 0;
208 - margin: 14px 0 0;
77 + margin: 0.8rem 0 0;
209 209   color: @muted;
210 210   font-size: 14px;
211 211  
212 212   li + li::before {
213 213   content: "•";
214 - margin: 0 6px;
83 + margin: 0 5px;
215 215   }
216 - }
217 -}
218 218  
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;
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 + }
268 268   }
269 -
270 - li {
271 - display: flex;
272 - align-items: center;
273 - gap: 7px;
274 - }
275 -
276 - i {
277 - color: @brand;
278 - }
279 279  }
280 280  
281 -/* ========== Reusable Grids ========== */
282 -
283 -.card-grid,
284 -.pathways,
285 -.services-grid,
286 -.resource-grid,
99 +/* ===== WHY CHOOSE (cards) ===== */
287 287  .widgets {
101 + margin-top: 12px;
288 288   display: grid;
289 - grid-gap: 18px;
290 - margin-left: auto;
291 - margin-right: auto;
103 + grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
104 + grid-gap: 16px;
292 292  }
293 293  
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 {
107 +.widget {
108 + padding: 18px;
328 328   background: #fff;
329 329   border: 1px solid @line;
330 330   border-radius: @radius;
331 331   box-shadow: @shadow-sm;
332 332   transition: transform .18s ease, box-shadow .18s ease;
114 + display: flex;
115 + flex-direction: column;
116 + height: 100%;
333 333  
334 334   &:hover {
335 335   transform: translateY(-2px);
336 336   box-shadow: @shadow;
337 337   }
338 -}
339 339  
340 -/* ========== Small Widgets ========== */
341 -
342 -.widget {
343 - padding: 18px;
344 - display: flex;
345 - flex-direction: column;
346 - height: 100%;
347 -
348 348   .icon {
349 349   display: flex;
350 350   align-items: center;
351 351   gap: 10px;
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 - }
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; }
365 365   }
366 366  
367 367   p {
... ... @@ -371,95 +371,31 @@
371 371   }
372 372  }
373 373  
374 -/* ========== Homepage Pathway Cards ========== */
375 -
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%;
141 +/* ===== SERVICES ===== */
142 +.services {
143 + .services-grid {
144 + margin-top: 20px;
386 386   display: flex;
387 - align-items: center;
146 + flex-wrap: wrap;
147 + gap: 24px;
148 +
149 + /* center the whole block under the heading */
150 + max-width: 960px;
151 + margin-left: auto;
152 + margin-right: auto;
388 388   justify-content: center;
389 - color: @brand;
390 - background: fade(@brand, 10%);
391 - margin-bottom: 18px;
392 - font-size: 19px;
393 393   }
394 394  
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 -
444 444   .service {
157 + flex: 0 1 calc(50% - 12px);
445 445   display: flex;
446 446   align-items: flex-start;
447 447   gap: 16px;
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;
161 + margin-bottom: 8px;
454 454  
455 - &:hover {
456 - transform: translateY(-2px);
457 - box-shadow: @shadow;
458 - }
459 -
460 460   .service-icon {
461 - width: 46px;
462 - height: 46px;
164 + width: 42px;
165 + height: 42px;
463 463   border-radius: 50%;
464 464   display: flex;
465 465   align-items: center;
... ... @@ -468,261 +468,67 @@
468 468   color: @brand;
469 469   background: fade(@brand, 10%);
470 470   flex-shrink: 0;
471 - margin-top: 2px;
174 + margin-top: 3px;
472 472   }
473 473  
474 474   .service-body {
475 475   h4 {
476 - margin: 0 0 6px;
477 - font-size: 18px;
478 - line-height: 1.25;
179 + margin: 0 0 4px;
180 + font-size: 1.125rem;
479 479   font-weight: 800;
480 - color: @text;
481 481   }
482 -
483 483   p {
484 - margin: 0 0 8px;
485 - color: @muted;
184 + margin: 0 0 6px;
185 + color: @text;
486 486   line-height: 1.5;
487 487   }
488 -
489 489   ul {
490 - margin: 9px 0 0;
491 - padding-left: 18px;
189 + margin: .45rem 0 0;
190 + padding-left: 1.1rem;
492 492   color: @muted;
493 493   font-size: 13px;
494 - line-height: 1.5;
495 495   }
496 -
497 497   li {
498 - margin: 4px 0;
195 + margin: .25rem 0;
196 + line-height: 1.45;
499 499   }
500 500   }
501 501   }
502 -}
503 503  
504 -/* ========== Split / Process Section ========== */
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);
505 505  
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;
206 + /* push to center */
207 + margin-left: auto;
208 + margin-right: auto;
524 524   }
525 525  
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;
211 + /* Mobile: 1 per row */
212 + @media (max-width: 767px) {
213 + .services-grid {
214 + gap: 16px;
215 + max-width: 100%;
564 564   }
565 565  
566 - strong {
567 - display: block;
568 - color: @text;
569 - margin-bottom: 3px;
218 + .service,
219 + .service-center {
220 + flex: 0 1 100%;
221 + margin-left: 0;
222 + margin-right: 0;
570 570   }
571 571   }
572 572  }
573 573  
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 -
227 +/* ===== CTA ===== */
604 604  .cta-section {
605 - padding: 32px 0 24px;
229 + padding: 24px 0 16px;
606 606  
607 607   .contact-inline {
608 608   margin: 0;
609 609   color: @muted;
610 -
611 - a {
612 - color: @brand;
613 - }
234 + a { color: @brand; }
614 614   }
615 615  }
616 616  
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 -}