0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 7.62
edited by Alex Cotiugă
on 2025/11/13 13:00
Change comment: There is no comment for this version
To version 7.57
edited by Alex Cotiugă
on 2025/11/13 12:51
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -193,8 +193,9 @@
193 193   /* Grid: two columns, last item spans both */
194 194   .services-grid {
195 195   display: grid;
196 - grid-template-columns: repeat(2, 1fr);
197 - gap: 32px 36px;
196 + grid-template-columns: repeat(2, minmax(0, 1fr));
197 + column-gap: 36px;
198 + row-gap: 32px;
198 198   }
199 199  
200 200   .service {
... ... @@ -257,12 +257,6 @@
257 257   border-top: 1px solid @line; // always show a separator above it
258 258   }
259 259   }
260 - /* If there is an odd number of services, center the last one on its own row */
261 - .services-grid > .service:last-child:nth-child(odd) {
262 - grid-column: 1 / -1; // span both columns
263 - max-width: 680px;
264 - justify-self: center;
265 - }
266 266  
267 267   /* Responsive */
268 268   @media (max-width: 760px) {