0 Votes

Changes for page Home

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

From version 7.64
edited by Alex Cotiugă
on 2025/11/13 13:07
Change comment: There is no comment for this version
To version 7.65
edited by Alex Cotiugă
on 2025/11/13 13:12
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -244,30 +244,17 @@
244 244  
245 245   /* Responsive */
246 246   @media (max-width: 760px) {
247 - .services-grid {
248 - grid-template-columns: 1fr;
249 - row-gap: 20px;
250 - }
251 -
252 252   .services-grid > article.service {
248 + /* Mobile layout */
253 253   grid-template-columns: 40px 1fr;
254 254  
255 - &:nth-of-type(1) {
256 - border-top: none;
257 - }
258 -
259 - > i {
260 - width: 36px;
261 - height: 36px;
262 - font-size: 16px;
263 - }
251 + /* Always reset border on mobile */
252 + border-top: 1px solid @line;
264 264   }
265 265  
266 - /* On mobile, just stack normally */
267 - .services-grid > article.service:nth-last-child(1):nth-child(odd) {
268 - grid-column: auto;
269 - max-width: 100%;
270 - justify-self: stretch;
255 + /* Only the FIRST item has no border on mobile */
256 + .services-grid > article.service:nth-of-type(1) {
257 + border-top: none;
271 271   }
272 272   }
273 273