| ... |
... |
@@ -9,10 +9,6 @@ |
| 9 |
9 |
@shadow: 0 12px 36px rgba(0,0,0,.08); |
| 10 |
10 |
@maxw: 1140px; |
| 11 |
11 |
|
| 12 |
|
-#mainContentArea { |
| 13 |
|
- padding: 0; |
| 14 |
|
-} |
| 15 |
|
- |
| 16 |
16 |
.agnease-landing { |
| 17 |
17 |
color: @text; |
| 18 |
18 |
|
| ... |
... |
@@ -33,6 +33,8 @@ |
| 33 |
33 |
|
| 34 |
34 |
.container { |
| 35 |
35 |
max-width: @maxw; |
|
32 |
+ margin: 0 auto; |
|
33 |
+ padding: 0 16px; |
| 36 |
36 |
} |
| 37 |
37 |
|
| 38 |
38 |
.lead { |
| ... |
... |
@@ -104,6 +104,7 @@ |
| 104 |
104 |
display: flex; |
| 105 |
105 |
flex-direction: column; |
| 106 |
106 |
align-items: center; |
|
105 |
+ gap: 1rem; |
| 107 |
107 |
} |
| 108 |
108 |
|
| 109 |
109 |
.hero-cta { |
| ... |
... |
@@ -193,7 +193,7 @@ |
| 193 |
193 |
gap: 24px; |
| 194 |
194 |
|
| 195 |
195 |
/* center the whole block under the heading */ |
| 196 |
|
- max-width: 960px; |
|
195 |
+ max-width: 960px; // tweak 900–1040px to taste |
| 197 |
197 |
margin-left: auto; |
| 198 |
198 |
margin-right: auto; |
| 199 |
199 |
justify-content: center; |
| ... |
... |
@@ -200,6 +200,7 @@ |
| 200 |
200 |
} |
| 201 |
201 |
|
| 202 |
202 |
.service { |
|
202 |
+ /* 2 items per row: 50% minus half the gap so row fits in 100% */ |
| 203 |
203 |
flex: 0 1 calc(50% - 12px); |
| 204 |
204 |
display: flex; |
| 205 |
205 |
align-items: flex-start; |
| ... |
... |
@@ -226,11 +226,13 @@ |
| 226 |
226 |
font-size: 1.125rem; |
| 227 |
227 |
font-weight: 800; |
| 228 |
228 |
} |
|
229 |
+ |
| 229 |
229 |
p { |
| 230 |
230 |
margin: 0 0 6px; |
| 231 |
231 |
color: @text; |
| 232 |
232 |
line-height: 1.5; |
| 233 |
233 |
} |
|
235 |
+ |
| 234 |
234 |
ul { |
| 235 |
235 |
margin: .45rem 0 0; |
| 236 |
236 |
padding-left: 1.1rem; |
| ... |
... |
@@ -237,6 +237,7 @@ |
| 237 |
237 |
color: @muted; |
| 238 |
238 |
font-size: 13px; |
| 239 |
239 |
} |
|
242 |
+ |
| 240 |
240 |
li { |
| 241 |
241 |
margin: .25rem 0; |
| 242 |
242 |
line-height: 1.45; |
| ... |
... |
@@ -244,14 +244,9 @@ |
| 244 |
244 |
} |
| 245 |
245 |
} |
| 246 |
246 |
|
| 247 |
|
- /* ==== Center last item on its own row while keeping 50% width ==== */ |
|
250 |
+ /* Last item when count is odd: full-width on its own row */ |
| 248 |
248 |
.service-center { |
| 249 |
|
- /* same width as siblings */ |
| 250 |
|
- flex: 0 1 calc(55% - 12px); |
| 251 |
|
- |
| 252 |
|
- /* push to center */ |
| 253 |
|
- margin-left: auto; |
| 254 |
|
- margin-right: auto; |
|
252 |
+ flex: 0 1 100%; |
| 255 |
255 |
} |
| 256 |
256 |
|
| 257 |
257 |
/* Mobile: 1 per row */ |
| ... |
... |
@@ -264,8 +264,6 @@ |
| 264 |
264 |
.service, |
| 265 |
265 |
.service-center { |
| 266 |
266 |
flex: 0 1 100%; |
| 267 |
|
- margin-left: 0; |
| 268 |
|
- margin-right: 0; |
| 269 |
269 |
} |
| 270 |
270 |
} |
| 271 |
271 |
} |