Changes for page Public Web Site

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

From version 13.13
edited by Agnease
on 2026/05/26 10:53
Change comment: There is no comment for this version
To version 13.19
edited by Agnease
on 2026/05/27 09:28
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -698,7 +698,10 @@
698 698  }
699 699  
700 700  .resource-inline-cta {
701 - display: flow-root;
701 + display: flex;
702 + align-items: center;
703 + justify-content: space-between;
704 + gap: 22px;
702 702   margin: 30px 0;
703 703   padding: 20px 22px;
704 704   border: 1px solid fade(@brand, 22%);
... ... @@ -705,10 +705,9 @@
705 705   border-radius: @radius;
706 706   background: @brand-bg;
707 707   box-shadow: @shadow-sm;
708 - max-width: 820px;
709 709  
710 710   p {
711 - margin: 0 0 14px;
713 + margin: 0;
712 712   color: @muted;
713 713   line-height: 1.55;
714 714   }
... ... @@ -718,10 +718,27 @@
718 718   }
719 719  
720 720   .btn {
721 - margin-top: 2px;
723 + flex-shrink: 0;
722 722   }
723 723  }
724 724  
727 +@media (max-width: 767px) {
728 + .resource-inline-cta {
729 + display: block;
730 + text-align: center;
731 +
732 + p {
733 + margin-bottom: 14px;
734 + }
735 +
736 + .btn {
737 + display: inline-block;
738 + margin-left: auto;
739 + margin-right: auto;
740 + }
741 + }
742 +}
743 +
725 725  /* ========== Responsive ========== */
726 726  
727 727  @media (max-width: 980px) {
... ... @@ -958,8 +958,14 @@
958 958  }
959 959  
960 960  .resource-cta {
961 - margin-top: 36px;
962 - padding: 22px;
980 + display: flex;
981 + flex-direction: column;
982 + align-items: center;
983 + text-align: center;
984 +
985 + max-width: 820px;
986 + margin: 42px auto 0;
987 + padding: 28px 30px;
963 963   border: 1px solid fade(@brand, 20%);
964 964   border-radius: @radius;
965 965   background: @brand-bg;
... ... @@ -966,11 +966,19 @@
966 966  
967 967   h3 {
968 968   margin-top: 0;
994 + margin-bottom: 10px;
969 969   }
970 970  
971 971   p {
998 + max-width: 680px;
999 + margin-left: auto;
1000 + margin-right: auto;
972 972   color: @muted;
973 973   }
1003 +
1004 + .btn {
1005 + margin-top: 8px;
1006 + }
974 974  }
975 975  
976 976  .resource-note,
... ... @@ -979,6 +979,12 @@
979 979   display: flow-root;
980 980  }
981 981  
1015 +@media (max-width: 767px) {
1016 + .resource-cta {
1017 + padding: 24px 20px;
1018 + }
1019 +}
1020 +
982 982  @media (max-width: 900px) {
983 983   .resource-layout {
984 984   padding-top: 22px;
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,6 +1,20 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  /* Top-level menu items */
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;
3 3  
15 +@section-padding: 30px 0;
16 +@section-padding-mobile: 28px 0;
17 +
4 4  #menuview .agnease-menu-item,
5 5  #menuview .agnease-menu-link {
6 6   > a,