Changes for page Public Web Site

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

From version 13.20
edited by Agnease
on 2026/05/27 16:13
Change comment: There is no comment for this version
To version 13.5
edited by Agnease
on 2026/05/26 09:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,8 +20,7 @@
20 20   </ul>
21 21  
22 22   <div class="hero-actions">
23 - <a class="btn btn-primary" href="https://calendly.com/alex-agnease/30min?back=1&month=2026-06">Book a free XWiki review calln</a>
24 - ##<a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a>
23 + <a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a>
25 25   <a class="btn btn-secondary" href="$xwiki.getURL('services.WebHome')">View XWiki services</a>
26 26   </div>
27 27   </div>
XWiki.StyleSheetExtension[0]
code
... ... @@ -590,6 +590,31 @@
590 590   }
591 591  }
592 592  
593 +.resource-content {
594 + order: 1;
595 +}
596 +
597 +.resource-sidebar {
598 + order: 2;
599 +}
600 +
601 +@media (max-width: 767px) {
602 + .resource-layout {
603 + display: flex;
604 + flex-direction: column;
605 + }
606 +
607 + .resource-sidebar {
608 + order: 0;
609 + position: static;
610 + width: 100%;
611 + }
612 +
613 + .resource-content {
614 + order: 1;
615 + }
616 +}
617 +
593 593  /* ========== Homepage Resource Strip ========== */
594 594  
595 595  .homepage-resource-strip {
... ... @@ -697,50 +697,6 @@
697 697   }
698 698  }
699 699  
700 -.resource-inline-cta {
701 - display: flex;
702 - align-items: center;
703 - justify-content: space-between;
704 - gap: 22px;
705 - margin: 30px 0;
706 - padding: 20px 22px;
707 - border: 1px solid fade(@brand, 22%);
708 - border-radius: @radius;
709 - background: @brand-bg;
710 - box-shadow: @shadow-sm;
711 -
712 - p {
713 - margin: 0;
714 - color: @muted;
715 - line-height: 1.55;
716 - }
717 -
718 - strong {
719 - color: @text;
720 - }
721 -
722 - .btn {
723 - flex-shrink: 0;
724 - }
725 -}
726 -
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 -
744 744  /* ========== Responsive ========== */
745 745  
746 746  @media (max-width: 980px) {
... ... @@ -863,18 +863,15 @@
863 863  }
864 864  
865 865  .resource-layout {
866 - display: block;
847 + display: grid;
848 + grid-template-columns: minmax(0, 760px) 280px;
849 + gap: 42px;
867 867   max-width: 1080px;
868 868   margin: 0 auto;
869 869   padding-top: 28px;
853 + align-items: start;
870 870  }
871 871  
872 -.resource-layout::after {
873 - content: "";
874 - display: block;
875 - clear: both;
876 -}
877 -
878 878  .resource-content {
879 879   color: @text;
880 880   font-size: 16px;
... ... @@ -944,10 +944,6 @@
944 944  }
945 945  
946 946  .resource-sidebar {
947 - float: right;
948 - width: 280px;
949 - margin-left: 42px;
950 - margin-bottom: 28px;
951 951   position: sticky;
952 952   top: 96px;
953 953   border: 1px solid @line;
... ... @@ -977,14 +977,8 @@
977 977  }
978 978  
979 979  .resource-cta {
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;
954 + margin-top: 36px;
955 + padding: 22px;
988 988   border: 1px solid fade(@brand, 20%);
989 989   border-radius: @radius;
990 990   background: @brand-bg;
... ... @@ -991,43 +991,20 @@
991 991  
992 992   h3 {
993 993   margin-top: 0;
994 - margin-bottom: 10px;
995 995   }
996 996  
997 997   p {
998 - max-width: 680px;
999 - margin-left: auto;
1000 - margin-right: auto;
1001 1001   color: @muted;
1002 1002   }
1003 -
1004 - .btn {
1005 - margin-top: 8px;
1006 - }
1007 1007  }
1008 1008  
1009 -.resource-note,
1010 -.resource-checklist,
1011 -.resource-cta {
1012 - display: flow-root;
1013 -}
1014 -
1015 -@media (max-width: 767px) {
1016 - .resource-cta {
1017 - padding: 24px 20px;
1018 - }
1019 -}
1020 -
1021 1021  @media (max-width: 900px) {
1022 1022   .resource-layout {
971 + grid-template-columns: 1fr;
1023 1023   padding-top: 22px;
1024 1024   }
1025 1025  
1026 1026   .resource-sidebar {
1027 - float: none;
1028 - width: 100%;
1029 - margin-left: 0;
1030 - margin-bottom: 24px;
1031 1031   position: static;
1032 1032   }
1033 1033  }
... ... @@ -1291,41 +1291,41 @@
1291 1291  }
1292 1292  
1293 1293  /* ========== Resources Index ========== */
1294 -
1295 1295  .resources-index-page {
1296 1296   background: #fff;
1297 1297  
1298 - .services-grid {
1242 + /* Resources index: show cards in rows of 2, center the last one if alone */
1243 + .resources-grid {
1244 + display: grid;
1299 1299   grid-template-columns: repeat(2, minmax(0, 1fr));
1246 + justify-content: center;
1247 + align-items: stretch;
1300 1300   }
1301 -}
1302 1302  
1303 -@media (max-width: 980px) {
1304 - .resources-index-page {
1305 - .services-grid {
1306 - grid-template-columns: 1fr;
1307 - }
1250 + .resources-grid .resource-card {
1251 + height: 100%;
1308 1308   }
1253 +
1254 + .resources-grid .resource-card:last-child:nth-child(odd) {
1255 + grid-column: 1 / -1;
1256 + max-width: calc(50% - 12px);
1257 + justify-self: center;
1258 + }
1309 1309  }
1310 1310  
1261 +/* Keep 2 columns on tablets. Only switch to 1 column on smaller mobile screens. */
1311 1311  @media (max-width: 767px) {
1312 1312   .resources-index-page {
1313 1313   padding: @section-padding-mobile;
1314 - }
1315 -}
1316 1316  
1317 -.resource-faq-item {
1318 - border-bottom: 1px solid @line;
1319 - padding: 12px 0;
1266 + .resources-grid {
1267 + grid-template-columns: 1fr;
1268 + }
1320 1320  
1321 - summary {
1322 - cursor: pointer;
1323 - font-weight: 700;
1324 - color: @text;
1270 + .resources-grid .resource-card:last-child:nth-child(odd) {
1271 + grid-column: auto;
1272 + max-width: none;
1273 + justify-self: stretch;
1274 + }
1325 1325   }
1326 -
1327 - p {
1328 - margin: 10px 0 4px;
1329 - color: @muted;
1330 - }
1331 1331  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,20 +1,6 @@
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;
14 14  
15 -@section-padding: 30px 0;
16 -@section-padding-mobile: 28px 0;
17 -
18 18  #menuview .agnease-menu-item,
19 19  #menuview .agnease-menu-link {
20 20   > a,