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.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,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,30 @@
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 +
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 +
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;
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;
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;
997 + margin-bottom: 10px;
969 969   }
970 970  
971 971   p {
1001 + max-width: 680px;
1002 + margin-left: auto;
1003 + margin-right: auto;
972 972   color: @muted;
973 973   }
1006 +
1007 + .btn {
1008 + margin-top: 8px;
1009 + }
974 974  }
975 975  
976 976  .resource-note,
... ... @@ -979,6 +979,12 @@
979 979   display: flow-root;
980 980  }
981 981  
1018 +@media (max-width: 767px) {
1019 + .resource-cta {
1020 + padding: 24px 20px;
1021 + }
1022 +}
1023 +
982 982  @media (max-width: 900px) {
983 983   .resource-layout {
984 984   padding-top: 22px;