0 Votes

Changes for page Home

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

From version 7.28
edited by Alex Cotiugă
on 2025/11/13 11:16
Change comment: There is no comment for this version
To version 7.30
edited by Alex Cotiugă
on 2025/11/13 11:18
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -179,79 +179,49 @@
179 179   }
180 180  
181 181   /* SERVICES */
182 - .services-sub {
183 - margin: 0 0 1.25rem;
184 - color: #5b6a72;
185 - }
186 -
187 - /* Feature list layout */
188 - .feature-list {
189 - display: grid;
190 - grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
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 */
188 + .services-grid {
189 + display:grid;
190 + grid-template-columns: repeat(2, 1fr);
191 191   gap: 24px 32px;
192 - list-style: none;
193 - margin: 0;
194 - padding: 0;
195 - border-top: 1px solid rgba(0,0,0,0.08);
196 196   }
197 197  
198 - /* Each item is a two-column media object: icon + content */
199 - .feature-list li {
200 - display: grid;
201 - grid-template-columns: 28px 1fr;
194 + /* Service item = media block with icon badge */
195 + .service {
196 + display:grid;
197 + grid-template-columns: 44px 1fr;
202 202   gap: 14px;
203 203   padding: 18px 0;
204 204   border-top: 1px solid rgba(0,0,0,0.08);
205 205   }
206 - .feature-list li:first-child { border-top: none; }
202 + .service:nth-child(-n+2) { border-top: none; } /* remove top line for first row */
207 207  
208 - /* Icon */
209 - .feature-list i {
210 - color: #008e78; /* brand accent */
211 - font-size: 20px;
212 - line-height: 1;
213 - margin-top: 3px; /* optical align with title */
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;
214 214   }
215 215  
216 - /* Content block */
217 - .feature-list .content h3 {
218 - margin: 0 0 4px;
219 - font-size: 1.125rem; /* 18px */
220 - font-weight: 700;
221 - }
222 - .feature-list .content p {
223 - margin: 0 0 6px;
224 - color: #2c3940;
225 - line-height: 1.5;
226 - }
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; }
227 227  
228 - /* Details link (consistent button-ish link) */
229 - .feature-list .details {
230 - display: inline-block;
231 - font-weight: 700;
232 - color: #0a3c37;
233 - text-decoration: none;
234 - border: 1.5px solid #008e78;
235 - background: #e8fbf7;
236 - border-radius: 10px;
237 - padding: 6px 10px;
216 + /* Mobile: single column */
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; }
238 238   }
239 - .feature-list .details:hover {
240 - background: #d7f6ef;
241 - }
242 242  
243 - /* Responsive: slightly looser spacing on small screens */
244 - @media (max-width: 640px) {
245 - .feature-list li {
246 - gap: 12px;
247 - padding: 14px 0;
248 - }
249 - .feature-list i {
250 - font-size: 18px;
251 - margin-top: 4px;
252 - }
253 - }
254 -
255 255   /* METRICS */
256 256   .metrics {
257 257   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);