Changes for page Public Web Site
Last modified by Agnease on 2026/07/07 14:40
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -856,7 +856,6 @@ 856 856 /* ========== CTA ========== */ 857 857 858 858 .cta-section { 859 - padding: 44px 0 56px; 860 860 border: none; 861 861 862 862 .contact-inline { ... ... @@ -1230,48 +1230,70 @@ 1230 1230 } 1231 1231 } 1232 1232 1233 -.resource-cta { 1234 - display: flex; 1235 - flex-direction: column; 1232 +.resource-inline-cta { 1233 + position: relative; 1234 + display: grid; 1235 + grid-template-columns: minmax(0, 1fr) auto; 1236 1236 align-items: center; 1237 - text-align: center; 1238 - 1239 - max-width: 820px; 1240 - margin: 42px auto 0; 1241 - padding: 28px 30px; 1237 + gap: 22px; 1238 + margin: 32px 0; 1239 + padding: 22px 24px 22px 28px; 1242 1242 border: 1px solid fade(@brand, 20%); 1243 1243 border-radius: @radius; 1244 - background: @brand-bg; 1242 + background: #fff; 1243 + box-shadow: @shadow-sm; 1244 + overflow: hidden; 1245 1245 1246 - h3 { 1247 - margin-top: 0; 1248 - margin-bottom: 10px; 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%); 1249 1249 } 1250 1250 1251 1251 p { 1252 - max-width: 680px; 1253 - margin-left: auto; 1254 - margin-right: auto; 1255 + margin: 0; 1255 1255 color: @muted; 1257 + font-size: 15px; 1258 + line-height: 1.6; 1256 1256 } 1257 1257 1261 + strong { 1262 + display: block; 1263 + margin-bottom: 4px; 1264 + color: @text; 1265 + font-size: 17px; 1266 + line-height: 1.35; 1267 + } 1268 + 1258 1258 .btn { 1259 - margin-top: 8px; 1270 + white-space: nowrap; 1271 + align-self: center; 1260 1260 } 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 + } 1261 1261 } 1262 1262 1263 1263 .resource-note, 1264 1264 .resource-checklist, 1265 -.resource-cta { 1266 1266 display: flow-root; 1267 1267 } 1268 1268 1269 -@media (max-width: 767px) { 1270 - .resource-cta { 1271 - padding: 24px 20px; 1272 - } 1273 -} 1274 1274 1295 + 1275 1275 @media (max-width: 900px) { 1276 1276 .resource-layout { 1277 1277 padding-top: 22px;