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
-
... ... @@ -1229,45 +1229,79 @@ 1229 1229 } 1230 1230 } 1231 1231 1232 -.resource-cta { 1233 - display: flex; 1234 - flex-direction: column; 1232 +.resource-inline-cta { 1233 + position: relative; 1234 + display: grid; 1235 + grid-template-columns: minmax(0, 1fr) auto; 1235 1235 align-items: center; 1236 - text-align: center; 1237 - 1238 - max-width: 820px; 1239 - margin: 42px auto 0; 1240 - padding: 28px 30px; 1237 + gap: 22px; 1238 + margin: 32px 0; 1239 + padding: 22px 24px 22px 28px; 1241 1241 border: 1px solid fade(@brand, 20%); 1242 1242 border-radius: @radius; 1243 - background: @brand-bg; 1242 + background: #fff; 1243 + box-shadow: @shadow-sm; 1244 + overflow: hidden; 1244 1244 1245 - h3 { 1246 - margin-top: 0; 1247 - 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%); 1248 1248 } 1249 1249 1250 1250 p { 1251 - max-width: 680px; 1252 - margin-left: auto; 1253 - margin-right: auto; 1255 + margin: 0; 1254 1254 color: @muted; 1257 + font-size: 15px; 1258 + line-height: 1.6; 1255 1255 } 1256 1256 1261 + strong { 1262 + display: block; 1263 + margin-bottom: 4px; 1264 + color: @text; 1265 + font-size: 17px; 1266 + line-height: 1.35; 1267 + } 1268 + 1257 1257 .btn { 1258 - margin-top: 8px; 1270 + white-space: nowrap; 1271 + align-self: center; 1259 1259 } 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 + } 1260 1260 } 1261 1261 1262 1262 .resource-note, 1263 1263 .resource-checklist, 1264 -.resource-cta { 1265 1265 display: flow-root; 1266 1266 } 1267 1267 1268 1268 @media (max-width: 767px) { 1269 - .resource-cta { 1270 - padding: 24px 20px; 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 + } 1271 1271 } 1272 1272 } 1273 1273