| ... |
... |
@@ -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 { |
| ... |
... |
@@ -39,9 +39,6 @@ |
| 39 |
39 |
color: @muted; |
| 40 |
40 |
text-align: center; |
| 41 |
41 |
} |
| 42 |
|
- h2 { |
| 43 |
|
- text-align: center; |
| 44 |
|
- } |
| 45 |
45 |
|
| 46 |
46 |
section { |
| 47 |
47 |
padding: 32px 0; |
| ... |
... |
@@ -104,6 +104,7 @@ |
| 104 |
104 |
display: flex; |
| 105 |
105 |
flex-direction: column; |
| 106 |
106 |
align-items: center; |
|
102 |
+ gap: 1rem; |
| 107 |
107 |
} |
| 108 |
108 |
|
| 109 |
109 |
.hero-cta { |
| ... |
... |
@@ -191,15 +191,10 @@ |
| 191 |
191 |
display: flex; |
| 192 |
192 |
flex-wrap: wrap; |
| 193 |
193 |
gap: 24px; |
| 194 |
|
- |
| 195 |
|
- /* center the whole block under the heading */ |
| 196 |
|
- max-width: 960px; |
| 197 |
|
- margin-left: auto; |
| 198 |
|
- margin-right: auto; |
| 199 |
|
- justify-content: center; |
| 200 |
200 |
} |
| 201 |
201 |
|
| 202 |
202 |
.service { |
|
193 |
+ /* 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 |
} |
|
220 |
+ |
| 229 |
229 |
p { |
| 230 |
230 |
margin: 0 0 6px; |
| 231 |
231 |
color: @text; |
| 232 |
232 |
line-height: 1.5; |
| 233 |
233 |
} |
|
226 |
+ |
| 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 |
} |
|
233 |
+ |
| 240 |
240 |
li { |
| 241 |
241 |
margin: .25rem 0; |
| 242 |
242 |
line-height: 1.45; |
| ... |
... |
@@ -244,12 +244,9 @@ |
| 244 |
244 |
} |
| 245 |
245 |
} |
| 246 |
246 |
|
| 247 |
|
- /* ==== Center last item on its own row while keeping 50% width ==== */ |
|
241 |
+ /* Center the last item when odd: |
|
242 |
+ auto margins in a flex row push it to the middle */ |
| 248 |
248 |
.service-center { |
| 249 |
|
- /* same width as siblings */ |
| 250 |
|
- flex: 0 1 calc(55% - 12px); |
| 251 |
|
- |
| 252 |
|
- /* push to center */ |
| 253 |
253 |
margin-left: auto; |
| 254 |
254 |
margin-right: auto; |
| 255 |
255 |
} |
| ... |
... |
@@ -258,12 +258,11 @@ |
| 258 |
258 |
@media (max-width: 767px) { |
| 259 |
259 |
.services-grid { |
| 260 |
260 |
gap: 16px; |
| 261 |
|
- max-width: 100%; |
| 262 |
262 |
} |
| 263 |
|
- |
| 264 |
|
- .service, |
| 265 |
|
- .service-center { |
|
253 |
+ .service { |
| 266 |
266 |
flex: 0 1 100%; |
|
255 |
+ } |
|
256 |
+ .service-center { |
| 267 |
267 |
margin-left: 0; |
| 268 |
268 |
margin-right: 0; |
| 269 |
269 |
} |