Changes for page Public Web Site

Last modified by Agnease on 2026/07/07 14:40

From version 29.18
edited by Agnease
on 2026/07/03 16:06
Change comment: There is no comment for this version
To version 29.16
edited by Agnease
on 2026/07/03 15:46
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1229,79 +1229,45 @@
1229 1229   }
1230 1230  }
1231 1231  
1232 -.resource-inline-cta {
1233 - position: relative;
1234 - display: grid;
1235 - grid-template-columns: minmax(0, 1fr) auto;
1232 +.resource-cta {
1233 + display: flex;
1234 + flex-direction: column;
1236 1236   align-items: center;
1237 - gap: 22px;
1238 - margin: 32px 0;
1239 - padding: 22px 24px 22px 28px;
1236 + text-align: center;
1237 +
1238 + max-width: 820px;
1239 + margin: 42px auto 0;
1240 + padding: 28px 30px;
1240 1240   border: 1px solid fade(@brand, 20%);
1241 1241   border-radius: @radius;
1242 - background: #fff;
1243 - box-shadow: @shadow-sm;
1244 - overflow: hidden;
1243 + background: @brand-bg;
1245 1245  
1246 - &::before {
1247 - content: "";
1248 - position: absolute;
1249 - inset: 0 auto 0 0;
1250 - width: 5px;
1251 - background: linear-gradient(180deg, @brand 0%, @brand-strong 100%);
1245 + h3 {
1246 + margin-top: 0;
1247 + margin-bottom: 10px;
1252 1252   }
1253 1253  
1254 1254   p {
1255 - margin: 0;
1251 + max-width: 680px;
1252 + margin-left: auto;
1253 + margin-right: auto;
1256 1256   color: @muted;
1257 - font-size: 15px;
1258 - line-height: 1.6;
1259 1259   }
1260 1260  
1261 - strong {
1262 - display: block;
1263 - margin-bottom: 4px;
1264 - color: @text;
1265 - font-size: 17px;
1266 - line-height: 1.35;
1267 - }
1268 -
1269 1269   .btn {
1270 - white-space: nowrap;
1271 - align-self: center;
1258 + margin-top: 8px;
1272 1272   }
1273 -
1274 - .btn-secondary {
1275 - border-color: @text;
1276 - background: @text;
1277 - color: #fff;
1278 -
1279 - &:hover,
1280 - &:focus {
1281 - border-color: @brand-strong;
1282 - background: @brand-strong;
1283 - color: #fff;
1284 - text-decoration: none;
1285 - }
1286 - }
1287 1287  }
1288 1288  
1289 1289  .resource-note,
1290 1290  .resource-checklist,
1264 +.resource-cta {
1291 1291   display: flow-root;
1292 1292  }
1293 1293  
1294 1294  @media (max-width: 767px) {
1295 - .resource-inline-cta {
1296 - grid-template-columns: 1fr;
1297 - gap: 16px;
1298 - padding: 22px 20px 22px 24px;
1299 - text-align: left;
1300 -
1301 - .btn {
1302 - width: 100%;
1303 - justify-self: stretch;
1304 - }
1269 + .resource-cta {
1270 + padding: 24px 20px;
1305 1305   }
1306 1306  }
1307 1307