Changes for page Home
Last modified by Alex Cotiugă on 2026/01/13 13:12
From version 7.44
edited by Alex Cotiugă
on 2025/11/13 12:10
on 2025/11/13 12:10
Change comment:
There is no comment for this version
To version 7.42
edited by Alex Cotiugă
on 2025/11/13 12:09
on 2025/11/13 12:09
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -179,51 +179,83 @@ 179 179 } 180 180 181 181 /* SERVICES */ 182 - /* Grid :twocolumns,thenasingle centered block*/182 + /* --- Grid Layout --- */ 183 183 .services-grid { 184 - display:grid; 184 + display: grid; 185 185 grid-template-columns: repeat(2, 1fr); 186 - gap:32px 36px; 186 + gap: 32px 36px; 187 187 } 188 188 189 - /* Service item */ 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 --- */ 190 190 .service { 191 - display:grid; 192 - grid-template-columns:48px 1fr; 193 - gap:16px; 194 - padding:18px 0; 195 - border-top:1px solid rgba(0,0,0,.08); 198 + display: grid; 199 + grid-template-columns: 48px 1fr; 200 + gap: 16px; 201 + padding: 18px 0; 202 + border-top: 1px solid rgba(0,0,0,0.08); 196 196 } 197 - .service:nth-child(1), 198 - .service:nth-child(2) { border-top:none; } /* first row only */ 204 + .service:nth-child(2), 205 + .service:nth-child(3) { 206 + border-top: none; /* remove top border for first row after Migrations */ 207 + } 199 199 200 200 .service > i { 201 - width:42px; height:42px; border-radius:50%; 202 - display:flex; align-items:center; justify-content:center; 203 - font-size:18px; color:#008e78; background:rgba(0,142,120,.08); 204 - margin-top:3px; 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; 205 205 } 206 206 207 - .service .body h3 { margin:0 0 4px; font-size:1.125rem; font-weight:800; } 208 - .service .body p { margin:0 0 6px; color:#25333b; line-height:1.5; } 209 - .service .body ul { margin:.45rem 0 0; padding-left:1.1rem; color:#2d3b43; } 210 - .service .body li { margin:.25rem 0; line-height:1.45; } 211 - 212 - /* Single centered item (Migrations) */ 213 - .service--center { 214 - grid-column:1 / -1; /* spans both columns */ 215 - max-width:680px; 216 - justify-self:center; /* center horizontally */ 217 - border-top:1px solid rgba(0,0,0,.08); 222 + /*.service .body h3 { 223 + margin: 0 0 4px; 224 + font-size: 1.125rem; 225 + font-weight: 800; 218 218 } 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 + } 219 219 220 - /* Responsive */ 221 - @media (max-width:760px) { 222 - .services-grid { grid-template-columns:1fr; gap:20px; } 223 - .service { grid-template-columns:40px 1fr; } 224 - .service > i { width:36px; height:36px; font-size:16px; } 225 - .service:nth-child(1) { border-top:none; } /* first only on mobile */ 226 - .service--center { max-width:100%; } 242 + /* --- Responsive --- */ 243 + @media (max-width: 760px) { 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 + } 227 227 } 228 228 229 229 /* METRICS */