Changes for page Public Web Site

Last modified by Agnease on 2026/07/01 17:17

From version 25.15
edited by Agnease
on 2026/06/30 11:08
Change comment: There is no comment for this version
To version 25.33
edited by Agnease
on 2026/06/30 11:37
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1,19 +1,30 @@
1 1  /* ========== Agnease Public Website ========== */
2 -
3 -
4 -
2 +/*
3 +@brand: #00937D;
4 +@brand-strong: #007B6A;
5 +@brand-soft: #E7FFF8;
6 +@brand-bg: #F4FCFA;
7 +@text: #2D3A34;
8 +@muted: #5B6B64;
9 +@line: #E4ECE9;
10 +@radius: 16px;
11 +@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
12 +@shadow: 0 12px 36px rgba(0, 0, 0, .08);
13 +@maxw: 1140px;
14 +*/
15 +@brand: #00937D;
16 +@brand-strong: #007B6A;
17 +@brand-soft: #E7FFF8;
5 5  @brand-bg: #F7F9FC;
6 6  @text: #07182D;
7 7  @text-soft: #10243D;
8 8  @muted: #64748B;
9 -
10 10  @line: #E6EBF2;
11 11  @radius: 18px;
12 -
13 13  @shadow-sm: 0 18px 45px rgba(15, 23, 42, .06);
14 14  @shadow: 0 30px 80px rgba(15, 23, 42, .12);
15 -@maxw: 1240px;
16 -/* */
26 +@maxw: 1140px;
27 +
17 17  @section-padding: 30px 0;
18 18  @section-padding-mobile: 28px 0;
19 19  
... ... @@ -174,9 +174,6 @@
174 174  
175 175   &.hero-centered {
176 176   text-align: center;
177 - background:
178 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
179 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
180 180   display: flex;
181 181   align-items: center;
182 182   justify-content: center;
... ... @@ -250,7 +250,6 @@
250 250  .trust-strip {
251 251   padding: 18px 0;
252 252   border-top: 1px solid @line;
253 - background: #fff;
254 254  
255 255   ul {
256 256   max-width: 960px;
... ... @@ -323,7 +323,6 @@
323 323  .pathway-card,
324 324  .service-card,
325 325  .resource-card {
326 - background: #fff;
327 327   border: 1px solid @line;
328 328   border-radius: @radius;
329 329   box-shadow: @shadow-sm;
... ... @@ -519,7 +519,6 @@
519 519   align-items: flex-start;
520 520   gap: 16px;
521 521   padding: 22px;
522 - background: #fff;
523 523   border: 1px solid @line;
524 524   border-radius: @radius;
525 525   box-shadow: @shadow-sm;
... ... @@ -607,7 +607,6 @@
607 607   position: relative;
608 608   padding: 16px 16px 16px 58px;
609 609   margin-bottom: 12px;
610 - background: #fff;
611 611   border: 1px solid @line;
612 612   border-radius: @radius;
613 613   box-shadow: @shadow-sm;
... ... @@ -758,8 +758,6 @@
758 758   padding: 32px;
759 759   border-radius: @radius;
760 760   border: 1px solid fade(@brand, 20%);
761 - background:
762 - radial-gradient(34rem 12rem at 50% 0%, @brand-soft 0%, #fff 70%);
763 763   box-shadow: @shadow-sm;
764 764   text-align: center;
765 765  
... ... @@ -1560,7 +1560,6 @@
1560 1560  /* ========== Resources Index ========== */
1561 1561  
1562 1562  .resources-index-page {
1563 - background: #fff;
1564 1564  
1565 1565   .services-grid {
1566 1566   grid-template-columns: repeat(2, minmax(0, 1fr));
... ... @@ -1596,3 +1596,52 @@
1596 1596   color: @muted;
1597 1597   }
1598 1598  }
1600 +
1601 +/* ========== Global Theme Background ========== */
1602 +
1603 +html,
1604 +body {
1605 + min-height: 100%;
1606 +}
1607 +
1608 +body {
1609 + color: @text;
1610 + background:
1611 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.08) 0, transparent 26%),
1612 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.05) 0, transparent 30%),
1613 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important;
1614 + background-attachment: fixed;
1615 +}
1616 +
1617 +/* Let the body background show through the XWiki wrappers.
1618 +#mainContentArea,
1619 +.resource-page,
1620 +.resources-index-page {
1621 + background: transparent !important;
1622 + background-image: none !important;
1623 +}
1624 +*/
1625 +/* Remove local decorative backgrounds that compete with the global gradient.
1626 +.hero,
1627 +.hero.hero-centered,
1628 +.trust-strip,
1629 +.industry-trust-section,
1630 +.split-section,
1631 +.resource-strip,
1632 +.homepage-resource-strip,
1633 +.resource-header,
1634 +.product-section-muted,
1635 +.resources-index-page {
1636 + background: transparent !important;
1637 + background-image: none !important;
1638 +}
1639 + */
1640 +/* Keep large panels readable, but remove their inner gradients.
1641 +.industry-trust-section .industry-trust-panel,
1642 +.cta-panel,
1643 +.resource-inline-cta,
1644 +.resource-note,
1645 +.resource-cta {
1646 + background: #fff !important;
1647 + background-image: none !important;
1648 +} */