|
256 | 256 | box-shadow: 0 0 15px -5px #ccc;
|
257 | 257 | }
|
258 | 258 |
|
259 |
| -/* CSS for card-style landing page */ |
| 259 | +/* CSS for redesigned Capella Landing Page */ |
| 260 | + |
| 261 | +/* Adjusting spacing gutters around the content */ |
| 262 | +@media screen and (min-width: 769px) { |
| 263 | + main.capella-article { |
| 264 | + padding-right: 1.5rem; |
| 265 | + padding-left: 1.5rem; |
| 266 | + margin: 0 auto; |
| 267 | + max-width: clamp(55em, 60%, var(--width-page-area)); |
| 268 | + } |
| 269 | +} |
| 270 | + |
| 271 | +/* CSS for top section: H1, H2, and Capella Stars image */ |
| 272 | +.doc.landing-page-capella .top-row { |
| 273 | + display: flex; |
| 274 | + flex-direction: row; |
| 275 | + padding: 1rem; |
| 276 | + margin-bottom: 2rem; |
| 277 | + margin-top: -1rem; |
| 278 | +} |
| 279 | + |
| 280 | +.doc.landing-page-capella .top-row > .positioned-image { |
| 281 | + flex-direction: row; |
| 282 | + width: 35%; |
| 283 | + min-width: 300px; |
| 284 | + height: auto; |
| 285 | + position: relative; |
| 286 | + margin-top: -2.5rem; /* Adjust to position image right below the div */ |
| 287 | + margin-left: 1rem; /* Adjust to position image to the right of the div */ |
| 288 | +} |
| 289 | + |
| 290 | +.doc.landing-page-capella .top-row > .top-row-text-container { |
| 291 | + flex-direction: column; |
| 292 | + padding-right: 1rem; |
| 293 | + position: relative; |
| 294 | +} |
| 295 | + |
| 296 | +.doc.landing-page-capella .top-row > .top-row-text-container > h1 { |
| 297 | + font-weight: 600; |
| 298 | + margin-top: 1rem; |
| 299 | +} |
| 300 | + |
| 301 | +/* Adjusted CSS for Tabbed "Ten Minutes" Content */ |
| 302 | +.doc.landing-page-capella .tabs { |
| 303 | + margin: 2rem 0 2rem 0; |
| 304 | + width: 80%; |
| 305 | +} |
| 306 | + |
| 307 | +.doc.landing-page-capella .tabs .tablist > ul li { |
| 308 | + align-content: space-around; |
| 309 | + justify-content: space-between; |
| 310 | + flex-wrap: wrap; |
| 311 | + margin-right: 1rem; |
| 312 | +} |
| 313 | + |
| 314 | +.doc.landing-page-capella .tablist.ulist { |
| 315 | + display: flex; |
| 316 | + justify-content: center; |
| 317 | +} |
| 318 | + |
| 319 | +.doc.landing-page-capella .tabpanel { |
| 320 | + display: flex; |
| 321 | + padding: 2em 1.25em; |
| 322 | +} |
| 323 | + |
| 324 | +.doc.landing-page-capella .tabpanel > .text-tabs-container { |
| 325 | + flex-direction: column; |
| 326 | + padding: 2rem 4rem 2rem 1rem; |
| 327 | + width: 50%; |
| 328 | +} |
| 329 | + |
| 330 | +.doc.landing-page-capella .tabpanel > .text-tabs-container > .paragraph > p > a { |
| 331 | + font-weight: var(--weight-semibold); |
| 332 | +} |
260 | 333 |
|
261 |
| -.centered > h2 { |
| 334 | +/* CSS for How Do You Want To Start Building Today? section */ |
| 335 | +.doc.landing-page-capella .centered > h2 { |
262 | 336 | text-align: center;
|
| 337 | + margin-top: 4rem; |
263 | 338 | }
|
264 | 339 |
|
265 |
| -.card-container { |
| 340 | +.doc.landing-page-capella .card-container { |
266 | 341 | display: flex;
|
267 | 342 | flex-wrap: wrap;
|
268 |
| - width: 80%; |
| 343 | + width: 100%; |
269 | 344 | margin: 20px auto;
|
270 | 345 | }
|
271 | 346 |
|
272 |
| -.card-box { |
| 347 | +.doc.landing-page-capella .card-box { |
273 | 348 | width: 30%;
|
274 | 349 | margin: 1.66%;
|
275 | 350 | padding: 2rem;
|
|
279 | 354 | border-radius: 8.8px;
|
280 | 355 | }
|
281 | 356 |
|
282 |
| -.card-box > .fa-regular { |
| 357 | +.doc.landing-page-capella .card-box:hover { |
| 358 | + transition: box-shadow 0.3s ease-in-out; |
| 359 | + box-shadow: 5px 10px 29.48px 0 rgba(0, 0, 0, 0.4); |
| 360 | +} |
| 361 | + |
| 362 | +.doc.landing-page-capella .card-box > .fa-regular { |
283 | 363 | color: var(--color-brand-red);
|
284 | 364 | }
|
285 | 365 |
|
286 |
| -.card-box > h3 { |
| 366 | +.doc.landing-page-capella .card-box > h3 { |
287 | 367 | margin-block-start: 0;
|
288 | 368 | padding-left: 0;
|
289 | 369 | text-align: center;
|
290 | 370 | }
|
291 | 371 |
|
292 |
| -.card-box > div.ulist > ul li { |
| 372 | +.doc.landing-page-capella .card-box > p { |
| 373 | + margin-top: 1rem; |
| 374 | +} |
| 375 | + |
| 376 | +.doc.landing-page-capella .card-box > div.ulist > ul li { |
293 | 377 | list-style-type: disc;
|
294 | 378 | color: var(--color-link);
|
295 | 379 | font-weight: var(--weight-semibold);
|
296 | 380 | }
|
297 | 381 |
|
298 |
| -.card-box > div.ulist > ul li:hover { |
| 382 | +.doc.landing-page-capella .card-box > div.ulist > ul li:hover { |
299 | 383 | text-decoration: underline;
|
300 | 384 | }
|
301 | 385 |
|
302 |
| -.ten-minutes-container { |
303 |
| - display: flex; |
304 |
| -} |
305 |
| - |
306 |
| -.ten-minutes-container > .collapsible-section { |
307 |
| - flex: 1; |
308 |
| -} |
309 |
| - |
310 |
| -.ten-minutes-container > .collapsible-section > .collapsible { |
311 |
| - border: 1px solid #ccc; |
312 |
| - padding: 10px; |
313 |
| - margin: 5px; |
314 |
| - cursor: pointer; |
315 |
| -} |
316 |
| - |
317 |
| -.ten-minutes-container > .collapsible-section > .collapsible h3 { |
318 |
| - margin: 0; |
319 |
| -} |
320 |
| - |
321 |
| -.ten-minutes-container > .collapsible-section > .collapsible .content { |
322 |
| - display: none; |
323 |
| - margin-top: 10px; |
324 |
| -} |
325 |
| - |
326 |
| -.image-section { |
327 |
| - flex: 1; |
328 |
| - display: flex; |
329 |
| - justify-content: center; |
330 |
| - align-items: center; |
331 |
| -} |
332 |
| - |
333 |
| -.image-section img { |
334 |
| - max-width: 100%; |
| 386 | +.doc.landing-page-capella .ending-image { |
| 387 | + width: 100%; /* Adjust as needed */ |
335 | 388 | height: auto;
|
| 389 | + display: block; |
| 390 | + margin: 0 auto; |
| 391 | + position: relative; |
| 392 | + top: 150px; /* Adjust this value to control the amount of overlap */ |
| 393 | + z-index: 1; |
336 | 394 | }
|
337 | 395 |
|
338 | 396 | /* CSS for nav filter */
|
|
0 commit comments