Changes for page Public Web Site
Last modified by Agnease on 2026/06/24 15:34
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1156,40 +1156,30 @@ 1156 1156 } 1157 1157 1158 1158 .product-card-grid { 1159 - max-width: 980px;1160 - margin: 2 6px auto 0;1159 + max-width: 840px; 1160 + margin: 22px auto 0; 1161 1161 display: grid; 1162 1162 grid-template-columns: 1fr; 1163 - grid-gap: 22px;1163 + grid-gap: 18px; 1164 1164 } 1165 1165 1166 1166 .product-card { 1167 - position: relative; 1168 1168 background: #fff; 1169 1169 border: 1px solid @line; 1170 1170 border-radius: @radius; 1171 1171 box-shadow: @shadow-sm; 1172 - padding: 32px;1171 + padding: 28px; 1173 1173 display: grid; 1174 - grid-template-columns: 70px 1fr;1175 - grid-gap: 2 4px;1173 + grid-template-columns: 68px 1fr; 1174 + grid-gap: 22px; 1176 1176 align-items: start; 1177 - overflow: hidden; 1178 1178 1179 - &:before { 1180 - content: ""; 1181 - position: absolute; 1182 - inset: 0 auto 0 0; 1183 - width: 5px; 1184 - background: linear-gradient(180deg, @brand 0%, @brand-strong 100%); 1185 - } 1186 - 1187 1187 .product-card-icon { 1188 1188 width: 58px; 1189 1189 height: 58px; 1190 1190 border-radius: 50%; 1191 1191 background: fade(@brand, 10%); 1192 - border: 1px solid fade(@brand, 2 2%);1182 + border: 1px solid fade(@brand, 20%); 1193 1193 color: @brand; 1194 1194 display: flex; 1195 1195 align-items: center; ... ... @@ -1198,15 +1198,11 @@ 1198 1198 flex-shrink: 0; 1199 1199 } 1200 1200 1201 - .product-card-body { 1202 - min-width: 0; 1203 - } 1204 - 1205 1205 h3 { 1206 1206 margin: 0 0 10px; 1207 1207 color: @text; 1208 - font-size: 2 5px;1209 - line-height: 1.2 2;1194 + font-size: 23px; 1195 + line-height: 1.25; 1210 1210 font-weight: 800; 1211 1211 } 1212 1212 ... ... @@ -1215,36 +1215,25 @@ 1215 1215 line-height: 1.6; 1216 1216 } 1217 1217 1218 - .product-card-description { 1219 - max-width: 760px; 1220 - margin: 0 0 14px; 1221 - font-size: 16px; 1204 + .card-link { 1205 + margin: 0; 1206 + 1207 + a { 1208 + font-weight: 700; 1209 + } 1222 1222 } 1223 1223 } 1224 1224 1225 1225 .product-card-kicker { 1226 - display: inline-flex; 1227 - align-items: center; 1228 - gap: 7px; 1229 - width: fit-content; 1230 1230 margin-bottom: 10px; 1231 1231 padding: 5px 10px; 1232 - border: 1px solid fade(@brand, 24%); 1233 - border-radius: 999px; 1234 - background: fade(@brand, 8%); 1235 - color: @brand-strong; 1236 1236 font-size: 12px; 1237 - font-weight: 800; 1238 1238 text-transform: uppercase; 1239 1239 letter-spacing: .04em; 1240 - 1241 - i { 1242 - color: @brand; 1243 - } 1244 1244 } 1245 1245 1246 1246 .product-highlights { 1247 - margin: 14px 0 2 2px;1222 + margin: 14px 0 20px; 1248 1248 padding-left: 18px; 1249 1249 color: @muted; 1250 1250 ... ... @@ -1254,52 +1254,6 @@ 1254 1254 } 1255 1255 } 1256 1256 1257 -.product-card-actions { 1258 - display: flex; 1259 - align-items: center; 1260 - gap: 16px; 1261 - flex-wrap: wrap; 1262 - 1263 - .btn { 1264 - font-weight: 700; 1265 - } 1266 -} 1267 - 1268 -.product-card-contact { 1269 - color: @brand; 1270 - font-weight: 700; 1271 - text-decoration: underline; 1272 - 1273 - &:hover, 1274 - &:focus { 1275 - color: @brand-strong; 1276 - } 1277 -} 1278 - 1279 -@media (max-width: 640px) { 1280 - .product-card { 1281 - grid-template-columns: 1fr; 1282 - padding: 26px 22px; 1283 - text-align: left; 1284 - 1285 - &:before { 1286 - width: 4px; 1287 - } 1288 - 1289 - .product-card-icon { 1290 - margin-bottom: 2px; 1291 - } 1292 - 1293 - h3 { 1294 - font-size: 22px; 1295 - } 1296 - } 1297 - 1298 - .product-card-actions { 1299 - gap: 12px; 1300 - } 1301 -} 1302 - 1303 1303 /* ========== Individual Product Pages ========== */ 1304 1304 1305 1305 .product-layout { ... ... @@ -1363,7 +1363,7 @@ 1363 1363 1364 1364 li { 1365 1365 margin: 8px 0; 1366 - line-height: 1. 3;1295 + line-height: 1.45; 1367 1367 } 1368 1368 } 1369 1369 ... ... @@ -1423,7 +1423,7 @@ 1423 1423 1424 1424 .product-gallery-caption { 1425 1425 max-width: 820px; 1426 - margin: 12px auto0;1355 + margin: 28px auto 12px; 1427 1427 color: @muted; 1428 1428 font-size: 14px; 1429 1429 line-height: 1.5; ... ... @@ -1430,14 +1430,23 @@ 1430 1430 text-align: center; 1431 1431 } 1432 1432 1433 -/* Keep the default XWiki gallery style.1434 - Only add spacing beforeit andcenterit. */1362 +/* Keep the default XWiki gallery behavior. 1363 + Only center it and make its corners match the product cards. */ 1435 1435 .gallery.xGallery { 1436 - margin: 25px auto; 1437 - width: 920px; 1438 - height: 518px; 1365 + float: none; 1366 + display: block; 1367 + margin-left: auto !important; 1368 + margin-right: auto !important; 1369 + border-radius: @radius; 1370 + overflow: hidden; 1439 1439 } 1440 1440 1373 +.gallery.xGallery .galleria-container, 1374 +.gallery.xGallery .galleria-stage, 1375 +.gallery.xGallery img { 1376 + border-radius: @radius; 1377 +} 1378 + 1441 1441 .product-section-muted { 1442 1442 background: 1443 1443 radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); ... ... @@ -1541,12 +1541,8 @@ 1541 1541 } 1542 1542 } 1543 1543 1544 - .gallery.xGallery { 1545 - margin-top: 22px !important; 1546 - } 1547 - 1548 1548 .product-gallery-caption { 1549 - margin-top: 10px;1483 + margin-top: 22px; 1550 1550 padding: 0 14px; 1551 1551 } 1552 1552