Changes for page Public Web Site

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

From version 13.12
edited by Agnease
on 2026/05/26 10:49
Change comment: There is no comment for this version
To version 13.16
edited by Agnease
on 2026/05/26 11:08
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -698,19 +698,52 @@
698 698  }
699 699  
700 700  .resource-inline-cta {
701 - margin: 28px 0;
702 - padding: 18px 20px;
701 + display: flex;
702 + align-items: center;
703 + justify-content: space-between;
704 + gap: 22px;
705 + margin: 30px 0;
706 + padding: 20px 22px;
703 703   border: 1px solid fade(@brand, 22%);
704 704   border-radius: @radius;
705 - background: #fff;
709 + background: @brand-bg;
706 706   box-shadow: @shadow-sm;
707 707  
708 708   p {
709 - margin: 0 0 14px;
713 + margin: 0;
710 710   color: @muted;
715 + line-height: 1.55;
711 711   }
717 +
718 + strong {
719 + color: @text;
720 + }
721 +
722 + .btn {
723 + flex-shrink: 0;
724 + }
712 712  }
713 713  
727 +@media (max-width: 767px) {
728 + .resource-inline-cta {
729 + display: block;
730 +
731 + p {
732 + margin-bottom: 14px;
733 + }
734 + }
735 +}
736 +
737 +@media (max-width: 767px) {
738 + .resource-inline-cta {
739 + display: block;
740 +
741 + p {
742 + margin-bottom: 14px;
743 + }
744 + }
745 +}
746 +
714 714  /* ========== Responsive ========== */
715 715  
716 716  @media (max-width: 980px) {
... ... @@ -947,8 +947,14 @@
947 947  }
948 948  
949 949  .resource-cta {
950 - margin-top: 36px;
951 - padding: 22px;
983 + display: flex;
984 + flex-direction: column;
985 + align-items: center;
986 + text-align: center;
987 +
988 + max-width: 820px;
989 + margin: 42px auto 0;
990 + padding: 28px 30px;
952 952   border: 1px solid fade(@brand, 20%);
953 953   border-radius: @radius;
954 954   background: @brand-bg;
... ... @@ -955,11 +955,19 @@
955 955  
956 956   h3 {
957 957   margin-top: 0;
997 + margin-bottom: 10px;
958 958   }
959 959  
960 960   p {
1001 + max-width: 680px;
1002 + margin-left: auto;
1003 + margin-right: auto;
961 961   color: @muted;
962 962   }
1006 +
1007 + .btn {
1008 + margin-top: 8px;
1009 + }
963 963  }
964 964  
965 965  .resource-note,
... ... @@ -968,6 +968,12 @@
968 968   display: flow-root;
969 969  }
970 970  
1018 +@media (max-width: 767px) {
1019 + .resource-cta {
1020 + padding: 24px 20px;
1021 + }
1022 +}
1023 +
971 971  @media (max-width: 900px) {
972 972   .resource-layout {
973 973   padding-top: 22px;