Changes for page Home
Last modified by Alex Cotiugă on 2026/01/13 13:12
From version 7.149
edited by Alex Cotiugă
on 2025/11/17 11:42
on 2025/11/17 11:42
Change comment:
There is no comment for this version
To version 7.145
edited by Alex Cotiugă
on 2025/11/17 09:32
on 2025/11/17 09:32
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -102,6 +102,7 @@ 102 102 display: flex; 103 103 flex-direction: column; 104 104 align-items: center; 105 + gap: 1rem; 105 105 } 106 106 107 107 .hero-cta { ... ... @@ -191,7 +191,7 @@ 191 191 gap: 24px; 192 192 193 193 /* center the whole block under the heading */ 194 - max-width: 960px; 195 + max-width: 960px; // tweak 900–1040px to taste 195 195 margin-left: auto; 196 196 margin-right: auto; 197 197 justify-content: center; ... ... @@ -198,6 +198,7 @@ 198 198 } 199 199 200 200 .service { 202 + /* 2 items per row: 50% minus half the gap so row fits in 100% */ 201 201 flex: 0 1 calc(50% - 12px); 202 202 display: flex; 203 203 align-items: flex-start; ... ... @@ -224,11 +224,13 @@ 224 224 font-size: 1.125rem; 225 225 font-weight: 800; 226 226 } 229 + 227 227 p { 228 228 margin: 0 0 6px; 229 229 color: @text; 230 230 line-height: 1.5; 231 231 } 235 + 232 232 ul { 233 233 margin: .45rem 0 0; 234 234 padding-left: 1.1rem; ... ... @@ -235,6 +235,7 @@ 235 235 color: @muted; 236 236 font-size: 13px; 237 237 } 242 + 238 238 li { 239 239 margin: .25rem 0; 240 240 line-height: 1.45; ... ... @@ -242,14 +242,9 @@ 242 242 } 243 243 } 244 244 245 - /* ==== Center last item on its ownrowwhilekeeping50% width====*/250 + /* Last item when count is odd: full-width on its own row */ 246 246 .service-center { 247 - /* same width as siblings */ 248 - flex: 0 1 calc(55% - 12px); 249 - 250 - /* push to center */ 251 - margin-left: auto; 252 - margin-right: auto; 252 + flex: 0 1 100%; 253 253 } 254 254 255 255 /* Mobile: 1 per row */ ... ... @@ -262,8 +262,6 @@ 262 262 .service, 263 263 .service-center { 264 264 flex: 0 1 100%; 265 - margin-left: 0; 266 - margin-right: 0; 267 267 } 268 268 } 269 269 }