0 Votes

Changes for page Home

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

From version 7.38
edited by Alex Cotiugă
on 2025/11/13 11:58
Change comment: There is no comment for this version
To version 7.39
edited by Alex Cotiugă
on 2025/11/13 11:59
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -179,47 +179,83 @@
179 179   }
180 180  
181 181   /* SERVICES */
182 - /* Section header */
183 - /*.services { padding: 2.5rem 0; }
184 - .services h2 { margin:0 0 .3rem; font-size:1.75rem; font-weight:800; }
185 - .services-sub { margin:0 0 1.25rem; color:#5b6a72; }
186 -*/
187 - /* Two-column grid */
182 + /* --- Grid Layout --- */
188 188   .services-grid {
189 - display:grid;
184 + display: grid;
190 190   grid-template-columns: repeat(2, 1fr);
191 - gap: 24px 32px;
186 + gap: 32px 36px;
192 192   }
193 193  
194 - /* Service item = media block with icon badge */
189 + /* Center the first service (Migrations) */
190 + .service--center {
191 + grid-column: 1 / -1;
192 + max-width: 640px;
193 + justify-self: center;
194 + }
195 +
196 + /* --- Service Card --- */
195 195   .service {
196 - display:grid;
197 - grid-template-columns: 44px 1fr;
198 - gap: 14px;
198 + display: grid;
199 + grid-template-columns: 48px 1fr;
200 + gap: 16px;
199 199   padding: 18px 0;
200 200   border-top: 1px solid rgba(0,0,0,0.08);
201 201   }
202 - .service:nth-child(-n+2) { border-top: none; } /* remove top line for first row */
204 + .service:nth-child(2),
205 + .service:nth-child(3) {
206 + border-top: none; /* remove top border for first row after Migrations */
207 + }
203 203  
204 204   .service > i {
205 - width:40px; height:40px; border-radius:50%;
206 - display:flex; align-items:center; justify-content:center;
207 - font-size:18px; color:#008e78; background:rgba(0,142,120,.09);
208 - margin-top:2px;
210 + width: 42px;
211 + height: 42px;
212 + border-radius: 50%;
213 + display: flex;
214 + align-items: center;
215 + justify-content: center;
216 + font-size: 18px;
217 + color: #008e78;
218 + background: rgba(0,142,120,0.08);
219 + margin-top: 3px;
209 209   }
210 210  
211 - /* .service .body h3 { margin:0 0 4px; font-size:1.125rem; font-weight:800; }
212 - .service .body p { margin:0 0 6px; color:#25333b; line-height:1.5; }
213 - .service .body ul { margin:.35rem 0 0; padding-left:1.15rem; }
214 - .service .body li { margin:.2rem 0; color:#2d3b43; }
215 -*/
216 - /* Mobile: single column */
222 + /*.service .body h3 {
223 + margin: 0 0 4px;
224 + font-size: 1.125rem;
225 + font-weight: 800;
226 + }
227 + .service .body p {
228 + margin: 0 0 6px;
229 + color: #25333b;
230 + line-height: 1.5;
231 + } */
232 + .service .body ul {
233 + margin: .4rem 0 0;
234 + padding-left: 1.1rem;
235 + color: #2d3b43;
236 + }
237 + .service .body li {
238 + margin: .25rem 0;
239 + line-height: 1.45;
240 + }
241 +
242 + /* --- Responsive --- */
217 217   @media (max-width: 760px) {
218 - .services-grid { grid-template-columns: 1fr; gap: 10px 0; }
219 - .service { grid-template-columns: 38px 1fr; }
220 - .service > i { width:36px; height:36px; font-size:16px; }
221 - .service:nth-child(-n+2) { border-top: 1px solid rgba(0,0,0,0.08); }
222 - .service:first-child { border-top:none; }
244 + .services-grid {
245 + grid-template-columns: 1fr;
246 + gap: 20px;
247 + }
248 + .service {
249 + grid-template-columns: 40px 1fr;
250 + }
251 + .service > i {
252 + width: 36px;
253 + height: 36px;
254 + font-size: 16px;
255 + }
256 + .service--center {
257 + max-width: 100%;
258 + }
223 223   }
224 224  
225 225   /* METRICS */