0 Votes

Changes for page Home

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

From version 7.92
edited by Alex Cotiugă
on 2025/11/13 21:34
Change comment: There is no comment for this version
To version 7.89
edited by Alex Cotiugă
on 2025/11/13 21:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -113,7 +113,7 @@
113 113   <section class="services" aria-labelledby="services-title">
114 114   <div class="container">
115 115   <h2 id="services-title">Services</h2>
116 - <p class="lead">
116 + <p class="services-sub">
117 117   All the XWiki services you need, delivered with precision and care
118 118   </p>
119 119  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -190,14 +190,29 @@
190 190  
191 191   /* SERVICES */
192 192   .services {
193 + h2 {
194 + margin: 0 0 .3rem;
195 + }
196 +
197 + .services-sub {
198 + margin: 0 0 1.75rem;
199 + color: @muted;
200 + }
201 +
193 193   .services-grid {
194 194   margin-top: 12px;
204 + display: flex;
205 + flex-wrap: wrap;
206 + justify-content: space-between;
195 195  
196 196   .service {
197 - /* Bootstrap grid (col-sm-6) handles width & wrapping */
209 + box-sizing: border-box;
198 198   margin-bottom: 24px;
199 199  
200 - /* Icon + text on a row */
212 + /* Desktop / tablet: 2 per row with space between */
213 + flex: 0 0 48%;
214 + max-width: 48%;
215 +
201 201   display: flex;
202 202   align-items: flex-start;
203 203   gap: 16px;
... ... @@ -243,9 +243,11 @@
243 243   }
244 244   }
245 245  
261 + /* Mobile: stack services full width */
246 246   @media (max-width: 767px) {
247 247   .service {
248 - margin-bottom: 20px;
264 + flex: 0 0 100%;
265 + max-width: 100%;
249 249   }
250 250   }
251 251   }