| ... |
... |
@@ -29,6 +29,8 @@ |
| 29 |
29 |
|
| 30 |
30 |
.container { |
| 31 |
31 |
max-width: @maxw; |
|
32 |
+ margin: 0 auto; |
|
33 |
+ padding: 0 16px; |
| 32 |
32 |
} |
| 33 |
33 |
|
| 34 |
34 |
.lead { |
| ... |
... |
@@ -100,6 +100,7 @@ |
| 100 |
100 |
display: flex; |
| 101 |
101 |
flex-direction: column; |
| 102 |
102 |
align-items: center; |
|
105 |
+ gap: 1rem; |
| 103 |
103 |
} |
| 104 |
104 |
|
| 105 |
105 |
.hero-cta { |
| ... |
... |
@@ -189,7 +189,7 @@ |
| 189 |
189 |
gap: 24px; |
| 190 |
190 |
|
| 191 |
191 |
/* center the whole block under the heading */ |
| 192 |
|
- max-width: 960px; |
|
195 |
+ max-width: 960px; // tweak 900–1040px to taste |
| 193 |
193 |
margin-left: auto; |
| 194 |
194 |
margin-right: auto; |
| 195 |
195 |
justify-content: center; |
| ... |
... |
@@ -196,6 +196,7 @@ |
| 196 |
196 |
} |
| 197 |
197 |
|
| 198 |
198 |
.service { |
|
202 |
+ /* 2 items per row: 50% minus half the gap so row fits in 100% */ |
| 199 |
199 |
flex: 0 1 calc(50% - 12px); |
| 200 |
200 |
display: flex; |
| 201 |
201 |
align-items: flex-start; |
| ... |
... |
@@ -222,11 +222,13 @@ |
| 222 |
222 |
font-size: 1.125rem; |
| 223 |
223 |
font-weight: 800; |
| 224 |
224 |
} |
|
229 |
+ |
| 225 |
225 |
p { |
| 226 |
226 |
margin: 0 0 6px; |
| 227 |
227 |
color: @text; |
| 228 |
228 |
line-height: 1.5; |
| 229 |
229 |
} |
|
235 |
+ |
| 230 |
230 |
ul { |
| 231 |
231 |
margin: .45rem 0 0; |
| 232 |
232 |
padding-left: 1.1rem; |
| ... |
... |
@@ -233,6 +233,7 @@ |
| 233 |
233 |
color: @muted; |
| 234 |
234 |
font-size: 13px; |
| 235 |
235 |
} |
|
242 |
+ |
| 236 |
236 |
li { |
| 237 |
237 |
margin: .25rem 0; |
| 238 |
238 |
line-height: 1.45; |
| ... |
... |
@@ -240,14 +240,9 @@ |
| 240 |
240 |
} |
| 241 |
241 |
} |
| 242 |
242 |
|
| 243 |
|
- /* ==== Center last item on its own row while keeping 50% width ==== */ |
|
250 |
+ /* Last item when count is odd: full-width on its own row */ |
| 244 |
244 |
.service-center { |
| 245 |
|
- /* same width as siblings */ |
| 246 |
|
- flex: 0 1 calc(55% - 12px); |
| 247 |
|
- |
| 248 |
|
- /* push to center */ |
| 249 |
|
- margin-left: auto; |
| 250 |
|
- margin-right: auto; |
|
252 |
+ flex: 0 1 100%; |
| 251 |
251 |
} |
| 252 |
252 |
|
| 253 |
253 |
/* Mobile: 1 per row */ |
| ... |
... |
@@ -260,8 +260,6 @@ |
| 260 |
260 |
.service, |
| 261 |
261 |
.service-center { |
| 262 |
262 |
flex: 0 1 100%; |
| 263 |
|
- margin-left: 0; |
| 264 |
|
- margin-right: 0; |
| 265 |
265 |
} |
| 266 |
266 |
} |
| 267 |
267 |
} |